/* ISAMEM hero slideshow */

.isamem-hero {
    --isamem-green: #2d6d4c;
    --isamem-green-deep: #1a3d2a;
    --isamem-hero-h: min(72vh, 560px);
    position: relative;
    height: var(--isamem-hero-h);
    overflow: hidden;
    background: var(--isamem-green-deep);
    color: #fff;
}

.isamem-hero__slider {
    height: 100%;
}

.isamem-hero__slider .slick-list,
.isamem-hero__slider .slick-track {
    height: 100%;
}

.isamem-hero__slider .slick-slide {
    height: 100%;
}

.isamem-hero__slider .slick-slide > div {
    height: 100%;
}

.isamem-hero__slide {
    position: relative;
    display: block !important;
    width: 100%;
    height: var(--isamem-hero-h);
    overflow: hidden;
    color: #fff;
    text-decoration: none !important;
}

.isamem-hero__slide:hover,
.isamem-hero__slide:focus {
    color: #fff;
    text-decoration: none;
}

.isamem-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.isamem-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(26, 61, 42, 0.2) 0%, rgba(26, 61, 42, 0.35) 42%, rgba(26, 61, 42, 0.88) 100%),
        linear-gradient(90deg, rgba(26, 61, 42, 0.45) 0%, transparent 58%);
    pointer-events: none;
}

.isamem-hero__caption {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.55rem;
    width: min(100% - 3rem, 920px);
    margin: 0 auto;
    padding: 0 0 3.75rem;
    pointer-events: none;
}

.isamem-hero__brand {
    display: block;
    font-size: clamp(0.78rem, 1.2vw, 0.9rem);
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.isamem-hero__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-width: 42rem;
    font-size: clamp(1.15rem, 2.6vw, 1.85rem);
    font-weight: 800;
    line-height: 1.55;
    letter-spacing: -0.015em;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

/* Arrows */
#top-slider.isamem-hero .fa.fa-angle-left.slick-arrow,
#top-slider.isamem-hero .fa.fa-angle-right.slick-arrow {
    position: absolute;
    top: 50%;
    bottom: auto;
    width: 2.75rem;
    height: 2.75rem;
    line-height: 2.75rem;
    margin-top: -1.375rem;
    font-size: 1.25rem;
    color: var(--isamem-green);
    background: rgba(255, 255, 255, 0.88);
    border-radius: 50%;
    z-index: 5;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

#top-slider.isamem-hero .fa.fa-angle-left.slick-arrow {
    left: 1.25rem;
    right: auto;
}

#top-slider.isamem-hero .fa.fa-angle-right.slick-arrow {
    right: 1.25rem;
    left: auto;
}

#top-slider.isamem-hero .fa.fa-angle-left.slick-arrow:hover,
#top-slider.isamem-hero .fa.fa-angle-right.slick-arrow:hover {
    background: #fff;
    color: var(--isamem-green-deep);
    transform: scale(1.08);
    cursor: pointer;
}

/* Dots */
.isamem-hero .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.15rem;
    z-index: 5;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.isamem-hero .slick-dots li {
    margin: 0;
    width: auto;
    height: auto;
}

.isamem-hero .slick-dots li button {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    font-size: 0;
    line-height: 0;
    transition: width 0.3s ease, background 0.3s ease;
}

.isamem-hero .slick-dots li button:before {
    display: none;
}

.isamem-hero .slick-dots li.slick-active button {
    width: 1.65rem;
    background: #fff;
}

