/* ==========================================================================
   Base, Layout & Content Styles
   Generations Outdoor Design
   ========================================================================== */

/*  Reset / box model  */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

/* ── Smooth scroll + sticky-header offset ────────────────────────────────── */
/*
 * scroll-behavior: smooth   — makes every anchor click animate instead of jump.
 * scroll-padding-top        — reserves space equal to the sticky header height
 *                             so the browser never scrolls a target behind it.
 *
 * --jewelrystudio-header-natural-h is injected onto :root by header.js and
 * updated on every resize, so this value is always current.
 * The "80px" fallback covers the brief window before header.js runs.
 *
 * Note: smooth-scroll.js overrides this for .block-anchor__link clicks with
 * a JS-calculated offset (headerH + SCROLL_GAP) for pixel-perfect accuracy.
 * All other hash links on the page are handled here by CSS alone.
 */
html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--jewelrystudio-header-natural-h, 80px);
}

/*
 * Honour the user's system preference — if they've enabled "Reduce Motion"
 * in their OS, scroll instantly rather than animating.
 */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

:root {
	/* Link */
	--link-hover-color: var(--wp--preset--color--primary);

	/* Banner */
	--jewelrystudio-banner-position: relative;
	--jewelrystudio-banner-display: flex;
	--jewelrystudio-banner-align-items: center;
	--jewelrystudio-banner-width: 100%;
	--jewelrystudio-banner-bg-size: cover;
	--jewelrystudio-banner-bg-position: center;
	--jewelrystudio-banner-bg-repeat: no-repeat;
	--jewelrystudio-banner-overflow: hidden;
	--jewelrystudio-banner-overlay-position: absolute;
	--jewelrystudio-banner-overlay-inset: 0;
	--jewelrystudio-banner-bg-overlay: rgba(0, 0, 0, 0.20);
	--jewelrystudio-banner-overlay-zi: 1;

	/* Banner heading — shared across all banner types */
	--jewelrystudio-banner-heading-font-weight:    800;
	--jewelrystudio-banner-heading-line-height:    1.15;
	--jewelrystudio-banner-heading-color:          var(--wp--preset--color--white);
	--jewelrystudio-banner-heading-text-transform: uppercase;

	/* Banner eyebrow / paragraph — shared across all banner types */
	--jewelrystudio-banner-eyebrow-font-weight:    600;
	--jewelrystudio-banner-eyebrow-text-transform: uppercase;
}

/*  Base / body  */
body {
	font-family: var(--wp--preset--font-family--zeitung), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
	font-size: 1rem;
	line-height: 2;
	color: var(--wp--preset--color--black);
}

hr {
	border-bottom: 1px solid var(--wp--preset--color--primary)
}

a {
	color: inherit;
	text-decoration: none;
	transition: all 0.2s ease;
}

p {
	margin-bottom: 1rem;
}

ul {
	padding-left: 1.8rem;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--wp--preset--font-family--pistara);
}

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

hr {
	border-left: 0;
    border-right: 0;
    border-top: 0;
}

.site-content {
	overflow: hidden;
}

.inline-block {
	display: inline-block
}

p .has-inline-color.has-primary-color {
	font-weight: 600;
}

.col-content-stretch {
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin: 0 !important;
}

.col-content-stretch>.wp-block-image, .col-content-stretch>.wp-block-image>img{
	height: 100%;
}

.ep_toggles_icon {
	font-size: 30px;
}

.eplusicon-plus1:before,
.eplusicon-minus1:before {
	color: transparent;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.eplusicon-plus1:before {
	background-image: url(../img/open-ac.svg);
}

.eplusicon-minus1:before {
	background-image: url(../img/close-ac.svg);
}

/*  Layout  */
.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-content {
	flex: 1;
}

.container {
	max-width: calc(var(--wp--style--global--content-size) + 40px);
	margin: 0 auto;
	padding: 0 20px;
}

/* Full-bleed escape: breaks out of .container to span the full viewport.
   Works because .container is centered — 50vw is half the viewport,
   50% is half the container, so the difference is the gap on each side.
   Triggered by the block's Full Width alignment (.alignfull) or the
   manual utility class (.full-width). */
.container .alignfull,
.container .full-width {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

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

.page .site-main {
	padding: 0;
}

/*  Entry  */
.entry-header {
	margin-bottom: 24px;
}

.entry-title {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.3;
}

/* Default justify for paragraph blocks — skipped when an explicit alignment
   class (.has-text-align-*) is present so editor overrides always win. */
.entry-content p:not([class*="has-text-align"]),
.wp-block-paragraph:not([class*="has-text-align"]) {
	text-align: justify;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 1.25rem;
}

.entry-content p a:hover {
	text-decoration: underline;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-bottom: 1rem
}

/*  Screen reader / accessibility  */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
}

.visually-hidden.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	word-wrap: normal;
}

.visually-hidden:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	overflow: visible;
	position: static;
	white-space: normal;
}

.visually-hidden:not(:focus) {
	padding: 0;
	margin: -1px;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* ── Text Box paragraph style ────────────────────────────────────────────── */
p.is-style-text-box {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 10px 15px;
	border: 1px solid #C2BFB6;
	background: var(--wp--preset--color--white);
	border-radius: 4px;
	font-weight: 600;
	margin-bottom: 0;
	line-height: 2;
	text-transform: uppercase;
}

.wp-block-map iframe {
	border: 1px solid var(--wp--preset--color--primary);
}