.mobile-menu {
position: fixed;
top: 0;
left: 0;
width: 100%;
min-height: 100vh; height: auto; z-index: 99997 !important;
overflow-y: auto;
overflow-x: hidden;
transition: opacity 0.3s ease, visibility 0.3s ease;
background: rgba(0, 0, 0, 0.97); -webkit-overflow-scrolling: touch;
opacity: 0;
visibility: hidden;
pointer-events: none; display: flex;
flex-direction: column;
justify-content: center; align-items: center; padding: 80px 20px 20px; }
.mobile-menu.active {
opacity: 1 !important;
visibility: visible !important;
pointer-events: auto !important; } .mobile-menu-items {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
list-style: none;
padding: 0;
margin: 0;
text-align: center !important; width: 100% !important;
max-width: 400px !important;
}
.mobile-menu-items li {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
}
.mobile-menu-items a {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
color: #fff !important;
}
.mobile-menu-social {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
}
.mobile-menu-social a {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
color: #fff !important;
}
.mobile-menu-search {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
} .hamburger-icon {
display: flex;
flex-direction: column;
justify-content: space-between;
width: 22px;
height: 17px;
}
.hamburger-icon span {
display: block;
width: 100%;
height: 2.5px;
background-color: #fff;
border-radius: 2px;
transition: all 0.3s ease;
}
.mobile-menu-toggle.active .hamburger-icon span:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-toggle.active .hamburger-icon span:nth-child(2) {
opacity: 0;
}
.mobile-menu-toggle.active .hamburger-icon span:nth-child(3) {
transform: rotate(-45deg) translate(5px, -5px);
}
.mobile-menu-items {
list-style: none;
padding: 0;
margin: 0;
text-align: center !important; width: 100% !important;
max-width: 400px !important;
}
.mobile-menu-items li {
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-menu-items a {
display: block;
padding: 0.8rem 1.5rem; color: #fff;
text-decoration: none;
font-size: 0.95rem; font-weight: 600;
letter-spacing: 0.3px;
transition: background-color 0.2s;
text-align: center !important; }
.mobile-menu-items a:hover,
.mobile-menu-items .current-menu-item > a {
background-color: rgba(255, 255, 255, 0.1); color: #fff;
} .mobile-menu-social {
display: flex;
justify-content: center;
gap: 1rem;
padding: 2rem 1.5rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: 1.5rem;
}
.mobile-menu-social a {
width: 42px;
height: 42px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
transition: all 0.3s;
}
.mobile-menu-social a:hover {
background-color: rgba(255, 255, 255, 0.2); }
.mobile-menu-social a svg { width: 18px; height: 18px; fill: currentColor; }
.mobile-menu-social a i { font-size: 18px; } .mobile-menu-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.65);
opacity: 0;
visibility: hidden;
pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s ease;
z-index: 99996 !important; }
.mobile-menu-overlay.active {
opacity: 1;
visibility: visible;
pointer-events: auto; } .mobile-menu-logo {
position: absolute;
top: 0;
left: 0;
right: 0;
padding: 1rem 1.5rem;
border-bottom: 1px solid rgba(255,255,255,0.1);
display: flex;
align-items: center;
}
.mobile-menu-logo img { max-height: 28px; }
.mobile-menu-logo a { font-size: 1.2rem; font-weight: 800; color: #fff; text-decoration: none; }
body.dark-mode .mobile-menu {
background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
} .mobile-menu-search {
padding: 1rem 1.5rem 0.5rem;
border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-search-inner {
display: flex;
align-items: center;
gap: 0.6rem;
background: rgba(255,255,255,0.1);
border: 1.5px solid rgba(255,255,255,0.2);
border-radius: 25px;
padding: 0.6rem 0.75rem 0.6rem 1rem;
transition: border-color 0.2s;
}
.mobile-search-inner:focus-within {
border-color: var(--color-primary);
background: rgba(255,255,255,0.15);
}
.mobile-search-inner svg {
flex-shrink: 0;
color: rgba(255,255,255,0.5);
}
.mobile-search-inner input {
flex: 1;
background: none;
border: none;
outline: none;
color: #fff;
font-size: 0.9rem;
min-width: 0;
}
.mobile-search-inner input::placeholder {
color: rgba(255,255,255,0.45);
}
.mobile-search-inner button {
background: var(--color-primary);
border: none;
border-radius: 50%;
width: 26px;
height: 26px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
font-size: 0.9rem;
cursor: pointer;
flex-shrink: 0;
transition: background 0.2s, transform 0.2s;
}
.mobile-search-inner button:hover {
background: #c73540;
transform: scale(1.1);
}
@media (max-width: 767px) { .topbar {
padding: 0 !important;
min-height: 56px !important;
box-shadow: none !important;
} .topbar .container {
padding-left: 1rem !important;
padding-right: 1rem !important;
}
.topbar-content {
min-height: 56px;
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
width: 100% !important;
padding: 0 !important;
}
.site-logo a,
.topbar-logo a {
font-size: 1.2rem !important;
}
.site-logo img,
.topbar-logo img {
max-height: 28px !important;
} .mobile-menu-toggle {
width: 36px !important;
height: 36px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
flex-shrink: 0 !important;
} .dark-mode-toggle {
width: 36px !important;
height: 36px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
flex-shrink: 0 !important;
} .topbar-logo,
.site-logo {
position: absolute !important;
left: 50% !important;
transform: translateX(-50%) !important;
} .topbar-social {
display: none !important;
}   .mobile-menu-items {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
text-align: center !important; width: 100% !important;
max-width: 400px !important;
} .mobile-menu-items a {
display: block !important;
color: #fff !important;
visibility: visible !important;
opacity: 1 !important;
padding: 0.8rem 1.5rem !important; font-size: 0.95rem !important; transition: background-color 0.2s ease !important;
text-align: center !important; }
.mobile-menu-items a:hover,
.mobile-menu-items .current-menu-item a {
background-color: rgba(255, 255, 255, 0.1) !important; }
.mobile-menu-items li {
display: block !important;
visibility: visible !important;
opacity: 1 !important;
border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
} .mobile-menu-social {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
padding: 2rem 1.5rem 0 !important;
margin-top: 2rem !important;
border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.mobile-menu-social a {
display: flex !important;
visibility: visible !important;
opacity: 1 !important;
width: 44px !important;
height: 44px !important;
background: rgba(255, 255, 255, 0.1) !important; border-radius: 50% !important;
transition: background-color 0.2s ease !important;
}
.mobile-menu-social a:hover {
background-color: rgba(255, 255, 255, 0.2) !important; } .mobile-menu-overlay {
background-color: rgba(0, 0, 0, 0.6) !important;
transition: opacity 0.3s ease !important;
} body.dark-mode .social-share {
background: #1a1a1a !important;
border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
body.dark-mode .social-share-btn {
background-color: rgba(255, 255, 255, 0.1) !important;
color: #fff !important;
}
body.dark-mode .social-share-btn:hover {
background-color: rgba(232, 72, 85, 0.2) !important;
} .social-share {
border-top: 1px solid rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.95) !important;
}
body.dark-mode .social-share {
background: rgba(26, 26, 26, 0.95) !important;
backdrop-filter: blur(10px);
}  .mobile-menu-toggle {
transition: transform 0.3s ease !important;
}
.mobile-menu-toggle:active {
transform: scale(0.9) !important;
} .topbar.scrolled .topbar-logo {
transform: translateX(-50%) scale(0.9) !important;
transition: transform 0.3s ease !important;
}
} @media (min-width: 768px) and (max-width: 1024px) { .mobile-menu-toggle {
display: flex !important;
align-items: center;
justify-content: center;
background: none;
border: none;
padding: 0.5rem;
cursor: pointer;
z-index: 999999 !important; }
.topbar {
padding: 0 !important;
min-height: 70px !important;
} .topbar .container {
padding-left: 1.25rem !important;
padding-right: 1.25rem !important;
}
.topbar-content {
min-height: 70px;
display: flex !important;
align-items: center !important;
justify-content: space-between !important;
} .topbar-logo,
.site-logo {
position: absolute !important;
left: 50% !important;
transform: translateX(-50%) !important;
}
.site-logo a,
.topbar-logo a {
font-size: 1.4rem !important;
}
.site-logo img,
.topbar-logo img {
max-height: 32px !important;
} .hero-slider {
display: block !important;
position: relative;
width: 100%;
overflow: hidden;
margin-top: 1rem;
margin-bottom: 2rem;
background-color: #000;
border-radius: 8px;
}
.hero-slides {
display: flex;
transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
will-change: transform;
}
.hero-slide {
min-width: 100%;
position: relative;
}
.hero-slide-image {
position: relative;
width: 100%;
padding-bottom: 50% !important; padding-top: 0 !important;
overflow: hidden;
}
.hero-slide-image img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.hero-slide-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
padding: 2.5rem 2rem 2rem;
}
.hero-slide-category {
display: inline-block;
background-color: var(--color-primary); color: #fff;
padding: 5px 14px;
font-size: 0.8rem;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 0.8rem;
}
.hero-slide-title {
font-size: 1.75rem;
line-height: 1.3;
color: #fff;
font-weight: 800;
}
.hero-slide-title a {
color: #fff;
text-decoration: none;
} .hero-slider-dots {
display: flex;
justify-content: center;
gap: 8px;
padding: 1rem 0;
}
.hero-slider-dot {
width: 10px;
height: 10px;
border-radius: 50%;
background-color: rgba(0,0,0,0.2);
cursor: pointer;
border: none;
padding: 0;
}
.hero-slider-dot.active {
background-color: var(--color-primary); width: 24px;
border-radius: 5px;
} .mobile-latest-news,
.mobile-popular {
display: block !important;
} .main-header {
display: none !important;
} .mobile-menu-toggle {
padding: 0 !important;
margin-left: 0 !important;
}
.topbar-right {
padding-right: 0 !important;
} .mobile-menu-toggle {
display: flex !important;
background: none;
border: none;
cursor: pointer;
padding: 0.5rem;
z-index: 1001;
} .main-nav {
display: none !important;
} .mobile-menu {
display: flex !important; }
} @media (max-width: 767px) { .topbar,
.topbar::before,
.topbar::after {
background-image: none !important;
box-shadow: none !important;
} .main-header {
display: none !important;
} .mobile-menu-toggle {
padding: 0 !important;
margin-left: 0 !important;
}
.topbar-right {
padding-right: 0 !important;
} .single-post-layout {
padding-top: 1rem !important;
}
.article-header {
margin-top: 0 !important;
padding-top: 0 !important;
}
.article-title {
margin-top: 0 !important;
} .hero-slider {
margin-top: 1rem !important;
margin-bottom: 0 !important;
}
.home-page .container {
padding-top: 0 !important;
}
}