/* Deling av treff – uavhengig av eksisterende deling for album og nyheter. */
.community-event-card{min-width:0;display:flex;flex-direction:column;overflow:hidden}
.community-event-card-link{display:flex;flex:1;flex-direction:column;min-width:0;color:inherit;text-decoration:none}
.community-event-card-link:hover,.community-event-card-link:focus-visible{color:inherit}
.community-event-card-link:focus-visible{outline:2px solid #b0d7ff;outline-offset:-3px}
.community-event-card-link .community-event-copy{flex:1}
.btm-event-share{display:flex;flex-wrap:wrap;align-items:center;gap:9px;min-width:0;margin:13px 0 22px}
.btm-event-share--compact{margin:0;padding:10px 13px 14px;border-top:1px solid #294361;gap:8px}
.btm-event-share--detail{background:#172438;border:1px solid #2c4d72;padding:13px 15px;border-radius:8px;margin:0 0 20px}
.btm-event-share-heading{color:#c1d7f0;font-weight:800;font-size:13px;letter-spacing:.8px;margin-right:6px}
.btm-event-share-btn{width:42px;height:42px;min-width:42px;display:inline-flex;align-items:center;justify-content:center;background:#203a59;color:#e0f0ff;border:1px solid #52729a;border-radius:7px;padding:0;line-height:1;cursor:pointer;transition:background .14s,border-color .14s}
.btm-event-share-btn:hover{background:#305a89;color:white;border-color:#a1c3ee}
.btm-event-share-btn:focus-visible{outline:3px solid #bedbff;outline-offset:2px}
.btm-event-share-btn svg{width:19px;height:19px;display:block}
.btm-event-share-btn.is-copied{background:#265d51;border-color:#80cdb9}
.btm-event-share-btn.is-copied::after{content:'✓';position:absolute;transform:translate(20px,-20px);font-size:12px;color:#c8ffda}
.btm-event-share--detail .btm-share-status{position:absolute;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px}
@media(max-width:410px){.btm-event-share--detail{padding:12px;gap:8px}.btm-event-share-heading{flex-basis:100%;margin-bottom:2px}.btm-event-share--compact{padding:9px 10px 12px;gap:7px}.btm-event-share-btn{width:42px;height:42px}}
/* Forsiden har komprimerte, horisontale kort: legg kortlayout på lenken,
   slik at delingsknappene alltid ligger på egen linje under kortet. */
.btm-home .community-event-card{display:flex;flex-direction:column}
.btm-home .community-event-card-link{display:grid;grid-template-columns:110px minmax(0,1fr);flex:1}
.btm-home .community-event-card-link .community-event-photo{height:100%}
@media(max-width:1100px){
 .btm-home .community-event-card-link{grid-template-columns:1fr}
 .btm-home .community-event-card-link .community-event-photo{height:125px}
}
@media(max-width:700px){
 .btm-home .community-event-card-link{grid-template-columns:98px minmax(0,1fr)}
 .btm-home .community-event-card-link .community-event-photo{height:100%}
}
@media(max-width:355px){
 .btm-home .community-event-card-link{grid-template-columns:83px minmax(0,1fr)}
}
