/* Medium Layout: 1280px. */ @media only screen and (min-width: 992px) and (max-width: 1200px) { } /* Tablet Layout: 768px. */ @media only screen and (min-width: 768px) and (max-width: 991px) { } /* Mobile Layout: 320px. */ @media only screen and (max-width: 991px) { nav#site-navigation { display: none; } .pxms1-logo { flex: 0 0 100%; } .ax-hstyle1.has-aghome { color: var(--black); position: inherit; text-align: center; } .blog-rich-list header .entry-title, .blog-rich-list .entry-title a{ font-size: 35px; } /* Mobile Menu style*/ .mobile-menu-bar { display: block; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); position: sticky; top: 0; z-index: 99999; } .mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; } .mobile-menu-logo a { font-size: 20px; font-weight: 700; color: var(--color-heading, #222); text-decoration: none; } .mobile-menu-logo img { max-height: 40px; width: auto; } /* Hamburger Button */ .hamburger-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 44px; height: 44px; padding: 0; background: transparent; border: none; cursor: pointer; gap: 6px; z-index: 100001; position: relative; } .hamburger-line { display: block; width: 26px; height: 2px; background-color: var(--color-heading, #222); border-radius: 2px; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1); transform-origin: center; } .hamburger-btn.is-active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); } .hamburger-btn.is-active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); } .hamburger-btn.is-active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); } /* Mobile Overlay */ .mobile-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(2px); z-index: 99999; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; } .mobile-menu-overlay.is-visible { opacity: 1; visibility: visible; } /* Slide-in Navigation Panel */ nav#mobile-navigation { position: fixed; top: 0; right: -320px; width: 300px; max-width: 85vw; height: 100vh; background: #fff; z-index: 100000; overflow-y: auto; box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15); transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; } nav#mobile-navigation.is-open { right: 0; } .mobile-nav-header { display: flex; justify-content: flex-end; padding: 16px 20px 8px; border-bottom: 1px solid #f0f0f0; } .mobile-nav-close { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: #f5f5f5; border: none; border-radius: 50%; cursor: pointer; color: #333; transition: background 0.2s ease, transform 0.2s ease; padding: 0; } .mobile-nav-close:hover { background: #e8e8e8; transform: rotate(90deg); } .mobile-nav-content { flex: 1; padding: 10px 0; overflow-y: auto; } /* Menu Items */ nav .wsm-menu { padding: 0; margin: 0; list-style: none; visibility: visible; opacity: 1; position: static; box-shadow: none; background: transparent; min-width: unset; } .wsm-menu li { border-bottom: 1px solid #f5f5f5; } .wsm-menu li a { padding: 14px 24px; text-decoration: none; display: block; color: #333; font-size: 15px; font-weight: 500; transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease; } .wsm-menu li a:hover { background: #f8f9ff; color: var(--color-primary, #3d55ef); padding-left: 30px; } .mobile-navigation ul { list-style: none; margin: 0; padding: 0; } /* Sub-menu toggle */ .menu-item-has-children { display: flex; flex-flow: row wrap; position: relative; } .menu-item-has-children > a { flex: 1; min-width: 0; } .menu-item-has-children > .submenu-toggle { display: flex; align-items: center; justify-content: center; width: 48px; background: transparent; border: none; border-left: 1px solid #f0f0f0; cursor: pointer; color: #666; transition: transform 0.3s ease, color 0.2s ease; padding: 0; font-size: 12px; } .menu-item-has-children > .submenu-toggle svg { width: 16px; height: 16px; transition: transform 0.3s ease; } .menu-item-has-children.is-expanded > .submenu-toggle svg { transform: rotate(180deg); } .menu-item-has-children > .submenu-toggle:hover { color: var(--color-primary, #3d55ef); } .menu-item-has-children .sub-menu { display: block; width: 100%; } #wsm-menu ul.sub-menu { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; background: #fafafa; } #wsm-menu .menu-item-has-children.is-expanded > ul.sub-menu { max-height: 1000px; opacity: 1; } #wsm-menu ul.sub-menu li a { padding-left: 40px; font-size: 14px; font-weight: 400; color: #555; } #wsm-menu ul.sub-menu li a:hover { padding-left: 46px; } span.mclose, span.mopen { display: none; } .brand-text .site-title { font-size: 40px; } h1 { font-size: 35px; } h1.page-title { font-size: 20px; } h2 { font-size: 28px; } .aghome .ax-home-title h1 { font-size: 4rem; } .aghome .ax-home-dres p { font-size: 15px; letter-spacing: 0; } } /* Wide Mobile Layout: 480px. */ @media only screen and (max-width: 767px) { h1 { font-size: 35px; } h1.page-title { font-size: 24px; } h2 { font-size: 30px; } .entry-content.rich-blog-desk-only { display: none; } .entry-content.rich-blog-mbile-only { display: block; } .rich-list-left{ position: inherit; } .rich-list-left header.entry-header, .rich-list-left{ min-height: inherit; } .blog-rich-list { display: grid; grid-template-columns: auto; gap: 0; } } /* Wide Mobile Layout: 480px. */ @media only screen and (max-width: 479px) { .header-search-form { right: 0; } }