/* ============================================================
   WP Recipe Maker — visual overrides
   Goal: make WPRM cards look like editorial inset boxes, not
   default rounded-pink AI-slop. Targets the public-facing classes.
   ============================================================ */

.wprm-recipe-container,
.wprm-recipe {
    background: var(--wp--preset--color--bg-2, #f7f7f5) !important;
    border: 1px solid var(--wp--preset--color--line, #e6e6e3) !important;
    border-radius: 6px !important;
    padding: 1.75rem !important;
    margin: 2.5rem 0 !important;
    box-shadow: none !important;
}
.wprm-recipe-name,
.wprm-recipe h2.wprm-recipe-name {
    font-family: "Schibsted Grotesk", system-ui, sans-serif !important;
    font-weight: 900 !important;
    font-size: clamp(1.6rem, 2.4vw, 2rem) !important;
    line-height: 1.04 !important;
    letter-spacing: -.03em !important;
    color: var(--wp--preset--color--ink, #0a0a0a) !important;
    margin: 0 0 1rem !important;
}
.wprm-recipe-summary,
.wprm-recipe-summary p {
    font-size: 15.5px !important;
    line-height: 1.5 !important;
    color: var(--wp--preset--color--ink-soft, #2a2a2a) !important;
}

/* Time / yield row */
.wprm-recipe-times-container,
.wprm-recipe-meta-container {
    border-top: 1px solid var(--wp--preset--color--line, #e6e6e3) !important;
    border-bottom: 1px solid var(--wp--preset--color--line, #e6e6e3) !important;
    padding: .85rem 0 !important;
    margin: 1rem 0 1.25rem !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
    gap: .75rem 1rem !important;
}
.wprm-recipe-time-container,
.wprm-recipe-meta-container > div {
    display: flex !important;
    flex-direction: column !important;
    gap: .15rem !important;
}
.wprm-recipe-time-label,
.wprm-recipe-meta-label {
    font-family: "Schibsted Grotesk", system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: 10.5px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--wp--preset--color--muted, #6e6e6e) !important;
}
.wprm-recipe-time,
.wprm-recipe-meta {
    font-family: "Schibsted Grotesk", system-ui, sans-serif !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    color: var(--wp--preset--color--ink, #0a0a0a) !important;
}

/* Section headers (Ingredients / Instructions / Notes) */
.wprm-recipe-header,
.wprm-recipe-ingredients-header,
.wprm-recipe-instructions-header,
.wprm-recipe-notes-header {
    font-family: "Schibsted Grotesk", system-ui, sans-serif !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--wp--preset--color--pink-deep, #cc1e62) !important;
    padding-bottom: .5rem !important;
    margin: 1.25rem 0 1rem !important;
    border-bottom: 1.5px solid var(--wp--preset--color--ink, #0a0a0a) !important;
}

/* Ingredients */
.wprm-recipe-ingredient { font-size: 15px !important; line-height: 1.55 !important; padding: .35rem 0 !important; }
.wprm-recipe-ingredient-amount,
.wprm-recipe-ingredient-unit { font-weight: 800 !important; color: var(--wp--preset--color--ink, #0a0a0a) !important; }

/* Instructions */
.wprm-recipe-instruction { font-size: 15.5px !important; line-height: 1.6 !important; padding: .4rem 0 !important; }
.wprm-recipe-instructions-name { font-weight: 800 !important; }

/* Notes */
.wprm-recipe-notes {
    background: #fff !important;
    border-left: 3px solid var(--wp--preset--color--pink, #ff2d7f) !important;
    padding: 1rem 1.25rem !important;
    margin: 1.25rem 0 !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    color: var(--wp--preset--color--ink-soft, #2a2a2a) !important;
}

/* Buttons (Print / Pin / Save) — black pill */
.wprm-recipe-print,
.wprm-recipe-print-link,
.wprm-print-recipe-shortcode,
.wprm-recipe-shop {
    background: var(--wp--preset--color--ink, #0a0a0a) !important;
    color: #fff !important;
    font-family: "Schibsted Grotesk", system-ui, sans-serif !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 2px !important;
    padding: .85rem 1.4rem !important;
    transition: background-color .2s ease !important;
}
.wprm-recipe-print:hover,
.wprm-recipe-print-link:hover { background: var(--wp--preset--color--pink-deep, #cc1e62) !important; color: #fff !important; }

/* Hide user-rating prompt (we kill it via PHP, this is the belt) */
.wprm-recipe-rating-container .wprm-comment-rating { display: none !important; }
