/* Block: every-week */
.sfc-every-week {
    background-color: var(--sfc-color-primary);
    padding: var(--sfc-space-2xl) var(--sfc-space-sm);
    padding-bottom: var(--sfc-space-3xl);
    position: relative;
}

/* Decorative circles */
.sfc-every-week__decor-circle--top-left {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: url('../images/decoration.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: -82px;
    left: -29px;
}

.sfc-every-week__decor-circle--top-right {
    position: absolute;
    width: 150px;
    height: 150px;
    background-image: url('../images/atomo.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    top: 130px;
    right: 50px;
}

.sfc-every-week__decor-circle--bottom-center {
    position: absolute;
    width: 201px;
    height: 244px;
    background-image: url('../images/bottle.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    bottom: -93px;
    left: 50%;
    transform: translateX(-1%);
}

/* Element: container */
.sfc-every-week__container {
    max-width: var(--sfc-container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sfc-every-week__container-heading {
    max-width: 1180px;
    margin: 0 auto;
}

/* Element: title */
.sfc-every-week__title {
    font-family: var(--sfc-font-primary);
    font-size: 62px;
    font-weight: 700;
    color: var(--sfc-color-text-light);
    text-align: center;
    margin-bottom: var(--sfc-space-sm);
    position: relative;
    letter-spacing: -1px;
    line-height: 1;
}

.sfc-every-week__title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -20px;
    width: 360px;
    height: 15px;
    background-image: url('../images/BRUSHES.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(-50%);
}

/* Element: subtitle */
.sfc-every-week__subtitle {
    font-family: var(--sfc-font-primary);
    font-size: 22px;
    color: var(--sfc-color-text-light);
    text-align: center;
    margin-top: var(--sfc-space-md);
    line-height: 1.8;
}

/* Element: grid */
.sfc-every-week__grid {
    padding-top: var(--sfc-space-xl);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sfc-space-lg);
    max-width: 1180px;
    margin: 0 auto;
}

/* Element: card */
.sfc-every-week__card {
    background-color: var(--sfc-color-bg-cream);
    border-radius: var(--sfc-radius-md);
    padding: var(--sfc-space-xs);
    display: flex;
    gap: var(--sfc-space-sm);
    box-shadow: 12px 12px 0px 0px var(--sfc-color-secondary);
    transition: transform var(--sfc-transition-base);
    max-width: 570px;
    max-height: 230px;
}

/* Element: card-image */
.sfc-every-week__card-image {
    flex-shrink: 0;
    max-width: 210px;
    max-height: 210px;
    border-radius: 15px;
    overflow: hidden;
}

.sfc-every-week__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Element: card-content */
.sfc-every-week__card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--sfc-space-xs);
}

/* Element: card-date */
.sfc-every-week__card-date {
    font-family: var(--sfc-font-secondary);
    font-size: 14px;
    color: var(--sfc-color-secondary);
    font-weight: 600;
    letter-spacing: 0;
}

/* Element: card-title */
.sfc-every-week__card-title {
    font-family: var(--sfc-font-primary);
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    border-radius: var(--sfc-radius-sm);
    margin: 0;
    display: inline-block;
    width: fit-content;
    z-index: 1;
    position: relative;
}


/* Element: card-description */
.sfc-every-week__card-description {
    font-family: var(--sfc-font-primary);
    font-size: 18px;
    color: var(--sfc-color-text-black);
    line-height: 1.4;
    max-width: 247px;
    font-weight: 400;
    margin: 0;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .sfc-every-week__grid {
        grid-template-columns: 1fr;
        gap: var(--sfc-space-md);
        justify-items: center;
    }

    .sfc-every-week__title {
        font-size: 36px;
    }

    .sfc-every-week {
        padding: var(--sfc-space-xl) var(--sfc-space-sm);
    }

    .sfc-every-week__card {
        max-height: 100%;
    }

    .sfc-every-week__card-image {
        max-width: 151px;
        height: auto;
    }
    .sfc-every-week__decor-circle--top-left {
        position: absolute;
        width: 91px;
        height: 129px;
        background-image: url(../images/decoration.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        top: -64px;
        left: 0px;
    }
}

@media (max-width: 500px) {
    .sfc-every-week__card {
        flex-direction: column;
        align-items: center;
    }

    .sfc-every-week__card-description {
        text-align: center;
        font-size: 16px;
    }

    .sfc-every-week__card {
        max-width: 100%;
        padding-inline: var(--sfc-space-sm);
    }

    .sfc-every-week__decor-circle--top-left {
        width: 150px;
        height: 150px;
    }
}