:root {
	--wgmp-brown: #5a3820;
	--wgmp-brown-dark: #382216;
	--wgmp-green: #8fbb3e;
	--wgmp-blue: #125ca6;
	--wgmp-ink: #211d1a;
	--wgmp-text: #554d47;
	--wgmp-line: #e5dfda;
	--wgmp-soft: #f5f2ef;
	--wgmp-white: #fff;
}

.wgmp-projects,
.wgmp-projects *,
.wgmp-single,
.wgmp-single *,
.wgmp-lightbox,
.wgmp-lightbox * { box-sizing: border-box; }

.wgmp-projects,
.wgmp-single,
.wgmp-lightbox { font-family: "Inter", Arial, sans-serif; }

.wgmp-projects { width: 100%; padding: 82px 0; color: var(--wgmp-text); background: var(--wgmp-soft); }
.wgmp-projects__inner,
.wgmp-single__wrap { width: min(100% - 40px, 1380px); margin: 0 auto; }
.wgmp-projects a,
.wgmp-single a { color: inherit; text-decoration: none; }
.wgmp-projects__header { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 60px; margin-bottom: 30px; }
.wgmp-projects__eyebrow,
.wgmp-single__eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--wgmp-blue); font-size: 12px; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.wgmp-projects__eyebrow::before,
.wgmp-single__eyebrow::before { content: ""; width: 38px; height: 3px; flex: 0 0 38px; background: var(--wgmp-green); }
.wgmp-projects__header h2 { margin: 0; color: var(--wgmp-ink); font-family: "Poppins", Arial, sans-serif; font-size: clamp(31px, 4vw, 52px); font-weight: 800; line-height: 1.08; letter-spacing: 0; }
.wgmp-projects__header > p { margin: 0; font-size: 14px; line-height: 1.75; }
.wgmp-projects__filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.wgmp-projects__filter { min-height: 40px; padding: 0 16px; color: var(--wgmp-brown); background: var(--wgmp-white); border: 1px solid var(--wgmp-line); font-size: 11px; font-weight: 700; cursor: pointer; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.wgmp-projects__filter:hover,
.wgmp-projects__filter:focus-visible,
.wgmp-projects__filter.is-active { color: var(--wgmp-white); background: var(--wgmp-brown); border-color: var(--wgmp-brown); }
.wgmp-projects__filter:disabled { opacity: .55; cursor: wait; }
.wgmp-projects__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; transition: opacity .2s ease; }
.wgmp-projects.is-loading .wgmp-projects__grid { opacity: .55; }
.wgmp-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--wgmp-white); border: 1px solid var(--wgmp-line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.wgmp-card:hover { border-color: rgba(143, 187, 62, .75); box-shadow: 0 17px 36px rgba(43, 29, 20, .12); transform: translateY(-5px); }
.wgmp-card__image { position: relative; height: 245px; display: block; overflow: hidden; background: #e8e3df; }
.wgmp-card__image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.wgmp-card:hover .wgmp-card__image img { transform: scale(1.04); }
.wgmp-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, .8); background: var(--wgmp-brown-dark); }
.wgmp-card__placeholder span { padding: 8px 10px; border: 1px solid rgba(255, 255, 255, .35); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.wgmp-card__category { position: absolute; left: 13px; bottom: 13px; padding: 8px 10px; color: var(--wgmp-brown-dark); background: var(--wgmp-green); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.wgmp-card__status { position: absolute; top: 13px; right: 13px; padding: 7px 9px; color: var(--wgmp-white); background: var(--wgmp-brown); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.wgmp-card__status--ongoing { color: var(--wgmp-brown-dark); background: #ffd76a; }
.wgmp-card__body { flex: 1; display: flex; flex-direction: column; padding: 23px 23px 22px; border-left: 4px solid var(--wgmp-green); }
.wgmp-card__body h3 { margin: 0 0 9px; color: var(--wgmp-brown); font-family: "Poppins", Arial, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.wgmp-card__body h3 a:hover,
.wgmp-card__body h3 a:focus-visible { color: var(--wgmp-blue); }
.wgmp-card__body > p { margin: 0 0 15px; font-size: 12px; line-height: 1.7; }
.wgmp-card__location { display: flex; align-items: flex-start; gap: 7px; margin-bottom: 18px; color: var(--wgmp-blue); font-size: 10px; font-weight: 700; line-height: 1.5; text-transform: uppercase; }
.wgmp-card__location svg { width: 14px; height: 14px; flex: 0 0 auto; fill: none; stroke: var(--wgmp-green); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wgmp-card__button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 0 16px; color: var(--wgmp-white)!important; background: var(--wgmp-brown); font-size: 11px; font-weight: 700; text-transform: uppercase; transition: background .25s ease, transform .25s ease; }
.wgmp-card__button:hover,
.wgmp-card__button:focus-visible { background: var(--wgmp-brown-dark); transform: translateY(-2px); }
.wgmp-card__button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wgmp-projects__actions { display: flex; justify-content: center; margin-top: 30px; }
.wgmp-projects__load-more { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 22px; color: var(--wgmp-white); background: var(--wgmp-brown); border: 1px solid var(--wgmp-brown); font-size: 12px; font-weight: 700; cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.wgmp-projects__load-more:hover,
.wgmp-projects__load-more:focus-visible { background: var(--wgmp-brown-dark); border-color: var(--wgmp-green); transform: translateY(-2px); }
.wgmp-projects__load-more:disabled { opacity: .62; cursor: wait; transform: none; }
.wgmp-projects__load-more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wgmp-projects__status { min-height: 18px; margin: 12px 0 0; color: var(--wgmp-text); font-size: 11px; text-align: center; }
.wgmp-projects__empty { grid-column: 1 / -1; padding: 45px 30px; background: var(--wgmp-white); border-left: 5px solid var(--wgmp-green); text-align: center; }
.wgmp-projects__empty h3 { margin: 0 0 7px; color: var(--wgmp-brown); font-family: "Poppins", Arial, sans-serif; font-size: 21px; }
.wgmp-projects__empty p { margin: 0; font-size: 13px; }

/* Single project */
.wgmp-single { color: var(--wgmp-text); background: var(--wgmp-white); }
.wgmp-single img { max-width: 100%; }
.wgmp-single__hero { position: relative; min-height: 580px; display: flex; align-items: center; background: linear-gradient(108deg, var(--wgmp-white) 0 57%, var(--wgmp-brown) 57% 100%); overflow: hidden; }
.wgmp-single__hero::after { content: ""; position: absolute; top: 55px; right: -60px; width: 220px; height: 220px; border: 14px solid rgba(143, 187, 62, .35); transform: rotate(17deg); }
.wgmp-single__hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; padding: 58px 0; }
.wgmp-single__breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 25px; color: var(--wgmp-text); font-size: 11px; font-weight: 600; }
.wgmp-single__breadcrumb a:hover { color: var(--wgmp-blue); }
.wgmp-single__title { margin: 0 0 17px; color: var(--wgmp-brown); font-family: "Poppins", Arial, sans-serif; font-size: clamp(38px, 5vw, 67px); font-weight: 800; line-height: 1.04; letter-spacing: 0; }
.wgmp-single__intro { margin: 0; font-size: 16px; line-height: 1.75; }
.wgmp-single__hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.wgmp-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 21px; color: var(--wgmp-white)!important; background: var(--wgmp-brown); border: 1px solid var(--wgmp-brown); font-size: 12px; font-weight: 700; transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.wgmp-button:hover,
.wgmp-button:focus-visible { background: var(--wgmp-brown-dark); border-color: var(--wgmp-green); transform: translateY(-2px); }
.wgmp-button--secondary { color: var(--wgmp-brown)!important; background: var(--wgmp-white); border-color: var(--wgmp-line); }
.wgmp-button--secondary:hover,
.wgmp-button--secondary:focus-visible { color: var(--wgmp-white)!important; background: var(--wgmp-blue); border-color: var(--wgmp-blue); }
.wgmp-button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wgmp-single__featured { position: relative; padding: 12px; background: var(--wgmp-white); box-shadow: 0 24px 55px rgba(40, 25, 16, .23); }
.wgmp-single__featured img { width: 100%; height: 410px; display: block; object-fit: cover; }
.wgmp-single__featured-placeholder { height: 410px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.8); background: var(--wgmp-brown-dark); font-weight: 700; }
.wgmp-single__featured-label { position: absolute; right: 30px; bottom: 30px; left: 30px; padding: 17px 19px; color: var(--wgmp-white); background: rgba(56, 34, 22, .92); border-left: 5px solid var(--wgmp-green); }
.wgmp-single__featured-label strong { display: block; font-family: "Poppins", Arial, sans-serif; font-size: 18px; }
.wgmp-single__content-section { padding: 82px 0; background: var(--wgmp-soft); }
.wgmp-single__content-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 65px; }
.wgmp-single__details { background: var(--wgmp-white); border-top: 5px solid var(--wgmp-green); box-shadow: 0 15px 35px rgba(43,29,20,.08); }
.wgmp-single__details h2 { margin: 0; padding: 24px 25px 18px; color: var(--wgmp-brown); font-family: "Poppins", Arial, sans-serif; font-size: 21px; }
.wgmp-single__detail { display: flex; justify-content: space-between; gap: 20px; padding: 15px 25px; border-top: 1px solid var(--wgmp-line); font-size: 12px; line-height: 1.55; }
.wgmp-single__detail strong { color: var(--wgmp-ink); }
.wgmp-single__detail span { text-align: right; }
.wgmp-single__content h2 { margin: 0 0 18px; color: var(--wgmp-brown); font-family: "Poppins", Arial, sans-serif; font-size: clamp(28px, 3.5vw, 42px); line-height: 1.15; }
.wgmp-single__content { font-size: 15px; line-height: 1.82; }
.wgmp-single__content > *:first-child { margin-top: 0; }
.wgmp-single__content img { height: auto; }
.wgmp-single__section { padding: 82px 0; }
.wgmp-single__section--dark { color: rgba(255,255,255,.8); background: var(--wgmp-brown-dark); }
.wgmp-single__section--soft { background: var(--wgmp-soft); }
.wgmp-single__section-header { display: grid; grid-template-columns: 1fr .72fr; align-items: end; gap: 60px; margin-bottom: 31px; }
.wgmp-single__section-header h2 { margin: 0; color: var(--wgmp-ink); font-family: "Poppins", Arial, sans-serif; font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.1; }
.wgmp-single__section-header p { margin: 0; font-size: 14px; line-height: 1.75; }
.wgmp-single__section--dark .wgmp-single__section-header h2 { color: var(--wgmp-white); }
.wgmp-gallery { display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-auto-rows: 225px; gap: 12px; }
.wgmp-gallery__item { position: relative; display: block; overflow: hidden; background: #e8e3df; }
.wgmp-gallery__item:first-child { grid-row: span 2; }
.wgmp-gallery__item img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .5s ease; }
.wgmp-gallery__item:hover img { transform: scale(1.04); }
.wgmp-gallery__zoom { position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--wgmp-white); background: rgba(56,34,22,.9); border-left: 4px solid var(--wgmp-green); }
.wgmp-gallery__zoom svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wgmp-before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wgmp-before-after figure { position: relative; min-width: 0; margin: 0; padding: 10px; background: var(--wgmp-white); }
.wgmp-before-after img { width: 100%; height: 420px; display: block; object-fit: cover; }
.wgmp-before-after figcaption { position: absolute; left: 24px; bottom: 24px; padding: 9px 13px; color: var(--wgmp-brown-dark); background: var(--wgmp-green); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.wgmp-video { max-width: 980px; margin: 0 auto; }
.wgmp-video iframe,
.wgmp-video video { width: 100%; aspect-ratio: 16 / 9; display: block; background: #000; border: 0; }
.wgmp-single__related .wgmp-projects__grid { margin-top: 30px; }
.wgmp-single__cta { padding: 58px 0; color: var(--wgmp-white); background: var(--wgmp-brown); border-bottom: 5px solid var(--wgmp-green); }
.wgmp-single__cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.wgmp-single__cta h2 { margin: 0 0 8px; color: var(--wgmp-white); font-family: "Poppins", Arial, sans-serif; font-size: clamp(27px,3.5vw,43px); font-weight: 800; line-height: 1.15; }
.wgmp-single__cta p { margin: 0; color: rgba(255,255,255,.8); font-size: 14px; }

/* Lightbox */
.wgmp-lightbox { position: fixed; inset: 0; z-index: 999999; display: none; align-items: center; justify-content: center; padding: 70px; color: #fff; background: rgba(16, 10, 7, .96); }
.wgmp-lightbox.is-open { display: flex; }
.wgmp-lightbox__image { max-width: min(1200px, 88vw); max-height: 82vh; display: block; object-fit: contain; }
.wgmp-lightbox__close,
.wgmp-lightbox__nav { position: absolute; display: flex; align-items: center; justify-content: center; padding: 0; color: #fff; background: rgba(90,56,32,.9); border: 1px solid rgba(255,255,255,.3); cursor: pointer; }
.wgmp-lightbox__close { top: 18px; right: 18px; width: 44px; height: 44px; font-size: 28px; }
.wgmp-lightbox__nav { top: 50%; width: 48px; height: 55px; transform: translateY(-50%); }
.wgmp-lightbox__nav--prev { left: 18px; }
.wgmp-lightbox__nav--next { right: 18px; }
.wgmp-lightbox__nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wgmp-lightbox__caption { position: absolute; right: 80px; bottom: 18px; left: 80px; margin: 0; color: rgba(255,255,255,.82); font-size: 12px; text-align: center; }
body.wgmp-lightbox-open { overflow: hidden; }

.wgmp-projects :focus-visible,
.wgmp-single :focus-visible,
.wgmp-lightbox :focus-visible { outline: 3px solid rgba(143,187,62,.72); outline-offset: 3px; }

@media (max-width: 1024px) {
	.wgmp-projects__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.wgmp-single__hero { background: linear-gradient(112deg, var(--wgmp-white) 0 52%, var(--wgmp-brown) 52% 100%); }
	.wgmp-single__hero-grid { gap: 38px; }
	.wgmp-single__content-grid { gap: 38px; }
}

@media (max-width: 800px) {
	.wgmp-projects__header,
	.wgmp-single__section-header,
	.wgmp-single__hero-grid,
	.wgmp-single__content-grid { grid-template-columns: 1fr; }
	.wgmp-projects__header,
	.wgmp-single__section-header { gap: 12px; }
	.wgmp-single__hero { background: var(--wgmp-white); }
	.wgmp-single__hero-grid { padding: 48px 0 64px; }
	.wgmp-single__featured { width: min(100%,720px); }
	.wgmp-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 230px; }
	.wgmp-gallery__item:first-child { grid-column: 1 / 3; grid-row: auto; height: 340px; }
	.wgmp-single__cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
	.wgmp-projects { padding: 64px 0; }
	.wgmp-projects__inner,
	.wgmp-single__wrap { width: min(100% - 28px,1380px); }
	.wgmp-projects__filters { display: grid; grid-template-columns: 1fr 1fr; }
	.wgmp-projects__grid { grid-template-columns: 1fr; }
	.wgmp-card__image { height: 235px; }
	.wgmp-single__title { font-size: 38px; }
	.wgmp-single__featured img,
	.wgmp-single__featured-placeholder { height: 330px; }
	.wgmp-single__featured-label { right: 21px; bottom: 21px; left: 21px; }
	.wgmp-single__hero-actions { display: grid; grid-template-columns: 1fr; }
	.wgmp-single__content-section,
	.wgmp-single__section { padding: 64px 0; }
	.wgmp-gallery { grid-template-columns: 1fr; grid-auto-rows: 245px; }
	.wgmp-gallery__item:first-child { grid-column: auto; height: 245px; }
	.wgmp-before-after { grid-template-columns: 1fr; }
	.wgmp-before-after img { height: 320px; }
	.wgmp-single__cta .wgmp-button { width: 100%; }
	.wgmp-lightbox { padding: 58px 12px; }
	.wgmp-lightbox__image { max-width: 100%; max-height: 76vh; }
	.wgmp-lightbox__nav { top: auto; bottom: 16px; }
	.wgmp-lightbox__nav--prev { left: 16px; }
	.wgmp-lightbox__nav--next { right: 16px; }
	.wgmp-lightbox__caption { right: 70px; bottom: 30px; left: 70px; }
}

@media (prefers-reduced-motion: reduce) {
	.wgmp-projects *, .wgmp-projects *::before, .wgmp-projects *::after,
	.wgmp-single *, .wgmp-single *::before, .wgmp-single *::after,
	.wgmp-lightbox *, .wgmp-lightbox *::before, .wgmp-lightbox *::after { animation-duration: .01ms!important; transition-duration: .01ms!important; }
}