@media screen and (max-width: 767px) {
    .isamem-hero {
        --isamem-hero-h: min(62vh, 420px);
    }

    .isamem-hero__caption {
        width: calc(100% - 2rem);
        padding-bottom: 3.25rem;
    }

    .isamem-hero__brand {
        font-size: 0.75rem;
    }

    .isamem-hero__title {
        -webkit-line-clamp: 4;
        font-size: clamp(1.05rem, 4.4vw, 1.35rem);
    }

    #top-slider.isamem-hero .fa.fa-angle-left.slick-arrow,
    #top-slider.isamem-hero .fa.fa-angle-right.slick-arrow {
        width: 2.35rem;
        height: 2.35rem;
        line-height: 2.35rem;
        margin-top: -1.175rem;
        font-size: 1.05rem;
    }

    #top-slider.isamem-hero .fa.fa-angle-left.slick-arrow {
        left: 0.65rem;
        bottom: auto;
    }

    #top-slider.isamem-hero .fa.fa-angle-right.slick-arrow {
        right: 0.65rem;
        left: auto;
        bottom: auto;
    }
}

@media screen and (max-width: 575px) {
    .isamem-hero {
        --isamem-hero-h: min(56vh, 360px);
    }

    .isamem-hero__caption {
        gap: 0.4rem;
        padding-bottom: 2.85rem;
    }
}

/* ---------- News ---------- */

.isamem-news {
    --isamem-green: #2d6d4c;
    --isamem-green-deep: #1a3d2a;
    --isamem-green-soft: #e8f1ec;
    --isamem-ink: #1f2d26;
    --isamem-muted: #5c6b63;
    --isamem-line: rgba(45, 109, 76, 0.14);
    background:
        linear-gradient(180deg, #f3f7f5 0%, #ffffff 42%, #f3f7f5 100%);
    padding: 3.5rem 0 4rem;
}

.isamem-news__wrap {
    width: min(1120px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.isamem-news__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

.isamem-news__layout--split {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 2.25rem;
}

.isamem-news__head {
    text-align: right;
    margin-bottom: 1.75rem;
}

.isamem-news__head h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: var(--isamem-green-deep);
    letter-spacing: -0.02em;
}

.isamem-news__head p {
    margin: 0;
    color: var(--isamem-muted);
    font-size: 0.95rem;
}

.isamem-news__list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 1.75rem;
    border-top: 1px solid var(--isamem-line);
}

.isamem-news__item {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 1.15rem;
    align-items: stretch;
    padding: 1.15rem 0.25rem 1.15rem 0;
    border-bottom: 1px solid var(--isamem-line);
    color: inherit !important;
    text-decoration: none !important;
    transition: background 0.25s ease, padding 0.25s ease;
}

.isamem-news__item:hover {
    background: rgba(45, 109, 76, 0.04);
    padding-right: 0.65rem;
}

.isamem-news__item:hover .isamem-news__body h3 {
    color: var(--isamem-green);
}

.isamem-news__thumb {
    position: relative;
    overflow: hidden;
    min-height: 112px;
    background: var(--isamem-green-soft);
}

.isamem-news__thumb img {
    width: 100%;
    height: 100%;
    min-height: 112px;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.isamem-news__item:hover .isamem-news__thumb img {
    transform: scale(1.04);
}

.isamem-news__placeholder {
    display: grid;
    place-items: center;
    min-height: 112px;
    height: 100%;
    color: var(--isamem-green);
    font-size: 1.5rem;
    opacity: 0.55;
}

.isamem-news__body {
    text-align: right;
    padding: 0.15rem 0;
    min-width: 0;
}

.isamem-news__body time {
    display: inline-block;
    margin-bottom: 0.4rem;
    padding: 0.15rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--isamem-green);
    background: var(--isamem-green-soft);
}

.isamem-news__body h3 {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.55;
    color: var(--isamem-ink);
    transition: color 0.25s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.isamem-news__body p {
    margin: 0;
    color: var(--isamem-muted);
    font-size: 0.9rem;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.isamem-news__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 1.4rem;
    background: var(--isamem-green);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    transition: background 0.25s ease, transform 0.25s ease;
}

.isamem-news__more:hover {
    background: var(--isamem-green-deep);
    color: #fff !important;
    transform: translateY(-1px);
}

.isamem-news__aside {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: sticky;
    top: 1rem;
}

.isamem-news__widget {
    padding: 1rem 1.05rem;
    background: #fff;
    border: 1px solid var(--isamem-line);
    border-right: 3px solid var(--isamem-green);
    text-align: right;
    font-size: 0.9rem;
    color: var(--isamem-ink);
}

.isamem-news__widget h1,
.isamem-news__widget h2,
.isamem-news__widget h3,
.isamem-news__widget h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--isamem-green-deep);
    margin-bottom: 0.65rem;
}

