/* Load fonts */
@import url("https://use.typekit.net/ozl3niy.css");

.donals-kitchen-widget {
    font-family: "sofia-pro", sans-serif !important;
    width: 100%;
    max-width: 100%;
    text-align: center;

    a {
        text-decoration: none;

        &:focus {
            outline: none;
        }
    }
}

.donals-kitchen-widget:focus {
    outline: none;
}

.donals-kitchen-widget .dkw-title {
    font-family: "sofia-pro", sans-serif !important;
    display: inline-block;
    font-size: 35px;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    position: relative;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.donals-kitchen-widget .dkw-title:hover {
    color: #ffd459;
}

.donals-kitchen-widget .dkw-subtitle {
    font-family: "sofia-pro", sans-serif !important;
    font-size: 18px;
    font-weight: 400;
    color: #4d4d4d;
    margin: 0 0 2rem 0;
    line-height: 1.4;
    position: relative;
    text-align: center;
}

.donals-kitchen-widget .dkw-subtitle:after {
    content: "";
    display: block;
    width: 120px;
    height: 4px;
    background: #ffd459;
    margin: 20px auto 0;
    border-radius: 2px;
}


.donals-kitchen-widget .dkw-content {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);

    @media (max-width: 900px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 560px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

.dk-recipe-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    overflow: visible;
    margin-top: 80px;

    img {
        width: 160px;
        height: 160px;

        position: absolute;
        top: -80px;
        left: 50%;
        transform: translateX(-50%);
    }

    h4 {
        font-family: "sofia-pro", sans-serif;
        font-size: 19px;
        font-weight: 600;
        margin-bottom: 20px;
        color: #4d4d4d;
        margin-top: 100px;
        text-decoration: none;
        padding: 0 10px;
        transition: all 0.2s ease;

        &:hover {
            color: #ffd459;
        }

        @media (max-width: 560px) {
            margin-top: 80px;
        }
    }

    &:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    }

    @media (max-width: 560px) {
        height: 150px;
    }
}
