
/* HEF editorial profile cards: browser view only, canonical participation states unchanged. */
#people .hef-profiles-lead{max-width:780px;font-size:15px;color:#52645a;line-height:1.6;margin:10px 0 19px}
#people .hef-profile-filters{display:flex;gap:8px;overflow-x:auto;padding:0 0 12px;margin-bottom:8px;scrollbar-width:thin;scrollbar-color:#ccbea9 transparent}
#people .hef-profile-filters button{flex:0 0 auto;white-space:nowrap;border:1px solid #d8d5cd;background:#fffaf3;border-radius:999px;padding:10px 14px;color:#1a3631;font-size:12px;font-weight:750;cursor:pointer}
#people .hef-profile-filters button[aria-pressed="true"]{background:#123830;color:white;border-color:#123830}
#people .hef-profile-filters button:focus-visible,#people .hef-profile-card:focus-visible{outline:3px solid #ab873f;outline-offset:3px}
#people .hef-result-count{font-size:12px;color:#587064;margin:-2px 0 14px;font-weight:650}
#people #grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:14px;align-items:stretch}
#people .person.hef-profile-card{display:flex;flex-direction:row;align-items:flex-start;text-align:left;gap:16px;padding:18px;border:1px solid rgba(18,56,48,.15);background:#fffdf8;border-radius:24px;min-height:215px;box-shadow:0 9px 22px rgba(18,56,48,.045);overflow:hidden;position:relative}
#people .hef-profile-card .avatar{height:84px;width:84px;min-width:84px;min-height:84px;border:3px solid white;box-shadow:0 3px 12px rgba(18,56,48,.13);border-radius:50%;margin:0}
#people .hef-profile-card .avatar img{object-fit:cover;object-position:center 26%}
#people .hef-profile-card .hef-profile-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
#people .hef-profile-card .hef-category{font-size:10px;font-weight:850;letter-spacing:.045em;text-transform:uppercase;color:#876b3b}
#people .hef-profile-card h3{font:600 22px/1.08 Georgia,serif;letter-spacing:-.035em;margin:0;color:#10312d}
#people .hef-profile-card .hef-qualification{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;line-height:1.32;font-size:12px;color:#50635a;margin:0}
#people .hef-profile-card .hef-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.42;color:#40574d;margin:3px 0 0}
#people .hef-profile-card .hef-badgeline{display:flex;gap:5px;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin-top:auto}
#people .hef-profile-card .hef-badgeline .st{position:static;grid-column:auto;font-size:9px;line-height:1.1;padding:5px 8px;margin:5px 0 0;white-space:normal;letter-spacing:.01em}
#people .hef-profile-card .hef-profile-arrow{font-size:15px;color:#a88a58;align-self:flex-end;position:absolute;bottom:17px;right:16px}
#people .hef-empty{padding:22px;border:1px dashed #c8ccbe;border-radius:18px;color:#5e6d64}
#modal .hef-editorial-detail{padding-bottom:20px}
#modal .hef-editorial-hero{display:grid;grid-template-columns:124px minmax(0,1fr);gap:22px;align-items:start;padding:6px 0 26px;border-bottom:1px solid #e4dfd2}
#modal .hef-editorial-hero .avatar{width:124px;height:124px;min-width:124px;min-height:124px;margin:0;border:4px solid white;box-shadow:0 4px 18px #102c2b25}
#modal .hef-editorial-hero .avatar img{object-fit:cover;object-position:center 27%}
#modal .hef-editorial-hero h2{font-size:clamp(28px,4vw,44px);line-height:1.05;margin:6px 0 7px}
#modal .hef-editorial-hero .hef-detail-role{font-size:11px;color:#897044;letter-spacing:.075em;text-transform:uppercase;font-weight:800}
#modal .hef-editorial-hero .hef-detail-qual{line-height:1.4;color:#475d53;font-size:16px;margin:4px 0 10px}
#modal .hef-editorial-hero .st{font-size:10px;padding:5px 9px;display:inline-flex;white-space:normal}
#modal .hef-editorial-detail .block{border-bottom:1px solid #efe8da;margin:0;padding:22px 0}
#modal .hef-editorial-detail .block h4{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#94753c;margin:0 0 9px}
#modal .hef-editorial-detail .block p{font-size:15px;line-height:1.68;color:#243c35;margin:0}
#modal .hef-editorial-detail .hef-photo-credit{font-size:11px;color:#63736c;margin:14px 0}
#modal .hef-editorial-detail .source{overflow-wrap:anywhere}
#programme .mini img[src*="img-api.cloud.mediaset.net"]{object-position:center 30%;transform:scale(1.05)}
@media(max-width:650px){
 #people #grid{grid-template-columns:1fr;gap:10px}
 #people .person.hef-profile-card{min-height:173px;padding:14px;gap:12px;border-radius:18px}
 #people .hef-profile-card .avatar{width:72px;height:72px;min-width:72px;min-height:72px}
 #people .hef-profile-card h3{font-size:21px}
 #people .hef-profile-card .hef-preview{-webkit-line-clamp:2}
 #modal .hef-editorial-hero{grid-template-columns:88px minmax(0,1fr);gap:14px}
 #modal .hef-editorial-hero .avatar{width:88px;height:88px;min-height:88px;min-width:88px}
 #modal .hef-editorial-hero .hef-detail-qual{font-size:14px}
 #modal .hef-editorial-detail .block p{font-size:14px}
 #people .hef-profiles-lead{font-size:14px}
}
@media print{#people .hef-profile-filters{display:none}#people #grid{display:none}}
