/* EasyCampaign · compact editorial campaign cards */
.easycampaign-front-list{
  --ec-ink:#1b3045;--ec-muted:#687b8e;--ec-line:#e5ebf0;--ec-blue:#315f82;
  display:grid;gap:0;width:100%;max-width:100%;margin:18px 0;padding:0;overflow:hidden;
  border:1px solid var(--ec-line);border-radius:12px;background:#fff;color:var(--ec-ink);
  box-shadow:0 3px 12px rgba(24,48,72,.045);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  font-size:13px;line-height:1.5;text-align:left;
}
.easycampaign-front-list *{box-sizing:border-box;}
.easycampaign-front-card{
  display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:14px;
  min-width:0;min-height:0;margin:0;padding:13px 15px;background:#fff;
}
.easycampaign-front-card+.easycampaign-front-card{border-top:1px solid var(--ec-line);}
.easycampaign-front-card>img{
  display:block;width:112px;height:82px;max-width:112px;min-width:0;margin:0;object-fit:cover;object-position:center;
  border:1px solid #e9eef2;border-radius:8px;background:#f3f6f8;box-shadow:none;
}
.easycampaign-front-copy{display:flex;flex-direction:column;align-items:flex-start;min-width:0;width:100%;max-width:100%;margin:0;padding:0;overflow:hidden;}
.easycampaign-front-label{
  display:inline-flex;align-items:center;gap:6px;max-width:100%;margin:0 0 4px;padding:2px 7px;
  border:1px solid #e6edf2;border-radius:999px;background:#f7f9fb;color:#607f99;
  font-family:inherit;font-size:10px;font-weight:600;line-height:1.4;white-space:nowrap;
}
.easycampaign-front-label:before{content:"";display:block;width:5px;height:5px;flex:0 0 5px;border-radius:50%;background:#6b9a82;}
.easycampaign-front-copy h3{
  display:-webkit-box;width:100%;max-width:100%;max-height:2.8em;margin:0 0 3px;padding:0;overflow:hidden;
  border:0;background:none;color:var(--ec-ink);font-family:inherit;font-size:15px;font-weight:700;
  line-height:1.4;letter-spacing:0;text-align:left;overflow-wrap:anywhere;word-break:break-word;
  -webkit-box-orient:vertical;-webkit-line-clamp:2;
}
.easycampaign-front-copy p{
  display:-webkit-box;width:100%;max-width:100%;max-height:1.5em;margin:0 0 5px;padding:0;overflow:hidden;
  color:var(--ec-muted);font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;
  letter-spacing:0;text-align:left;overflow-wrap:anywhere;word-break:break-word;
  -webkit-box-orient:vertical;-webkit-line-clamp:1;
}
.easycampaign-front-description{
  display:-webkit-box;width:100%;max-width:100%;max-height:3.9em;margin:0 0 7px;padding:0;overflow:hidden;
  color:#68798a;font-family:inherit;font-size:11px;font-weight:400;line-height:1.3;
  letter-spacing:0;text-align:left;overflow-wrap:anywhere;word-break:break-word;
  -webkit-box-orient:vertical;-webkit-line-clamp:3;
}
.easycampaign-front-description br{display:none;}
.easycampaign-front-copy a.easycampaign-front-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:29px;max-width:100%;margin:0;padding:0 11px;
  overflow:hidden;border:1px solid #315f82;border-radius:6px;background:#315f82;
  color:#fff;font-family:inherit;font-size:11px;font-weight:600;line-height:1.2;text-align:center;text-decoration:none;
  text-overflow:ellipsis;white-space:nowrap;box-shadow:none;transition:background .15s ease,border-color .15s ease;
}
.easycampaign-front-copy a.easycampaign-front-cta:after{content:"→";flex:0 0 auto;font-size:13px;line-height:1;}
.easycampaign-front-copy a.easycampaign-front-cta:hover,.easycampaign-front-copy a.easycampaign-front-cta:focus-visible{
  border-color:#244c6b;background:#244c6b;color:#fff;text-decoration:none;outline:2px solid rgba(49,95,130,.18);outline-offset:2px;
}
.easycampaign-front-card:not(.has-cover){grid-template-columns:minmax(0,1fr);}
@media(max-width:560px){
  .easycampaign-front-list{margin:14px 0;border-radius:10px;}
  .easycampaign-front-card{grid-template-columns:88px minmax(0,1fr);gap:11px;padding:11px 12px;}
  .easycampaign-front-card>img{width:88px;height:68px;max-width:88px;border-radius:7px;}
  .easycampaign-front-copy h3{font-size:14px;}
  .easycampaign-front-copy p{font-size:11px;}
  .easycampaign-front-description{font-size:10px;line-height:1.3;-webkit-line-clamp:2;max-height:2.6em;}
  .easycampaign-front-copy a.easycampaign-front-cta{min-height:27px;padding:0 9px;font-size:10px;}
}
@media(max-width:350px){
  .easycampaign-front-card{grid-template-columns:72px minmax(0,1fr);gap:9px;padding:10px;}
  .easycampaign-front-card>img{width:72px;height:60px;max-width:72px;}
}
@media(prefers-reduced-motion:reduce){.easycampaign-front-copy a.easycampaign-front-cta{transition:none;}}

