/* Bellora base layout styles — Global Colors/Fonts come from CSS custom properties set in inc/global-styles.php */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	line-height: 1.6;
}

img {
	max-width: 100%;
	height: auto;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header */
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 20px;
	border-bottom: 1px solid var(--bellora-color-border);
}

.site-title {
	font-size: 1.5rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--bellora-color-heading);
}

.primary-menu {
	display: flex;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu a {
	text-decoration: none;
	font-weight: 500;
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--bellora-color-border);
	margin-top: 60px;
}

.site-footer__inner {
	padding: 40px 20px;
	text-align: center;
}

.footer-menu {
	display: flex;
	justify-content: center;
	gap: 20px;
	list-style: none;
	margin: 16px 0;
	padding: 0;
}

.footer-menu a {
	text-decoration: none;
}

.site-footer__copyright {
	font-size: 0.875rem;
	opacity: 0.7;
	margin-top: 16px;
}

/* Content */
.site-main {
	padding: 40px 0;
}

.post-card {
	margin-bottom: 40px;
}

.post-card__thumb img {
	border-radius: 8px;
	margin-bottom: 16px;
}

.post-card__title a {
	text-decoration: none;
}

.button {
	display: inline-block;
	padding: 10px 24px;
	background: var(--bellora-color-primary);
	color: #fff;
	border-radius: 6px;
	text-decoration: none;
}

/* Single portfolio project */

.bellora-project__cover {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	max-height: 88vh;
}

.bellora-project__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bellora-project__header {
	max-width: var(--bellora-layout-container);
	margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
	padding-inline: var(--bellora-layout-container-pad);
	text-align: center;
}

.bellora-project__label {
	margin: 0 0 1rem;
	font-family: var(--bellora-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--bellora-color-heading-soft);
}

.bellora-project__title {
	margin: 0;
	font-family: var(--bellora-font-display);
	font-size: clamp(2.6rem, 6.5vw, 6rem);
	font-weight: 300;
	line-height: 1.02;
	letter-spacing: -0.015em;
	color: var(--bellora-color-heading);
}

.bellora-project__meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: clamp(2rem, 5vw, 4rem);
	max-width: var(--bellora-layout-container);
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	padding: clamp(1.5rem, 3vw, 2rem) var(--bellora-layout-container-pad);
	border-top: var(--vsp-hairline);
	border-bottom: var(--vsp-hairline);
	text-align: center;
}

.bellora-project__meta-item {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.bellora-project__meta-label {
	font-family: var(--bellora-font-ui);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--bellora-color-text-muted);
}

.bellora-project__meta-value {
	font-family: var(--bellora-font-ui);
	font-size: var(--bellora-size-base);
}

.bellora-project__story {
	max-width: var(--vsp-max-text);
	margin: clamp(3rem, 6vw, 5rem) auto;
	padding-inline: var(--bellora-layout-container-pad);
	font-size: var(--bellora-size-base);
	line-height: var(--bellora-leading-relaxed);
}

.bellora-project__story p {
	margin: 0 0 1.5em;
}

.bellora-project__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	max-width: var(--bellora-layout-container-wide);
	margin: 0 auto clamp(3rem, 6vw, 5rem);
	padding-inline: var(--bellora-layout-container-pad);
}

.bellora-project__gallery-item {
	margin: 0;
	overflow: hidden;
}

.bellora-project__gallery-item--wide {
	grid-column: span 2;
}

.bellora-project__gallery-item img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.bellora-project__next {
	display: block;
	padding: clamp(3rem, 8vw, 6rem) var(--bellora-layout-container-pad);
	text-align: center;
	text-decoration: none;
	background: var(--bellora-color-surface-cream);
}

.bellora-project__next-label {
	display: block;
	margin-bottom: 1rem;
	font-family: var(--bellora-font-ui);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--bellora-color-heading-soft);
}

.bellora-project__next-title {
	display: block;
	font-family: var(--bellora-font-display);
	font-size: clamp(2rem, 4.4vw, 4rem);
	font-weight: 300;
	color: var(--bellora-color-heading);
}

@media (max-width: 767px) {
	.bellora-project__gallery {
		grid-template-columns: 1fr;
	}

	.bellora-project__gallery-item--wide {
		grid-column: span 1;
	}
}
