/*
Theme Name: Aubelle
Theme URI: https://aubelle.beauty
Description: Theme for Aubelle
Author: Your Bindanaku
Author URI: https://bindanaku.com
Template: Divi
Version: 1.1.0
*/

/* Headings */

h1.wp-block-heading,
h2.wp-block-heading,
h3.wp-block-heading,
h4.wp-block-heading,
h5.wp-block-heading,
h6.wp-block-heading { margin-bottom: 1.25rem; }

*+h1.wp-block-heading,
*+h2.wp-block-heading,
*+h3.wp-block-heading,
*+h4.wp-block-heading,
*+h5.wp-block-heading,
*+h6.wp-block-heading { margin-top: 1.25rem; }

.et_pb_post_content h1,
.et_pb_post_content h2,
.et_pb_post_content h3,
.et_pb_post_content h4,
.et_pb_post_content h5,
.et_pb_post_content h6 { margin-bottom: 1.5rem; }

.et_pb_post_content *+h1,
.et_pb_post_content *+h2,
.et_pb_post_content *+h3,
.et_pb_post_content *+h4,
.et_pb_post_content *+h5,
.et_pb_post_content *+h6 { margin-top: 1.5rem; }

/* Navigation */

#menu-main-navigation > li {
    margin-left: clamp(0.5rem, -1rem + 2.5vw, 1.5rem);
}

#menu-main-navigation > li:first-child {
    margin-left: 0;
}

#menu-main-navigation .sub-menu {
    padding: 0;
	width: auto;
}

#menu-main-navigation .sub-menu > li {
    padding: 0;
}

#menu-main-navigation .sub-menu > li a {
    padding: .8em 1.2em;
}

footer .et-menu .menu-item-has-children > a {
	padding-right: 0 !important;
}

footer .et-menu .menu-item-has-children .sub-menu,
footer .et-menu .menu-item-has-children > a::after {
	display: none;
}

/* Lists */

#left-area ol, .entry-content ol, .et-l--body ol, .et-l--footer ol, .et-l--header ol {
    line-height: inherit;
	list-style-position: outside;
	padding-left: 1.2em !important;
}

#left-area ul, .entry-content ul, .et-l--body ul, .et-l--footer ul, .et-l--header ul {
    line-height: inherit;
}

/* Links */

a { 
	transition: all .1s ease;
}

a:hover {
	color: var(--gcid-primary-color);
	filter: saturate(1.5);
}

/* Images */

img[title] { 
    pointer-events: none;	/* Hide image titles on hover */
}
