/* Recomendações: cards com capa 3:4; degradês somente nas áreas de leitura. */
.sm-recommendations{position:relative;min-width:0;width:100%;box-sizing:border-box;margin:0 0 20px;padding:0}
.sm-recommendations-track{display:flex;align-items:stretch;gap:10px;min-width:0;overflow-x:auto;overflow-y:hidden;padding:2px 2px 9px;scroll-snap-type:none;scrollbar-width:none;-ms-overflow-style:none;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
.sm-recommendations-track::-webkit-scrollbar{display:none}
.sm-recommendations-track:focus-visible{outline:2px solid #658abc;outline-offset:1px;border-radius:8px}
.sm-rec-card{box-sizing:border-box;position:relative;isolation:isolate;display:block;flex:0 0 clamp(120px,calc((100% - 38px) / 4.25),152px);min-width:0;aspect-ratio:3/4;overflow:hidden;border-radius:12px;background:#27313a;color:#fff;text-decoration:none}
.sm-rec-card:hover{color:#fff}
.sm-rec-card:focus-visible{outline:2px solid #3772b6;outline-offset:2px}
.sm-rec-cover{position:absolute;inset:0;display:block;overflow:hidden}
.sm-rec-cover img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
@media(hover:hover) and (pointer:fine){.sm-rec-card:hover .sm-rec-cover img{transform:scale(1.025)}}
/* Degradês de leitura reais, sem sombras sobre o texto ou sobre os cards. */
.sm-rec-card::before,.sm-rec-card::after{content:"";pointer-events:none;position:absolute;left:0;right:0;z-index:1}
.sm-rec-card::before{top:0;height:44%;background:linear-gradient(180deg,rgba(8,15,22,.82),rgba(8,15,22,.43) 57%,transparent)}
.sm-rec-card::after{bottom:0;height:58%;background:linear-gradient(0deg,rgba(8,15,22,.88),rgba(8,15,22,.53) 49%,transparent)}
.sm-rec-content{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;justify-content:space-between;gap:7px;min-width:0;min-height:0;padding:10px 9px 11px}
.sm-rec-content>.sm-rec-summary{margin-top:auto}
.sm-rec-author{display:flex;align-items:center;gap:7px;min-width:0}
.sm-rec-avatar{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;overflow:hidden;border:1px solid rgba(255,255,255,.82);border-radius:50%;background:#e6edf4;color:#374554;font-size:.79rem;font-weight:750;line-height:1}
.sm-rec-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.sm-rec-author-info{display:flex;flex:1 1 auto;flex-direction:column;gap:1px;min-width:0}
.sm-rec-author-name{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:.77rem;font-weight:730;line-height:1.18}
.sm-rec-author-location{display:block;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.89);font-size:.65rem;line-height:1.2}
.sm-rec-summary{display:-webkit-box;min-width:0;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;color:#f3f6f9;font-size:.84rem;line-height:1.3;overflow-wrap:anywhere}
.sm-rec-nav{position:absolute;z-index:3;top:50%;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid #dce1e6;border-radius:50%;background:#ffffffed;color:#414b55;cursor:pointer;transform:translateY(-50%)}
.sm-rec-nav--prev{left:4px}.sm-rec-nav--next{right:4px}
.sm-rec-nav svg{width:17px;height:17px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.1}
.sm-rec-nav[hidden]{display:none}
.sm-rec-nav:hover{background:#fff;color:#15191e}
@media(hover:none),(pointer:coarse){.sm-rec-nav{display:none}}
@media(max-width:800px){.sm-rec-card{flex-basis:clamp(114px,calc((100% - 30px) / 4.1),150px)}}
@media(max-width:640px){
  .sm-recommendations{margin:0 0 18px;padding:0}
  .sm-rec-nav{display:none}
  .sm-recommendations-track{gap:8px;padding:2px 1px 8px}
  /* Três cards e parte do quarto em rolagem livre. */
  .sm-rec-card{flex:0 0 calc((100% - 24px) / 3.09);border-radius:10px}
  .sm-rec-content{gap:5px;padding:8px 7px 9px}
  .sm-rec-summary{font-size:.74rem;line-height:1.27}
  .sm-rec-avatar{width:27px;height:27px;flex-basis:27px;font-size:.72rem}
  .sm-rec-author-name{font-size:.68rem}
  .sm-rec-author-location{font-size:.59rem}
  .sm-rec-author{gap:5px}
  .sm-rec-bottom{gap:3px}
}
@media(prefers-reduced-motion:reduce){.sm-rec-cover img{transition:none}}
