@import "components/anchor.css";
@import "components/body.css";
@import "components/button.css";
@import "components/card.css";
@import "components/container.css";
@import "components/footer.css";
@import "components/grid.css";
@import "components/header.css";
@import "components/icon-container.css";
@import "components/input-wrapper.css";
@import "components/modal.css";
@import "components/nav.css";
@import "components/section.css";
@import "components/filter.css";
@import "components/rich-text.css";

section.seo-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

section.hero {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

section.hero .cover {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: var(--border-radius);
}

section.hero .cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.hero .content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

section.hero .details {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

section.hero .details .info {
    display: flex;
    flex-direction: column;
}

section.hero .details .info .label {
    font-size: var(--text-sm);
}

section.hero .details .info .value {
    font-weight: var(--font-medium);
}

section.hero .details .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

section.hero .details .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section.hero .price {
    font-size: var(--text-lg);
    font-weight: var(--font-bold);
}

section.hero .price small {
    font-size: var(--text-md);
    font-weight: var(--font-regular);
}

section.hero .register button.cta {
    width: 384px;
}

section.hero .register .register-deadline {
    display: inline-block;
    margin-top: 8px;
}

section .items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

section .items .item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    background-color: var(--white);
    border: 1px solid var(--divider);
    border-radius: var(--border-radius);
    padding: 16px 24px;
}

section .items .item .icon-container {
    flex-shrink: 0;
}

section .items .item .icon-container span {
    font-weight: var(--font-bold);
}

section .items .item .avatar {
    width: 150px;
    height: 150px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

section .items .item .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

section .items .item .info .label {
    font-size: var(--text-lg);
    font-weight: var(--font-medium);
}

section .items .item .info .text {
    margin-top: 4px;
}

@media (max-width: 991px) {
    section.seo-content {
        flex-direction: column;
    }

    section.seo-content .content {
        margin-bottom: 24px;
    }

    section.hero {
        grid-template-columns: repeat(1, 1fr);
    }

    section.hero .cover {
        order: 0;
    }

    section.hero .content {
        order: 1;
    }

    section.hero .register button.cta {
        width: 100%;
    }

    section .items .item {
        flex-direction: column;
    }

    .input-wrapper input.search {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .input-wrapper input.search {
        width: 384px;
    }

    .filter {
        justify-content: flex-end;
    }
}