/* Banner style: compact image-backed callout with readable contrast */
.easycampaign-front-card.is-banner{position:relative;display:block;min-height:150px;padding:0;overflow:hidden;background:#20364b;color:#fff;}
.easycampaign-front-card.is-banner>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;min-width:0;border:0;border-radius:0;object-fit:cover;opacity:.42;}
.easycampaign-front-card.is-banner .easycampaign-front-copy{position:relative;z-index:1;min-height:150px;justify-content:center;padding:18px 20px;color:#fff;background:linear-gradient(90deg,rgba(16,35,52,.88),rgba(16,35,52,.45));}
.easycampaign-front-card.is-banner .easycampaign-front-label{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.12);color:#e8f1f7;}
.easycampaign-front-card.is-banner .easycampaign-front-label:before{background:#9ed0ae;}
.easycampaign-front-card.is-banner .easycampaign-front-copy h3,.easycampaign-front-card.is-banner .easycampaign-front-copy p,.easycampaign-front-card.is-banner .easycampaign-front-description{color:#fff;}
.easycampaign-front-card.is-banner .easycampaign-front-copy h3{font-size:clamp(16px,2.2vw,22px);max-height:2.8em;}
.easycampaign-front-card.is-banner .easycampaign-front-copy a.easycampaign-front-cta{border-color:#fff;background:#fff;color:#23425b;}
.easycampaign-front-card.is-banner .easycampaign-front-copy a.easycampaign-front-cta:hover{background:#eaf2f7;border-color:#eaf2f7;}
.easycampaign-front-card.is-banner:not(.has-cover) .easycampaign-front-copy{background:linear-gradient(110deg,#254f6c,#356d8d);}
@media(max-width:560px){.easycampaign-front-card.is-banner,.easycampaign-front-card.is-banner .easycampaign-front-copy{min-height:130px;}.easycampaign-front-card.is-banner .easycampaign-front-copy{padding:14px 15px;}}

/* Floating campaign entry: restrained fixed corner panel, dismissible per tab session */
.easycampaign-position-floating{position:fixed;z-index:9998;right:20px;bottom:20px;width:min(360px,calc(100vw - 32px));margin:0;border-radius:12px;box-shadow:0 12px 36px rgba(17,38,58,.2);}
.easycampaign-position-floating .easycampaign-front-card{padding:12px 14px;}
.easycampaign-position-floating .easycampaign-front-copy{padding-right:18px;}
.easycampaign-position-floating .easycampaign-floating-close{position:absolute;z-index:3;top:6px;right:7px;display:flex;align-items:center;justify-content:center;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:rgba(20,35,48,.72);color:#fff;font-size:19px;line-height:1;cursor:pointer;}
.easycampaign-position-floating.is-dismissed,.easycampaign-floating-dismissed .easycampaign-position-floating{display:none!important;}
@media(max-width:560px){.easycampaign-position-floating{right:12px;bottom:12px;width:min(340px,calc(100vw - 24px));}.easycampaign-position-floating .easycampaign-front-card{padding:10px 12px;}}
@media(prefers-reduced-motion:no-preference){.easycampaign-position-floating{animation:easycampaign-float-in .22s ease-out both;}@keyframes easycampaign-float-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}}


/* Public campaign detail page and compact inline detail link */
.easycampaign-front-detail{display:inline-flex;align-items:center;justify-content:center;min-height:34px;margin:7px 8px 0 0;padding:0 12px;border:1px solid #d5e0e8;border-radius:7px;color:#31536d;background:#fff;text-decoration:none;font-size:12px;font-weight:650;}
.easycampaign-front-detail:hover{border-color:#9db5c8;background:#f4f8fb;color:#203f58;}
.easycampaign-detail-page{box-sizing:border-box;width:min(860px,calc(100% - 32px));margin:36px auto;padding:0 0 36px;color:#243746;font-family:inherit;}
.easycampaign-detail-shell{overflow:hidden;border:1px solid #e3eaf0;border-radius:16px;background:#fff;box-shadow:0 12px 36px rgba(23,48,68,.08);}
.easycampaign-detail-cover{display:block;width:100%;max-height:360px;object-fit:cover;background:#eaf0f5;}
.easycampaign-detail-body{padding:clamp(20px,4vw,36px);}
.easycampaign-detail-kicker{display:inline-flex;padding:5px 9px;border-radius:20px;background:#edf5f8;color:#3c667d;font-size:11px;font-weight:700;letter-spacing:.04em;}
.easycampaign-detail-title{margin:14px 0 8px;color:#1e3445;font-size:clamp(24px,4vw,34px);line-height:1.25;overflow-wrap:anywhere;}
.easycampaign-detail-subtitle{margin:0 0 18px;color:#5b7181;font-size:16px;line-height:1.65;}
.easycampaign-detail-description{color:#344b5c;font-size:15px;line-height:1.9;overflow-wrap:anywhere;}
.easycampaign-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}
.easycampaign-detail-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:8px;text-decoration:none;font-size:14px;font-weight:700;}
.easycampaign-detail-primary{background:#24516e;color:#fff;}.easycampaign-detail-secondary{border:1px solid #d8e2e9;color:#39566b;background:#fff;}
@media(max-width:560px){.easycampaign-detail-page{width:calc(100% - 20px);margin:18px auto}.easycampaign-detail-shell{border-radius:12px}.easycampaign-detail-cover{max-height:220px}.easycampaign-detail-body{padding:20px 17px}.easycampaign-detail-actions{display:grid;grid-template-columns:1fr}.easycampaign-detail-actions a{width:100%;box-sizing:border-box}}


/* Unified front-card action group: aligned actions, consistent baseline and spacing. */
.easycampaign-front-copy .easycampaign-front-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;width:100%;max-width:100%;margin:2px 0 0;padding:0;}
.easycampaign-front-copy .easycampaign-front-actions>a{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:34px;margin:0;padding:0 13px;border-radius:7px;font-family:inherit;font-size:11px;font-weight:700;line-height:1.2;text-align:center;text-decoration:none;white-space:nowrap;box-sizing:border-box;}
.easycampaign-front-copy .easycampaign-front-actions>a.easycampaign-front-detail{border:1px solid #d8e2ea;background:#fff;color:#3b5b73;}
.easycampaign-front-copy .easycampaign-front-actions>a.easycampaign-front-detail:hover{border-color:#9bb4c8;background:#f3f7fa;color:#244a67;}
.easycampaign-front-copy .easycampaign-front-actions>a.easycampaign-front-cta{border:1px solid #315f82;background:#315f82;color:#fff;}
.easycampaign-front-copy .easycampaign-front-actions>a.easycampaign-front-cta:after{content:"→";margin-left:5px;font-size:13px;line-height:1;}
.easycampaign-front-card.is-banner .easycampaign-front-actions>a.easycampaign-front-detail{border-color:rgba(255,255,255,.72);background:rgba(255,255,255,.12);color:#fff;}
.easycampaign-front-card.is-banner .easycampaign-front-actions>a.easycampaign-front-cta{border-color:#fff;background:#fff;color:#23425b;}
@media(max-width:560px){.easycampaign-front-copy .easycampaign-front-actions{gap:7px}.easycampaign-front-copy .easycampaign-front-actions>a{min-height:31px;padding:0 11px;font-size:10px}}
@media(max-width:350px){.easycampaign-front-copy .easycampaign-front-actions>a{min-height:29px;padding:0 9px;font-size:9px}}
