/*
Theme Name:   Hello Elementor Child
Theme URI:    https://sisini.org
Description:  Child theme for Sisi Ni. Custom CSS and template overrides live here so they survive Hello Elementor updates.
Author:       Sisi Ni
Template:     hello-elementor
Version:      1.0.1
Text Domain:  hello-elementor-child
*/

/* Custom CSS for Sisi Ni goes below this line. */
/* ---------------------------------------------------------------
   Header brand lockup: logo mark sitting beside the "Sisi Ni" wordmark.
   The two are separate Elementor widgets, so the column is laid out
   as a row rather than the default stack.
   --------------------------------------------------------------- */
.sisini-brand > .elementor-widget-wrap,
.sisini-brand > .elementor-column-wrap > .elementor-widget-wrap {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.sisini-brand > .elementor-widget-wrap > .elementor-element,
.sisini-brand > .elementor-column-wrap > .elementor-widget-wrap > .elementor-element {
	width: auto;
	margin-bottom: 0;
}

.sisini-brand .sisini-mark img,
.sisini-brand .sisini-mark .elementor-widget-container img {
	height: 42px !important;
	width: auto !important;
	max-width: none !important;
	display: block;
}

.sisini-brand .sisini-wordmark .elementor-heading-title {
	margin: 0;
	line-height: 1;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.sisini-brand .sisini-mark img,
	.sisini-brand .sisini-mark .elementor-widget-container img {
		height: 34px !important;
	}
}
/* Balance the brand against the "Give Now" button on the opposite edge. */
.sisini-brand > .elementor-widget-wrap,
.sisini-brand > .elementor-column-wrap > .elementor-widget-wrap {
	padding-left: 12px;
}

@media (max-width: 767px) {
	.sisini-brand > .elementor-widget-wrap,
	.sisini-brand > .elementor-column-wrap > .elementor-widget-wrap {
		padding-left: 0;
		gap: 8px;
	}
}
/* ---------------------------------------------------------------
   Stories: constrain the measure so long first-person accounts are
   comfortable to read, and give them room to breathe.
   --------------------------------------------------------------- */
body.single-story .site-main,
body.post-type-archive-story .site-main {
	max-width: 780px;
	margin: 0 auto;
	padding: 56px 20px 72px;
}

body.single-story .site-main .entry-title {
	margin-bottom: 8px;
}

body.single-story .site-main p {
	line-height: 1.75;
	margin-bottom: 1.35em;
}

@media (max-width: 767px) {
	body.single-story .site-main,
	body.post-type-archive-story .site-main {
		padding: 32px 18px 48px;
	}
}
/* ---------------------------------------------------------------
   Artwork gallery: the pieces are photographed at wildly different
   shapes, so the tiles are made a uniform height and the image is
   cropped to fill. The full artwork is still visible in the lightbox.
   --------------------------------------------------------------- */
.sisini-art-gallery .gallery-item img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

.sisini-art-gallery .gallery-item {
	vertical-align: top;
}

.sisini-art-gallery .gallery-caption {
	margin-top: 8px;
	font-size: 13px;
	font-style: italic;
	text-align: center;
}

@media (max-width: 767px) {
	.sisini-art-gallery .gallery-item img {
		height: 240px;
	}
}
