/* ============================================================
   Clean Ingredients — Post Type List Widget Styles
   ============================================================ */

.ci-ptl-wrapper {
    display: flex;
    flex-direction: column;
}

/* ── Single item ────────────────────────────────────────────── */
.ci-ptl-item {
    position: relative;
}

/* ── Title base ─────────────────────────────────────────────── */
.ci-ptl-title {
    font-style: italic;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 8px;
}

.ci-ptl-title a,
.ci-ptl-title a:link,
.ci-ptl-title a:visited {
    text-decoration: none !important;
    color: inherit;
    transition: color 0.2s ease;
}

.ci-ptl-title a:hover {
    text-decoration: none !important;
}

/* ── Title color classes by ACF post_type value ─────────────── */

/*
 * .post-type--default
 * ACF post_type = "default"  OR  field is empty / not set
 */
.ci-ptl-title.post-type--default,
.ci-ptl-title.post-type--default a {
    color: #1a3a5c;
}

/*
 * .post-type--recipe
 * ACF post_type = "recipe"
 */
.ci-ptl-title.post-type--recipe,
.ci-ptl-title.post-type--recipe a {
    color: #2e7d32;
}

/*
 * .post-type--ingredients
 * ACF post_type = "ingredients"
 */
.ci-ptl-title.post-type--ingredients,
.ci-ptl-title.post-type--ingredients a {
    color: #e65100;
}

/* ── Excerpt ────────────────────────────────────────────────── */
.ci-ptl-excerpt {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.6;
    color: #555555;
}

/* ── Empty state ────────────────────────────────────────────── */
.ci-ptl-no-posts {
    font-style: italic;
    color: #999999;
}
