220 lines
7.1 KiB
CSS
220 lines
7.1 KiB
CSS
/*
|
|
Theme Name: Logico Child
|
|
Description: Logico Child Theme
|
|
Theme URI: https://demo.artureanec.com/themes/logico
|
|
Author: Artureanec
|
|
Author URI: https://demo.artureanec.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 HEADER REFINEMENT (< 1200px)
|
|
Matches reference pill-shaped design
|
|
============================================================ */
|
|
|
|
@media (max-width: 1200px) {
|
|
|
|
/* Logo toggling */
|
|
.logo-desktop {
|
|
display: none !important;
|
|
}
|
|
|
|
.logo-mobile {
|
|
display: block !important;
|
|
}
|
|
|
|
/* 1. Header Wrapper (Outer): Position & Spacing
|
|
Creates the floating card effect with horizontal margins
|
|
*/
|
|
.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;
|
|
/* Screen margin left */
|
|
padding-right: 20px !important;
|
|
/* Screen margin right */
|
|
height: auto !important;
|
|
z-index: 10000 !important;
|
|
background: transparent !important;
|
|
pointer-events: none;
|
|
/* Let clicks pass through padding zones */
|
|
}
|
|
|
|
/* 2. The Header Box / Card (Inner)
|
|
Aggressive border-radius and white background
|
|
*/
|
|
.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;
|
|
/* Aggressive radius (pill look) */
|
|
overflow: hidden !important;
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
|
|
pointer-events: all;
|
|
/* Re-enable clicks */
|
|
display: flex !important;
|
|
flex-direction: column !important;
|
|
}
|
|
|
|
/* 3. Main Row Layout Container
|
|
Strict single row, vertically centered
|
|
*/
|
|
.elementor-5180 .elementor-element.elementor-element-d681ece {
|
|
display: flex !important;
|
|
flex-direction: row !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
/* Perfect vertical centering */
|
|
justify-content: space-between !important;
|
|
width: 100% !important;
|
|
padding: 12px 25px !important;
|
|
/* Slightly increased padding */
|
|
min-height: 70px !important;
|
|
/* Increased height for larger logo */
|
|
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;
|
|
/* Remove any theme-set margins */
|
|
max-width: none !important;
|
|
}
|
|
|
|
.elementor-5180 .elementor-element.elementor-element-846e53d .logo-mobile {
|
|
width: 200px !important;
|
|
/* Extremely clear and visible size */
|
|
height: auto !important;
|
|
min-width: 200px !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 size boost */
|
|
.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;
|
|
/* Slightly thicker for visibility */
|
|
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;
|
|
}
|
|
}
|
|
|
|
/* Small Device Optimization */
|
|
@media (max-width: 480px) {
|
|
.elementor-5180 .elementor-element.elementor-element-466de1b {
|
|
top: 15px !important;
|
|
padding-left: 15px !important;
|
|
padding-right: 15px !important;
|
|
}
|
|
|
|
.elementor-5180 .elementor-element.elementor-element-d681ece {
|
|
padding: 6px 20px !important;
|
|
}
|
|
|
|
.elementor-5180 .elementor-element.elementor-element-846e53d .logo-mobile {
|
|
width: 190px !important;
|
|
}
|
|
}
|
|
|
|
/* ============================================================
|
|
HOME SECTION IMAGE RESPONSIVENESS (wp-image-4481)
|
|
============================================================ */
|
|
|
|
/* Fix for Tablet and Mobile */
|
|
@media (max-width: 1024px) {
|
|
.elementor-element.elementor-element-99768ba .elementor-widget-container img.wp-image-4481 {
|
|
width: 100% !important;
|
|
max-width: 450px !important;
|
|
/* Prevent oversized/zoomed appearance on tablets */
|
|
height: auto !important;
|
|
aspect-ratio: auto !important;
|
|
/* Maintain original proportions */
|
|
object-fit: contain !important;
|
|
/* Ensure no cropping of important content */
|
|
margin: 0 auto !important;
|
|
/* Centering */
|
|
display: block !important;
|
|
padding-bottom: 0px !important;
|
|
/* Spacing below the image */
|
|
}
|
|
|
|
/* Ensure parent container centers the image */
|
|
.elementor-element.elementor-element-99768ba {
|
|
text-align: center !important;
|
|
}
|
|
}
|
|
|
|
/* Specific scaling for small mobile phones */
|
|
@media (max-width: 767px) {
|
|
.elementor-element.elementor-element-99768ba .elementor-widget-container img.wp-image-4481 {
|
|
max-width: 90% !important;
|
|
/* Reduce scale on small screens */
|
|
margin: 0 auto !important;
|
|
border-radius: 18px !important;
|
|
/* Consistent rounded edges */
|
|
}
|
|
} |