@@ -676,6 +676,7 @@ a.md-header__button.md-logo img {
676676/* Mobile viewport: up to 76.1875em (1220px) */
677677@media screen and (max-width : 76.1875em ) {
678678
679+ /* Keep the site name visible on mobile at all times */
679680 .md-header__topic : first-child {
680681 display : flex !important ;
681682 opacity : 1 !important ;
@@ -768,28 +769,34 @@ a.md-header__button.md-logo img {
768769 }
769770}
770771
771- /* Desktop: Maintain existing behavior above 76.1875em (1220px) */
772+ /* Desktop: Restore default Material behavior above 76.1875em (1220px) */
772773@media screen and (min-width : 76.25em ) {
773774
774- /* Restore default Material behavior for desktop */
775775 .md-header__topic : first-child {
776- display : flex;
776+ display : block;
777+ opacity : 1 ;
778+ transform : translateX (0 );
777779 }
778780
779781 .md-header__topic : last-child {
780- display : flex ;
782+ display : block ;
781783 }
782784
783- /* Desktop title gets full width */
785+ /* Remove any forced visibility */
784786 .md-header__title {
785787 max-width : 100% ;
786788 }
789+
790+ .md-header__topic {
791+ transition : transform 0.4s cubic-bezier (0.1 , 0.7 , 0.1 , 1 ),
792+ opacity 0.15s ;
793+ }
787794}
788795
789- /* Update existing 1024px media query for removed hardcoded navigation */
796+ /* Fix: Update existing 1024px media query for removed hardcoded navigation */
790797@media (max-width : 1024px ) {
791798 [dir = ltr ] .md-tabs__list {
792- margin-left : 0 !important ; /* Override existing 5rem to 0 */
799+ margin-left : 0 !important ;
793800 }
794801}
795802
0 commit comments