/* Homepage-only mobile corrections based on v19; desktop remains untouched. */
@media (max-width:850px) {
 .p-stories .p-stories-grid {display:flex !important;flex-wrap:nowrap !important;grid-template-columns:none !important;gap:16px !important;overflow-x:auto !important;overflow-y:hidden !important;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding-bottom:5px;}
 .p-stories .p-stories-grid::-webkit-scrollbar {display:none;}
 .p-stories .p-story {flex:0 0 83% !important;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;}
 .p-stories .p-story .photo-frame {border-radius:0 !important;}
 .p-stories .p-story-arrow {opacity:1 !important;transform:none !important;}
 .tc-story-dots {display:flex;justify-content:center;align-items:center;gap:10px;margin:24px 0 8px;}
 .tc-story-dots button {width:9px;height:9px;padding:0;flex:0 0 9px;border:0;border-radius:50%;background:#c7c3be;cursor:pointer;transition:background-color .2s ease;}
 .tc-story-dots button[aria-current="true"] {background:#8d6246;}
 .tc-story-dots button:focus-visible {outline:2px solid #8d6246;outline-offset:4px;}
 #oanh.about-overlap .about-img {position:relative !important;height:auto !important;min-height:0 !important;padding:0 0 13% !important;overflow:visible !important;}
 #oanh.about-overlap .about-img > img.about-main-photo {display:block !important;width:84% !important;height:auto !important;max-height:none !important;object-fit:contain !important;object-position:center !important;}
 #oanh.about-overlap .about-img > img.small {position:absolute !important;right:0 !important;bottom:0 !important;width:45% !important;height:auto !important;max-height:none !important;object-fit:contain !important;border:0 !important;}
}
@media (min-width:851px) {.tc-story-dots {display:none !important;}}

/* Homepage mobile : rotation continue du badge sans modifier son centrage. */
@media (max-width: 850px) {
  section.newsletter .paper .paper-right > img.paper-seal-svg {
    animation: tc-home-badge-spin 6s linear infinite !important;
    transform-origin: center center !important;
  }
}
@keyframes tc-home-badge-spin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}
