.smw-wall {
    --primary: #00692d;
    --primary-light: #35D961;
    --primary-lighter: #e9f2ec;
    --dark: #0F3521;
    --font-color-dark: #1d1f26;
}

.smw-sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.smw-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
    align-items: center;
    justify-content: center;
}

.smw-tab {
    width: 4rem;
    height: 4rem;
    border-radius: 100%;
    background-color: #fff;
    cursor: pointer;
    color: var(--dark);
    background-size: auto 1.8rem;
    background-repeat: no-repeat;
    background-position: 50%;
    border: none;
    transition: background-color 0.3s;

    &:hover {
        background-color: var(--primary-light);
    }

    &[data-smw-plattform="facebook"] {
        background-image: url('../icons/icon-facebook.svg');
    }

    &[data-smw-plattform="x"] {
        background-image: url('../icons/icon-x.svg');
    }

    &[data-smw-plattform="instagram"] {
        background-image: url('../icons/icon-instagram.svg');
    }

    &[data-smw-plattform="tiktok"] {
        background-image: url('../icons/icon-tiktok.svg');
    }

    &[data-smw-plattform="youtube"] {
        background-image: url('../icons/icon-youtube.svg');
    }

    &[aria-selected="true"] {
        background-color: var(--primary-light);
        pointer-events: none;
    }
}

.smw-panel {
    display: none;

    &[aria-hidden="false"] {
        display: block;
    }
}

.smw-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 4rem;
}

.smw-post {
    background: #fff;
    border-radius: 1.8rem 0 1.8rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    width: calc(33.33% - 1.35rem);
    @media screen and (max-width: 767px) {
        width: 100%;
        max-width: 50rem;
        margin: 0 auto;
    }
}

.smw-post-img-wrapper {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    position: relative;
    background-color: var(--primary-lighter);
    border-radius: 1.8rem 0 0 0;
}

.smw-post[data-smw-plattform="youtube"] .smw-post-img-wrapper {
    aspect-ratio: 16 / 9;

    .smw-post-img {
        object-fit: cover;
    }
}

.smw-post[data-smw-plattform="tiktok"] {
    flex-direction: row;
    @media screen and (max-width: 992px) {
        width: calc(50% - 1rem);
    }
    @media screen and (max-width: 767px) {
        width: 100%;
    }

    .smw-post-img-wrapper {
        aspect-ratio: 9 / 16;
        width: auto;
        flex: 0 0 40%;

        .smw-post-img {
            object-fit: cover;
        }
    }

    .smw-post-text {
        word-break: break-word;
        -webkit-line-clamp: 9;
    }

}

.smw-post-img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}


.smw-post-img-bg {
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    filter: blur(10px);
    transform: scale(1.1);
}

.smw-post-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.smw-post-info {
    font-size: 1.2rem;
    color: var(--font-color-dark);
}

.smw-post h3 {
    font-size: 1.6rem;
    line-height: 2.2rem;
    font-family: "Soho Gothic Bold Italic", sans-serif;
    color: var(--dark);
    transition: color .3s;
    margin: .3rem 0 0;
}

.smw-post-text {
    font-size: 1.6rem;
    margin-top: 1rem;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.smw-post:hover h3 {
    color: var(--primary);
}