/*
 Theme Name:   Divi Child
 Theme URI:    https://emma-escort.com
 Description:  Divi Child Theme for Emma Escort
 Author:       Emma Escort Team
 Author URI:   https://emma-escort.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  divi-child
*/

/* Custom styles for Emma Escort website */


/* ULTRA-AGGRESSIVE: Force logo size on city pages to match homepage */
body.page-id-265 #logo,
body.page-id-266 #logo,
body.page-id-267 #logo,
body.page-id-265 #logo img,
body.page-id-266 #logo img,
body.page-id-267 #logo img {
    max-height: 100% !important;
    height: 73px !important;
    width: auto !important;
}

body.page-id-265 .logo_container,
body.page-id-266 .logo_container,
body.page-id-267 .logo_container {
    height: 84px !important;
    min-height: 84px !important;
}

body.page-id-265 #main-header,
body.page-id-266 #main-header,
body.page-id-267 #main-header {
    height: auto !important;
}

/* Do not force extra top padding in nav to avoid whitespace */
body.page-id-265 #et-top-navigation,
body.page-id-266 #et-top-navigation,
body.page-id-267 #et-top-navigation {
    padding-top: 0 !important;
}

/* Override ANY inline styles on logo */
body.page-id-265 #logo[style],
body.page-id-266 #logo[style],
body.page-id-267 #logo[style] {
    height: 73px !important;
    max-height: 100% !important;
}

body.page-id-265 #logo img[style],
body.page-id-266 #logo img[style],
body.page-id-267 #logo img[style] {
    height: 73px !important;
    max-height: 100% !important;
}

/* Hide ONLY WordPress footer widgets on city pages (keep Divi custom footer) */
body.page-id-265 #footer-widgets,
body.page-id-265 #footer-widgets *,
body.page-id-266 #footer-widgets,
body.page-id-266 #footer-widgets *,
body.page-id-267 #footer-widgets,
body.page-id-267 #footer-widgets * {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
}

/* Keep Divi custom footer sections visible */
body.page-id-265 .et_pb_section,
body.page-id-266 .et_pb_section,
body.page-id-267 .et_pb_section {
    display: block !important;
    visibility: visible !important;
}
