﻿/* Homepage "Actua" feature (2026 rebrand, public homepage only).
   Figma: https://www.figma.com/design/rerOiZoWkgw4Q8xVO9bR46/Website-APB-Final-_06_08_26?node-id=62-10203 */

.homepage-actua {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.homepage-actua__title {
    margin: 0;
    color: rgb(var(--color-graphite));
    font-family: var(--font-brand);
    font-weight: 700;
    font-size: 1.75rem;
}

.homepage-actua__list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

.homepage-actua__item {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
}

.homepage-actua__divider {
    margin: 0;
    border: none;
    border-top: 1px solid rgba(var(--color-pharmacy-green), 0.3);
    width: 100%;
}

.homepage-actua__row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.homepage-actua__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1 1 0%;
    min-width: 0;
}

.homepage-actua__theme {
    color: rgb(var(--color-dark-green));
    font-family: var(--font-brand);
    font-weight: 400;
    font-size: 0.875rem;
}

.homepage-actua__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.homepage-actua__item-title {
    margin: 0;
    max-width: 41rem;
    color: rgb(var(--color-dark-green));
    font-family: var(--font-brand);
    font-weight: 400;
    font-size: 1.5rem;
    line-height: var(--line-height-large);
}

.homepage-actua__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgb(var(--color-dark-green));
    font-family: var(--font-brand);
    font-size: var(--font-size-body);
    text-decoration: none;
}

    .homepage-actua__link span {
        text-decoration: underline;
    }

    .homepage-actua__link:hover,
    .homepage-actua__link:focus-visible {
        color: rgb(var(--color-dark-green));
    }

    .homepage-actua__link:focus-visible {
        outline: 2px solid rgb(var(--color-dark-green));
        outline-offset: 2px;
    }

.homepage-actua__link-icon {
    flex-shrink: 0;
}

.homepage-actua__media {
    flex-shrink: 0;
}

.homepage-actua__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.homepage-actua__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 100%;
}

.homepage-actua__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 10px 16px;
    background-color: rgb(var(--color-dark-green));
    color: rgb(var(--color-lime));
    font-family: var(--font-brand);
    font-size: var(--font-size-body);
    text-decoration: none;
    border: none;
    transition: filter 0.2s;
    width: 100%;
}

    .homepage-actua__button:hover,
    .homepage-actua__button:focus-visible {
        color: rgb(var(--color-dark-green));
        background-color: rgb(var(--color-lime));
        text-decoration: none;
    }

    .homepage-actua__button:focus-visible {
        outline: 2px solid rgb(var(--color-dark-green));
        outline-offset: 2px;
    }

@media (min-width: 768px) {
    .homepage-actua__title {
        font-size: var(--font-size-h1);
    }

    .homepage-actua__item-title {
        font-size: var(--font-size-body-lg);
    }

    .homepage-actua__theme {
        font-size: var(--font-size-body);
    }

    .homepage-actua__row {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.5rem;
    }

    .homepage-actua__content {
        flex-direction: row;
        gap: 1.5rem;
    }

    .homepage-actua__theme {
        flex: 1 1 0%;
        max-width: 171px;
    }

    .homepage-actua__body {
        flex: 1 1 0%;
    }

    .homepage-actua__image {
        max-width: 268px;
    }
}
