201 lines
6.3 KiB
CSS
201 lines
6.3 KiB
CSS
/*
|
|
Theme Name: Logico Child
|
|
Description: Logico Child Theme
|
|
Theme URI: https://example.com/themes/logico
|
|
Author: Artureanec
|
|
Author URI: https://example.com
|
|
Template: logico
|
|
Version: 1.0.0
|
|
License: GNU General Public License version 3.0
|
|
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
|
Text Domain: logico-child
|
|
*/
|
|
|
|
/* =Theme customization starts here
|
|
------------------------------------------------------- */
|
|
|
|
/* Hide mobile-specific logo by default */
|
|
.logo-mobile {
|
|
display: none !important;
|
|
}
|
|
|
|
/* ============================================================
|
|
MOBILE & TABLET HEADER REFINEMENT (< 1024px)
|
|
Transition to mobile pill-shape earlier to prevent desktop overlap/wrapping
|
|
============================================================ */
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
/* Logo toggling */
|
|
.logo-desktop {
|
|
display: none !important;
|
|
}
|
|
|
|
.logo-mobile {
|
|
display: block !important;
|
|
}
|
|
|
|
/* 1. Header Wrapper (Outer): Position & Spacing */
|
|
.elementor-5180 .elementor-element.elementor-element-466de1b {
|
|
position: fixed !important;
|
|
top: 30px !important;
|
|
left: 0 !important;
|
|
right: 0 !important;
|
|
width: 100% !important;
|
|
padding-left: 20px !important;
|
|
padding-right: 20px !important;
|
|
height: auto !important;
|
|
z-index: 10000 !important;
|
|
background: transparent !important;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* 2. The Header Box / Card (Inner) */
|
|
.elementor-5180 .elementor-element.elementor-element-e052838 {
|
|
margin: 0 10px auto !important;
|
|
width: 100% !important;
|
|
max-width: 100% !important;
|
|
background-color: #ffffff !important;
|
|
border-radius: 25px !important;
|
|
overflow: hidden !important;
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
|
|
pointer-events: all;
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
}
|
|
|
|
/* 3. Main Row Layout Container */
|
|
.elementor-5180 .elementor-element.elementor-element-d681ece {
|
|
display: flex !important;
|
|
flex-direction: row !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
width: 100% !important;
|
|
padding: 12px 25px !important;
|
|
min-height: 70px !important;
|
|
box-sizing: border-box !important;
|
|
gap: 0 !important;
|
|
}
|
|
|
|
/* 4. Logo Container (Left) */
|
|
.elementor-5180 .elementor-element.elementor-element-472172e {
|
|
flex: 1 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: flex-start !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* 5. Menu Container (Right / Hamburger) */
|
|
.elementor-5180 .elementor-element.elementor-element-e44ee7e {
|
|
flex: 0 0 auto !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: flex-end !important;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* 6. Logo Widget Adjustments */
|
|
.elementor-5180 .elementor-element.elementor-element-846e53d {
|
|
width: auto !important;
|
|
margin: 0 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
max-width: none !important;
|
|
}
|
|
|
|
.elementor-5180 .elementor-element.elementor-element-846e53d .hfe-site-logo .hfe-site-logo-container img {
|
|
margin: 0 !important;
|
|
max-width: none !important;
|
|
}
|
|
|
|
.elementor-5180 .elementor-element.elementor-element-846e53d .logo-mobile {
|
|
width: 180px !important;
|
|
height: auto !important;
|
|
min-width: 100px !important;
|
|
}
|
|
|
|
/* 7. Menu Trigger (Hamburger) alignment */
|
|
.elementor-5180 .elementor-element.elementor-element-0b7bf6f .menu-trigger {
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: flex-end !important;
|
|
padding: 5px !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
/* Hamburger icon customization */
|
|
.elementor-5180 .elementor-element.elementor-element-0b7bf6f .hamburger {
|
|
width: 30px !important;
|
|
}
|
|
|
|
.elementor-5180 .elementor-element.elementor-element-0b7bf6f .hamburger span {
|
|
background-color: #1f1f1f !important;
|
|
height: 2px !important;
|
|
margin-bottom: 5px !important;
|
|
}
|
|
|
|
/* Hide desktop-only elements */
|
|
.elementor-5180 .elementor-element.elementor-element-0b7bf6f .header-menu-container,
|
|
.elementor-5180 .elementor-element.elementor-element-2f31137,
|
|
.elementor-5180 .elementor-element.elementor-element-f961133 {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
MEDIUM DESKTOP OPTIMIZATION (1025px - 1480px)
|
|
Prevents logo/menu overlap on medium screens
|
|
============================================================ */
|
|
@media (min-width: 1025px) and (max-width: 1480px) {
|
|
/* Reduce logo size slightly */
|
|
.elementor-5180 .elementor-element.elementor-element-846e53d .logo-desktop {
|
|
width: 130px !important;
|
|
height: auto !important;
|
|
}
|
|
|
|
/* Force single line and tighten spacing */
|
|
.elementor-5180 .main-menu {
|
|
display: flex !important;
|
|
flex-wrap: nowrap !important;
|
|
white-space: nowrap !important;
|
|
}
|
|
|
|
.elementor-5180 .main-menu > li > a {
|
|
padding-left: 8px !important;
|
|
padding-right: 8px !important;
|
|
font-size: 13px !important;
|
|
}
|
|
|
|
/* Reduce container spacing */
|
|
.elementor-5180 .elementor-element.elementor-element-d681ece {
|
|
padding-left: 15px !important;
|
|
padding-right: 15px !important;
|
|
gap: 10px !important;
|
|
}
|
|
|
|
/* Ensure the menu pill container stays compact */
|
|
.header-menu-container {
|
|
padding-left: 8px !important;
|
|
padding-right: 8px !important;
|
|
max-width: 750px !important;
|
|
}
|
|
|
|
/* Scale down the CTA button */
|
|
.elementor-5180 .logico-small-button {
|
|
padding: 10px 20px !important;
|
|
font-size: 13px !important;
|
|
}
|
|
}
|
|
|
|
/* Tablet Scaling (768px - 1024px) */
|
|
@media (max-width: 1024px) and (min-width: 768px) {
|
|
.elementor-5180 .elementor-element.elementor-element-846e53d .logo-mobile {
|
|
width: 210px !important;
|
|
}
|
|
}
|
|
|