/* V10P — Contributor tipping layout and responsive controls */
.lr-tip-block{display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;max-width:100%;margin:12px 0 18px;}
.lr-tip-logo{display:block;width:240px;max-width:100%;height:auto;object-fit:contain;background:transparent;}
.lr-tip-address{display:block;max-width:100%;color:#23513f!important;font-size:14px;font-weight:650;text-align:center;text-decoration:underline!important;text-underline-offset:3px;overflow-wrap:anywhere;word-break:break-word;line-height:1.5;}
.lr-tip-address:hover,.lr-tip-address:focus-visible{color:#ad7a36!important;}
/* Public contributor card: portrait | description | tipping area */
.member-profile-hero{display:grid!important;grid-template-columns:95px minmax(0,1fr)!important;align-items:center;gap:26px;}
.member-profile-hero>.member-profile-avatar{width:95px!important;max-width:95px!important;min-width:95px!important;height:95px!important;max-height:95px!important;min-height:95px!important;aspect-ratio:1/1;flex:0 0 95px;border-radius:50%!important;}
.member-profile-hero>.member-profile-main{display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;align-items:center;gap:28px;width:100%;min-width:0;max-width:none;}
.member-profile-copy{min-width:0;max-width:100%;}
.member-profile-copy .member-public-bio{max-width:66ch;}
.member-profile-hero .lr-tip-profile-side{grid-column:2;min-width:0;max-width:260px;width:100%;justify-self:end;align-items:center;margin:0;}
.member-profile-hero .lr-tip-profile-side .lr-tip-logo{width:245px;}
.member-profile-hero .lr-tip-profile-side .lr-tip-address{text-align:center;}
/* Smaller tip artwork and centered address on recipe pages */
.recipe-page .lr-tip-recipe{width:max-content;max-width:100%;align-items:center;margin:15px 0 18px;}
.recipe-page .lr-tip-recipe .lr-tip-logo{width:205px;}
.recipe-page .lr-tip-recipe .lr-tip-address{text-align:center;font-size:13px;}
/* Settings: label directly above the tip graphic, field follows */
.lr-lightning-field{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;margin-top:6px;}
.lr-lightning-label{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;font-size:14px;font-weight:700;color:#234939;}
.lr-lightning-label small{font-weight:400;color:#778379;font-size:12px;}
.lr-lightning-field .lr-tip-settings{margin:0 0 2px;align-items:flex-start;}
.lr-lightning-field .lr-tip-logo{width:235px;}
.lr-lightning-field input{width:100%;max-width:100%;min-width:0;}
@media(max-width:950px){
 .member-profile-hero>.member-profile-main{grid-template-columns:minmax(0,1fr)!important;}
 .member-profile-hero .lr-tip-profile-side{grid-column:1;justify-self:start;margin-top:10px;}
}
@media(max-width:580px){
 .member-profile-hero{display:flex!important;flex-direction:column!important;align-items:center;text-align:center;}
 .member-profile-hero>.member-profile-main{display:flex!important;flex-direction:column!important;align-items:center;gap:16px;}
 .member-profile-hero .lr-tip-profile-side{align-items:center;justify-self:center;margin:8px auto 0;width:auto;}
 .member-profile-hero .lr-tip-profile-side .lr-tip-address{text-align:center;}
 .member-profile-hero>.member-profile-avatar{width:92px!important;height:92px!important;min-width:92px!important;min-height:92px!important;max-width:92px!important;max-height:92px!important;}
 .lr-tip-logo{max-width:min(245px,75vw);}
}

/* V10T — Recipe-page Lightning tipping card only.
   The public profile and account settings layouts are unchanged. */
.recipe-page .lr-tip-block.lr-tip-recipe {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: max-content;
    max-width: 100%;
    padding: 14px 17px;
    margin: 15px 0 18px;
    border: 1px solid #c8d5cb;
    border-radius: 12px;
    background: #fbfaf6;
    gap: 7px;
}
.recipe-page .lr-tip-block.lr-tip-recipe .lr-tip-logo {
    display: block;
    width: 205px;
    max-width: 100%;
    height: auto;
}
.recipe-page .lr-tip-block.lr-tip-recipe .lr-tip-address {
    display: block;
    text-align: center;
    font-size: 13px;
    line-height: 1.5;
    max-width: 100%;
}
@media (max-width: 400px) {
    .recipe-page .lr-tip-block.lr-tip-recipe {
        padding: 12px 14px;
    }
    .recipe-page .lr-tip-block.lr-tip-recipe .lr-tip-logo {
        width: min(205px, 65vw);
    }
}

/* V10U: reduce unused space between the Lightning card and recipe controls. */
.recipe-page .lr-tip-block.lr-tip-recipe{
  margin-top:10px;
  margin-bottom:7px;
  padding:11px 15px;
  gap:4px;
}
.recipe-page .recipe-tools{margin-top:10px;}
.recipe-page .lr-tip-block.lr-tip-recipe .lr-tip-address{line-height:1.3;}
@media(max-width:400px){
 .recipe-page .lr-tip-block.lr-tip-recipe{padding:10px 13px;margin-bottom:6px;}
}

/* V11D.7c — even 25px vertical spacing around the Lightning card.
   The base site stylesheet gives .recipe-head a 40px bottom margin;
   bring it into line with the 25px toolbar-to-card gap. */
@media screen {
  .recipe-page .recipe-head { margin-bottom: 25px; }
  .recipe-page .lr-tip-block.lr-tip-recipe { margin-top: 25px; margin-bottom: 0; }
}