.isamem-news__widget img {
    width: 100%;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    display: block;
}

.isamem-news__ads {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.isamem-news__ads a {
    display: block;
    background: #fff;
    border: 1px solid var(--isamem-line);
    transition: opacity 0.25s ease;
}

.isamem-news__ads a:has(img[src=""]),
.isamem-news__ads a:not(:has(img)) {
    display: none !important;
    border: 0;
}

.isamem-news__ads a:hover {
    opacity: 0.92;
}

.isamem-news__ads img {
    width: 100%;
    height: auto !important;
    max-width: 100%;
    object-fit: contain !important;
    display: block;
}

@media screen and (max-width: 991px) {
    .isamem-news__layout--split {
        grid-template-columns: 1fr;
    }

    .isamem-news__aside {
        position: static;
    }
}

@media screen and (max-width: 640px) {
    .isamem-news {
        padding: 2.5rem 0 3rem;
    }

    .isamem-news__wrap {
        width: calc(100% - 1.5rem);
    }

    .isamem-news__item {
        grid-template-columns: 108px minmax(0, 1fr);
        gap: 0.85rem;
        padding: 0.95rem 0;
    }

    .isamem-news__thumb,
    .isamem-news__thumb img,
    .isamem-news__placeholder {
        min-height: 88px;
    }

    .isamem-news__body h3 {
        font-size: 0.95rem;
    }

    .isamem-news__body p {
        -webkit-line-clamp: 3;
        font-size: 0.85rem;
    }
}

/* ---------- Active members ---------- */

#about-us .isamem-members-overlay.overlay {
    padding: 3.5rem 0 4rem;
}

#about-us .isamem-members {
    width: min(1100px, calc(100% - 1.5rem));
    margin: 0 auto;
}

#about-us .isamem-members__head {
    text-align: center;
    color: #fff;
    margin-bottom: 1.35rem;
}

#about-us .isamem-members__head h3 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-weight: 800;
    color: #fff;
}

#about-us .isamem-members__head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
}

#about-us .isamem-members__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 0.65rem;
    justify-items: center;
}

#about-us .isamem-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 128px;
    min-height: 0;
    padding: 0.55rem 0.4rem 0.6rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.55);
    text-decoration: none !important;
    color: #1f2d26 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

#about-us .isamem-member:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
    color: #1a3d2a !important;
}

#about-us .isamem-member__media {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(45, 109, 76, 0.18);
}

#about-us .isamem-member__photo {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

#about-us .isamem-member-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    background:
        radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.35), transparent 45%),
        linear-gradient(145deg, #3f8a60 0%, #2d6d4c 48%, #1a3d2a 100%);
    color: #fff;
}

#about-us .isamem-member-avatar[hidden] {
    display: none !important;
}

#about-us .isamem-member-avatar__initial {
    position: relative;
    z-index: 1;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

#about-us .isamem-member__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0 0.1rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: inherit;
}

@media screen and (max-width: 575px) {
    #about-us .isamem-members-overlay.overlay {
        padding: 2.5rem 0 3rem;
    }

    #about-us .isamem-members__grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 0.5rem;
    }

    #about-us .isamem-member {
        max-width: 110px;
        padding: 0.45rem 0.3rem 0.5rem;
        border-radius: 14px;
    }

    #about-us .isamem-member__media,
    #about-us .isamem-member__photo,
    #about-us .isamem-member-avatar {
        width: 68px;
        height: 68px;
    }

    #about-us .isamem-member-avatar__initial {
        font-size: 1.35rem;
    }

    #about-us .isamem-member__name {
        font-size: 0.72rem;
        margin-top: 0.3rem;
    }
}

