/* Public community pages (Public_Resources, Public_Forum, Public_ForumTopic),
   fix pass of 2026-10-14. Loaded after public-pages.css by those three pages
   only; tokens only, no hex.

   1. No "Show more" (rule of 2026-10-14): a phone shows every card the page
      holds (the visitor preview of six per category, cut on the server, stays
      a product rule; "See all N" stays a sign-up link when the preview is cut).
   2. Phone forum filters (Phone_Public_Forum): the two menus keep their whole
      label ("Cabinets Tous", "Activite recente"). */
@media (max-width: 900px) {
    .pr-section .pr-card:nth-child(n+3):not(.is-hidden) { display: flex; }

    .fo-row2 { gap: 6px; }
    .fo-row2 .fo-dd__btn { padding: 0 8px 0 10px; gap: 4px; }
    .fo-row2 .fo-dd__value { overflow: visible; text-overflow: clip; flex: none; }
    .fo-row2 .fo-sort-select {
        appearance: none;
        -webkit-appearance: none;
        padding: 0 26px 0 10px;
        font-size: 12px;
        text-overflow: clip;
        background-color: var(--white);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233A4B73' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 14px 14px;
    }
    .fo-row2 .pp-iconbtn { width: 40px; flex: none; }
}

/* Desktop: the topic list and the comments of a topic scroll in their box
   (public-forum.js, public-forum-topic.js, fitBox). */
@media (min-width: 901px) {
    .fo-list.is-list-box,
    .ft-list.is-list-box { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
    .fo-list.is-list-box > * { flex-shrink: 0; }
}
