/* 
Theme Name:		 bambalska
Theme URI:		 https://noucoders.com/
Description:	 Personal website for Anna Bambalska
Author:			 NouCoders
Author URI:		 https://noucoders.com/
Template:		 bricks
Version:		 1.0.0
Text Domain:	 bambalska
*/


/* Basics */
button, input, optgroup, select, textarea {
    line-height: inherit;
}

.brxe-icon-box a,
.brxe-list a {
    border: none;
}

#brx-content.page > h1:first-child {
	display: none;
}

/* Icon boxes */
body {
    word-break: break-word;
}

.highlighted--shadow {
	position: relative;
}
.highlighted--shadow:after {
	content: '';
    display: block;
    position: absolute;
    top: 100%;
    left: 5%;
    width: 90%;
    height: 20px;
    background: var(--bricks-color-wauhqy);
}


/* Lists */
.list--styled ul {
    margin-left: 0;
    padding: 0;
    list-style: none;
}
.list--styled ul li {
    position: relative;
    padding-left: 22px;
    margin: 0 0 5px;
}
.list--styled ul li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    margin-right: 12px;
    width: 9px;
    height: 9px;
    display: inline-block;
    border-radius: 100%;
    background: var(--bricks-color-clmuqm);
}
.list--styled ul li:hover::before {
    background: var(--bricks-color-cxfaja);
}

# Gallery
body .wp-block-gallery picture {
    object-fit: cover;
    height: 100% !important;
    width: 100%;
}

/* Breadcrumbs */
.rank-math-breadcrumb p {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.rank-math-breadcrumb a {
    border: none;
}
.brxe-breadcrumbs .item:last-child {
    display: inline;
    max-width: 18em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cky-revisit-bottom-left {
    bottom: 60px !important;
}

/* Gallery - Mobile fixes */
@media only screen and (max-width: 768px) {
	body .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
		width: calc(100% - var(--wp--style--unstable-gallery-gap, 16px) / 2);
	}
}

/* RankMath FAQ */
#rank-math-faq .rank-math-list-item {
    padding: 1em;
    margin: 0 0 20px;
/*     background: var(--bricks-color-nnqdct); */
	border: 1px solid var(--bricks-color-wauhqy);
}

#rank-math-faq .rank-math-answer {
	overflow: hidden;
    max-height: 0px;
	margin-top: 0;
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

#rank-math-faq .rank-math-question {
	position: relative;
	padding-left: 25px;
	font-size: 21px;
	margin: 0;
	cursor: pointer;
}

#rank-math-faq .rank-math-question:before {
    content: '+';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
	-webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    transition: all .3s ease;
}

#rank-math-faq .rank-math-question.open:before {
	transform: rotate(45deg);
}
