/* Featured Sites: reference layout, scoped to the homepage cards. */
.home-v2 .publisher-card.reference-card{display:grid;grid-template-columns:158px minmax(0,1fr) 310px;gap:20px;height:auto;min-height:198px;padding:20px;border-radius:22px;background:#fff;margin-bottom:20px}
.home-v2 .reference-card .publisher-logo{display:flex;align-items:center;justify-content:center;width:158px;height:158px;align-self:start;border-radius:11px;font:600 44px 'Plus Jakarta Sans',sans-serif}
.home-v2 .reference-card .publisher-info{min-width:0}
.home-v2 .reference-card .publisher-title{max-width:none;padding:0;margin:2px 0 0;font:600 22px/1.3 'Plus Jakarta Sans',sans-serif;letter-spacing:-.6px;display:flex;flex-wrap:wrap;gap:8px;overflow-wrap:anywhere;color:#183153}
.home-v2 .reference-card .verified{padding:6px 10px;font-size:10px;line-height:1.2}
.home-v2 .reference-card .tags{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 8px}
.home-v2 .reference-card .tags span{font-size:12px;padding:4px 10px;border-radius:7px;line-height:1.3;color:#38465c;background:#e5eeff}
.home-v2 .reference-card .tags .pub-country{display:inline-flex;align-items:center;gap:4px;padding:0 4px;font-size:12px;font-weight:400;color:#5b6b82;background:none;border-radius:0}
.home-v2 .reference-card .pub-country svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.home-v2 .reference-card .website,.home-v2 .reference-card .description{max-width:none;font-size:14px;line-height:1.5;margin:6px 0;color:#63748c;overflow-wrap:anywhere}
.home-v2 .reference-card .website b,.home-v2 .reference-card .description b{font-size:14px;font-weight:600;color:#53627c}
.home-v2 .reference-metrics{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:8px;font-size:12px}
.home-v2 .reference-stat{display:inline-flex;align-items:baseline;gap:4px;padding:4px 10px;border-radius:8px;background:var(--blue);color:#c6dbff;white-space:nowrap;line-height:1.3}
.home-v2 .reference-stat b{font-size:16px;color:#fff;font-weight:600}
.home-v2 .reference-social{display:inline-flex;flex-wrap:wrap;align-items:center;gap:14px;border-left:1px solid #dce1e9;padding-left:18px;color:#52647f}
.home-v2 .reference-social>span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.home-v2 .reference-social b{display:inline-flex;justify-content:center;align-items:center;width:18px;height:18px;border-radius:2px;background:#454956;color:#fff;font:600 16px Arial,sans-serif}
.home-v2 .reference-actions{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:18px;min-width:0}
.home-v2 .reference-card .contact-pill{position:static;display:flex;align-items:center;gap:4px;max-width:100%;width:auto;margin:0;padding:6px;border-radius:28px;background:#e5edff;white-space:nowrap;font-size:12px}
.home-v2 .reference-card .contact-pill>span{display:flex;align-items:center;gap:3px;min-width:0;overflow:hidden;text-overflow:ellipsis;padding-left:5px;color:#59677e}
.home-v2 .reference-card .contact-pill>span svg{flex-shrink:0}
.home-v2 .reference-card .contact-pill button{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;padding:9px 11px;min-height:36px;border-radius:22px;background:var(--blue);color:#fff;font:500 13px/1.3 Inter,sans-serif}
.home-v2 .reference-card .contact-pill.unlocked{background:linear-gradient(110deg,#ffd078,#ffeaa1)}
.home-v2 .reference-card .contact-pill.unlocked>span{color:#493811}
.home-v2 .reference-card .contact-pill.unlocked button{background:#fff;color:var(--blue)}
.home-v2 .reference-save{margin:0}
.home-v2 .reference-save .save-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:10px 16px;background:#fff;border:1px solid #afc3df;border-radius:8px;box-shadow:0 2px 3px #18315308;color:var(--blue);font:500 14px Inter,sans-serif}
.home-v2 .reference-save svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
.home-v2 .reference-save [aria-pressed=true] svg{fill:#dce9ff}
.home-v2 .reference-save button:hover{background:#f2f7ff}
@media(min-width:1300px){
  .home-v2 .publisher-card.reference-card{grid-template-columns:158px minmax(0,1fr);position:relative}
  .home-v2 .reference-card .publisher-logo{width:158px;height:158px}
  .home-v2 .reference-card .publisher-title{padding-right:320px;min-height:34px}
  .home-v2 .reference-card .publisher-info{padding-bottom:0}
  .home-v2 .reference-card .description,.home-v2 .reference-metrics{padding-right:125px}
  .home-v2 .reference-actions{position:absolute;right:20px;top:20px;bottom:20px;width:310px;pointer-events:none}
  .home-v2 .reference-actions>*{pointer-events:auto}
}
@media(max-width:1299px){
  .home-v2 .publisher-card.reference-card{grid-template-columns:100px minmax(0,1fr);gap:16px}
  .home-v2 .reference-card .publisher-logo{width:100px;height:110px;font-size:34px}
  .home-v2 .reference-actions{grid-column:2;flex-direction:row;flex-wrap:wrap;align-items:center}
}
@media(max-width:600px){
  .home-v2 .publisher-card.reference-card{grid-template-columns:64px minmax(0,1fr);padding:16px;gap:12px;border-radius:18px}
  .home-v2 .reference-card .publisher-logo{width:64px;height:74px;font-size:26px}
  .home-v2 .reference-card .publisher-title{font-size:18px}
  .home-v2 .reference-card .website,.home-v2 .reference-card .description,.home-v2 .reference-card .website b,.home-v2 .reference-card .description b{font-size:13px}
  .home-v2 .reference-actions{grid-column:1/-1;gap:12px}
  .home-v2 .reference-social{border:0;padding-left:0}
  .home-v2 .reference-card .contact-pill{max-width:100%}
}
