/* ======================================================
   CUSTOM PORTFOLIO ELEMENT
====================================================== */

.rezepte-item {
    border-bottom: 1px solid #000;
    padding: 60px 0;
}

.rezepte-img img {
    width: 100%;
}

.rezepte-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.rezepte-meta {
    display: flex;
    gap: 40px;
    /*align-items: center;*/
	margin-top: auto;
}

.meta-time {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-time img {
    width: 22px;
}

.rezepte-cta {
    text-align: right;
	display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.rezepte-cta a {
    font-family: "RobotoSlab-Medium";
    font-size: 15px;
    text-transform: uppercase;

    display: inline-block;
    padding: 14px 24px;

    background: #30384b;
    color: #fff;

    border: 2px solid transparent;
}

.rezepte-cta a:hover,
.rezepte-cta a:focus {
    border: 2px solid #30384b !important;
    background: white;
    color: #30384b;
}

.rezepte-inner {
    display: grid;
    grid-template-columns: clamp(260px, 25vw, 460px) 1fr auto;
    gap: 50px;
    align-items: stretch;
}

.rezepte-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (max-width: 950px) {

    .rezepte-item {
        padding: 30px 0;
    }

    .rezepte-inner {
        display: block;
    }

    .rezepte-img {
        margin-bottom: 40px;
    }

    .rezepte-img img {
        width: 100%;
        height: auto;
    }

    .rezepte-content h3 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .rezepte-meta {
        gap: 20px;
        margin-bottom: 20px;
    }

    .rezepte-cta {
        text-align: left;
    }

    .rezepte-cta a {
        width: 100%;
        text-align: center;
    }
	
	.rezepte-content h3 {
        margin-bottom: 30px;
    }

    .rezepte-meta {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 40px;
    }
		
    .meta-time,
    .meta-persons {
        display: flex;
        align-items: center;
        gap: 8px;
    }
}


/* ======================================================
   FILTER STYLING (MATCH CTA)
====================================================== */

.rezepte-filter {
    margin-bottom: 40px;
}

.filter-toggle,
.filter-reset {
    font-family: "RobotoSlab-Medium";
    font-size: 15px;
    text-transform: uppercase;
    display: inline-block;
    padding: 14px 24px;
    background: #30384b;
    color: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-toggle:hover,
.filter-toggle:focus,
.filter-reset:hover,
.filter-reset:focus {
    border: 2px solid #30384b;
    background: #fff;
    color: #30384b;
}

.filter-panel {
    display: none;
    margin-top: 20px;
    padding: 24px;
    border: 1px solid #000;
}

.filter-panel.active {
    display: block;
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: end;
}

.filter-field label {
    display: block;
    margin-bottom: 8px;
    font-family: "RobotoSlab-Medium";
    font-size: 15px;
    text-transform: uppercase;
}

.filter-select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-family: "Jost-Regular";
    font-size: 16px;
    background: #fff;
    color: #30384b;
    border: 2px solid #30384b;
    border-radius: 0;
    box-shadow: none;
    appearance: none;
}

.filter-select:focus {
    outline: none;
    border-color: #30384b;
}

.filter-actions {
    display: flex;
    align-items: end;
}

@media (max-width: 1024px) {
    .filter-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .filter-row {
        grid-template-columns: 1fr;
    }

    .filter-toggle,
    .filter-reset {
        width: 100%;
    }
}