@import url('/css/post-card.css');

.content {
    margin-block: var(--space-xxl);
}

.featured-post {
    margin-bottom: var(--space-xl);
}

.featured-post article {
    margin: 0 auto;
    max-width: var(--article-max-width);
    border: none;
}

.hero {
    position: relative;
    height: fit-content;
    width: 100%;
    min-height: 30rem;
    padding-block: var(--navbar-height);
    background: linear-gradient(135deg, var(--secondary-text), var(--base-variant), var(--base-variant-65));
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: var(--space-xl);
    height: 100%;
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-logo {
    height: 100%;
    width: 100%;
    max-width: 25rem;
    min-width: 15rem;
    object-fit: contain;
}

.hero-left {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    z-index: 1;
}

.hero-right {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    z-index: 1;
}

.hero-right-content {
    display: flex;
    gap: var(--space-l);
    flex-direction: column;
    justify-content: center;
    max-width: var(--article-max-width);
    padding: var(--space-l);
    border-radius: var(--border-radius-s);
}

.hero-right-content h1 {
    font-family: 'Zen Dots', 'Roboto', sans-serif;
    font-size: 4rem;
    margin-block: 0.5rem;
    text-align: left;
}

.hero-right-content h2 {
    font-family: 'Zen Dots', 'Roboto', sans-serif;
    font-weight: normal;
    font-size: 1.5rem;
    line-height: 2.25rem;
    margin-block: 0.5rem;
}

.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-container svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 12rem;
}

.wave-container .shape-fill {
    fill: rgba(255, 255, 255, 0.1);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: var(--space-xl) var(--space-xl);
    z-index: 1;
}

.badge {
    background-color: var(--base-variant);
    color: var(--text-color);
    padding: 3px 6px;
    text-align: center;
    border-radius: 5px;
    font-size: var(--font-size-tiny);
}

.keywords {
    margin-bottom: var(--space-xxl);
}

.keywords ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style-type: none;
    margin: 0 auto;
    width: 100%;
    max-width: var(--article-max-width);
}

.keywords li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 45rem) {

    .hero-logo {
        max-width: 10rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .featured-post,
    .category-section {
        border-left: none;
        padding: 0;
    }

    .category-section {
        margin-block: var(--space-xl);
    }

    .category-section>h2 {
        padding-left: 0;
    }
}