/* =========================================================
   HOME — SELECTED MINERAL OPPORTUNITIES
   ========================================================= */

.home-assets {
    padding: 96px 0 112px;
    background: #f3f0e8;
    color: #173428;
}

.home-assets__container {
    width: min(1400px, calc(100% - 120px));
    margin: 0 auto;
}


/* =========================
   HEADER
========================= */

.home-assets__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;

    margin-bottom: 54px;
}

.home-assets__heading {
    max-width: 840px;
}

.home-assets__eyebrow {
    margin: 0 0 18px;

    color: #60786c;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.home-assets__title {
    max-width: 820px;
    margin: 0 0 20px;

    color: #173f30;

    font-size: clamp(42px, 4vw, 64px);
    font-weight: 700;
    line-height: 1.03;

    letter-spacing: -1.8px;
}

.home-assets__intro {
    max-width: 700px;
    margin: 0;

    color: #56685f;

    font-size: 18px;
    line-height: 1.65;
}

.home-assets__all {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 0 8px;

    color: #173f30;

    border-bottom: 1px solid rgba(23, 63, 48, 0.38);

    font-size: 15px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.home-assets__all span {
    transition: transform 0.2s ease;
}

.home-assets__all:hover {
    color: #2a674f;
    border-color: #2a674f;
}

.home-assets__all:hover span {
    transform: translateX(5px);
}


/* =========================
   GRID
========================= */

.home-assets__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}


/* =========================
   CARD
========================= */

.home-asset-card {
    min-width: 0;
}

.home-asset-card__link {
    height: 100%;

    display: flex;
    flex-direction: column;

    color: inherit;
    text-decoration: none;

    border: 1px solid rgba(23, 52, 40, 0.16);
    background: rgba(255, 255, 255, 0.32);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.home-asset-card__link:hover {
    color: inherit;

    border-color: rgba(23, 52, 40, 0.30);
    background: #ffffff;

    transform: translateY(-7px);

    box-shadow: 0 22px 46px rgba(23, 52, 40, 0.10);
}


/* =========================
   IMAGE
========================= */

.home-asset-card__image {
    position: relative;

    aspect-ratio: 16 / 10;

    background: #dfe4df;

    overflow: hidden;
}

.home-asset-card__image img {
    width: 100%;
    height: 100%;

    display: block;
    object-fit: cover;

    transition: transform 0.45s ease;
}

.home-asset-card__link:hover .home-asset-card__image img {
    transform: scale(1.045);
}

.home-asset-card__placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            135deg,
            rgba(23, 63, 48, 0.16),
            rgba(23, 63, 48, 0.04)
        ),
        #e8e8e1;
}

.home-asset-card__placeholder span {
    color: rgba(23, 63, 48, 0.58);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* =========================
   LICENSE BADGE
========================= */

.home-asset-card__license {
    position: absolute;
    top: 18px;
    left: 18px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    max-width: calc(100% - 36px);

    padding: 9px 12px;

    color: #173f30;
    background: rgba(255, 255, 255, 0.92);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(8px);
}

.home-asset-card__license-dot {
    width: 8px;
    height: 8px;

    flex: 0 0 auto;

    border-radius: 50%;
    background: #809188;
}

.home-asset-card__license.asset-license-obtained
.home-asset-card__license-dot {
    background: #3f8d5d;
}

.home-asset-card__license.asset-license-available
.home-asset-card__license-dot {
    background: #c8912e;
}


/* =========================
   CONTENT
========================= */

.home-asset-card__content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding: 28px 28px 30px;
}

.home-asset-card__commodity {
    margin: 0 0 12px;

    color: #657c70;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.9px;
    text-transform: uppercase;
}

.home-asset-card__title {
    margin: 0 0 26px;

    color: #173f30;

    font-size: clamp(25px, 2vw, 31px);
    font-weight: 700;
    line-height: 1.12;

    letter-spacing: -0.7px;
}


/* =========================
   META
========================= */

.home-asset-card__meta {
    display: grid;
    gap: 13px;

    margin-bottom: 28px;
}

.home-asset-card__meta > div {
    display: grid;
    grid-template-columns: minmax(88px, 0.65fr) minmax(0, 1.35fr);
    gap: 14px;

    padding-top: 13px;

    border-top: 1px solid rgba(23, 52, 40, 0.12);
}

.home-asset-card__meta span {
    color: #7b8b83;

    font-size: 13px;
    line-height: 1.4;
}

.home-asset-card__meta strong {
    min-width: 0;

    color: #304a3e;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    overflow-wrap: anywhere;
}


/* =========================
   CARD LINK
========================= */

.home-asset-card__button {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #173f30;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.home-asset-card__button span {
    transition: transform 0.2s ease;
}

.home-asset-card__link:hover .home-asset-card__button span {
    transform: translateX(5px);
}


/* =========================
   EMPTY STATE
========================= */

.home-assets__empty {
    padding: 42px;

    border: 1px solid rgba(23, 52, 40, 0.16);
    background: rgba(255, 255, 255, 0.28);
}

.home-assets__empty p {
    margin: 0;

    color: #5c6e65;

    font-size: 17px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

    .home-assets {
        padding: 78px 0 90px;
    }

    .home-assets__container {
        width: calc(100% - 70px);
    }

    .home-assets__header {
        align-items: flex-start;
        gap: 36px;

        margin-bottom: 42px;
    }

    .home-assets__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-asset-card:last-child {
        grid-column: 1 / -1;
    }

    .home-asset-card:last-child .home-asset-card__link {
        display: grid;
        grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    }

    .home-asset-card:last-child .home-asset-card__image {
        aspect-ratio: auto;
        min-height: 100%;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .home-assets {
        padding: 64px 0 70px;
    }

    .home-assets__container {
        width: calc(100% - 32px);
    }

    .home-assets__header {
        display: block;

        margin-bottom: 34px;
    }

    .home-assets__title {
        margin-bottom: 18px;

        font-size: 39px;
        letter-spacing: -1.1px;
    }

    .home-assets__intro {
        font-size: 16px;
        line-height: 1.58;
    }

    .home-assets__all {
        margin-top: 24px;
    }

    .home-assets__grid {
        display: block;
    }

    .home-asset-card {
        margin-bottom: 16px;
    }

    .home-asset-card:last-child {
        margin-bottom: 0;
    }

    .home-asset-card:last-child .home-asset-card__link {
        display: flex;
    }

    .home-asset-card:last-child .home-asset-card__image {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .home-asset-card__content {
        padding: 24px 22px 26px;
    }

    .home-asset-card__title {
        margin-bottom: 22px;

        font-size: 27px;
    }

    .home-asset-card__meta {
        margin-bottom: 24px;
    }

    .home-asset-card__license {
        top: 14px;
        left: 14px;

        max-width: calc(100% - 28px);
    }
}