/* Green Essentials - "Forest hub" modules block (ProductsColorfulBlocksGE) */

.ge-hub {
    --ge-ground: #13352A;
    --ge-accent: #9BD154;
    --ge-accent-strong: #7DB83A;
    --ge-ink: #1F2A30;
    --ge-ink-soft: #3E4A52;
    --ge-on-dark: #FFFFFF;
    --ge-on-dark-soft: #D9E7D3;
    --ge-divider: #E6F0DA;
    --ge-line: rgba(155, 209, 84, 0.35);
    --ge-card-dark: rgba(255, 255, 255, 0.06);
    --ge-card-dark-border: rgba(155, 209, 84, 0.3);
    background: var(--ge-ground);
    color: var(--ge-on-dark);
    font-family: 'Montserrat', sans-serif;
    padding: 80px 0;
}

.ge-hub *,
.ge-hub *::before,
.ge-hub *::after {
    box-sizing: border-box;
}

.ge-hub__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 24px;
    align-items: stretch;
}

.ge-hub__col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.ge-hub__col--base {
    align-self: center;
}

.ge-hub__label {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ge-accent);
}

.ge-hub__label--addons {
    padding-left: 64px;
}

/* Base module card */

.ge-base {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: 40px;
    border-radius: 24px;
    background: #FFFFFF;
    color: var(--ge-ink);
}

.ge-base__head {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ge-hex {
    width: 72px;
    height: 80px;
    flex-shrink: 0;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: var(--ge-accent-strong);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.ge-hex__img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.ge-base__title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ge-ink);
}

.ge-base__divider {
    height: 1px;
    background: var(--ge-divider);
}

/* Tick lists */

.ge-ticks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 16px;
}

.ge-ticks li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ge-on-dark-soft);
}

.ge-ticks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 4px;
    width: 10px;
    height: 5px;
    border-left: 2px solid var(--ge-accent);
    border-bottom: 2px solid var(--ge-accent);
    transform: rotate(-45deg);
}

.ge-ticks--ink li {
    color: var(--ge-ink-soft);
}

.ge-ticks--ink li::before {
    border-color: #6FA82F;
}

/* Add-ons column */

.ge-addons {
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ge-addons::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: var(--ge-line);
}

.ge-addon {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

.ge-addon__node {
    position: relative;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ge-accent);
    color: var(--ge-ground);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ge-addon__card {
    position: relative;
    flex-grow: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 24px 28px;
    border-radius: 20px;
    background: var(--ge-card-dark);
    border: 1px solid var(--ge-card-dark-border);
}

.ge-addon__head {
    width: 180px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ge-addon__icon {
    height: 54px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    align-self: center;
}

.ge-addon__title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ge-on-dark);
    text-decoration: none;
    text-align:center;
}

a.ge-addon__title:hover,
a.ge-addon__title:focus-visible {
    color: var(--ge-accent);
    text-decoration: underline;
}

.ge-addon__body {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ge-addon__more {
    font-size: 13px;
    font-weight: 600;
    color: var(--ge-accent);
    text-decoration: none;
}

.ge-addon__more:hover,
.ge-addon__more:focus-visible {
    color: #C6EA92;
    text-decoration: underline;
}

.ge-addon__badge {
    position: absolute;
    top: -11px;
    right: 20px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--ge-accent);
    color: var(--ge-ground);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Responsive */

@media (max-width: 1199.98px) {
    .ge-hub__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 767.98px) {
    .ge-hub {
        padding: 56px 0;
    }

    .ge-hub__inner {
        padding: 0 16px;
    }

    .ge-base {
        padding: 28px 24px;
    }

    .ge-base__title {
        font-size: 24px;
    }

    .ge-ticks {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .ge-hub__label--addons {
        padding-left: 0;
    }

    .ge-addons::before,
    .ge-addon__node {
        display: none;
    }

    .ge-addon__card {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 24px;
    }

    .ge-addon__head {
        width: auto;
    }
}
