/*
Theme Name: Park Royal Glass
Theme URI: https://parkroyalglass.co.uk/
Author: Park Royal Glass
Description: A luxury, burgundy-branded theme for Park Royal Glass.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 8.2
Text Domain: park-royal-glass
*/

:root {
	--prg-wine: #742d3c;
	--prg-wine-dark: #4a1925;
	--prg-ink: #202124;
	--prg-muted: #66666a;
	--prg-paper: #faf8f6;
	--prg-white: #fff;
	--prg-line: #e8e3df;
	--prg-width: 1160px;
	--prg-radius: 5px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--prg-white);
	color: var(--prg-ink);
	font-family: "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}
a { color: var(--prg-wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--prg-wine-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid #c48693; outline-offset: 3px; }
.prg-container { width: min(var(--prg-width), calc(100% - 48px)); margin-inline: auto; }
/* WordPress adds a legacy inner wrapper to group blocks on themes without theme.json;
   flatten it so flex/grid group layouts keep their intended children. */
.prg-button-row > .wp-block-group__inner-container,
.prg-callout > .wp-block-group__inner-container,
.prg-split > .wp-block-group__inner-container,
.prg-contact-layout > .wp-block-group__inner-container,
.prg-editorial-sections > .wp-block-group__inner-container { display: contents; }
.prg-skip-link {
	position: absolute; z-index: 20; top: 8px; left: 8px; padding: 10px 14px;
	transform: translateY(-160%); background: var(--prg-white); color: var(--prg-ink);
}
.prg-skip-link:focus { transform: translateY(0); }

.prg-header { position: relative; z-index: 5; background: var(--prg-white); border-bottom: 1px solid var(--prg-line); }
.prg-header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.prg-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--prg-ink); text-decoration: none; }
.prg-brand__mark {
	display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--prg-wine);
	color: var(--prg-wine); font-family: Georgia, serif; font-size: 24px; line-height: 1;
}
.prg-brand__words { display: grid; line-height: 1.15; }
.prg-brand__name { font-family: Georgia, "Times New Roman", serif; font-size: 19px; font-weight: 700; letter-spacing: -.03em; }
.prg-brand__tag { margin-top: 5px; color: var(--prg-muted); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.custom-logo-link img { max-height: 54px; width: auto; }
.prg-header__tools { display: flex; align-items: center; gap: 28px; }
.prg-menu { display: flex; align-items: center; gap: 25px; margin: 0; padding: 0; list-style: none; }
.prg-menu a { color: var(--prg-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.prg-menu a:hover, .prg-menu .current-menu-item > a { color: var(--prg-wine); }
.prg-menu-toggle { display: none; }
.prg-button, .wp-block-button__link {
	display: inline-flex; min-height: 48px; align-items: center; justify-content: center;
	padding: 11px 22px; border: 1px solid var(--prg-wine); border-radius: var(--prg-radius);
	background: var(--prg-wine); color: var(--prg-white); font-size: 14px; font-weight: 700;
	text-decoration: none; transition: background .18s ease, transform .18s ease;
}
.prg-button:hover, .wp-block-button__link:hover { transform: translateY(-1px); background: var(--prg-wine-dark); color: var(--prg-white); }
.prg-button--outline { background: transparent; color: var(--prg-wine); }
.prg-button--outline:hover { background: var(--prg-wine); color: var(--prg-white); }

.prg-main { min-height: 55vh; }
.prg-hero {
	position: relative; display: grid; min-height: 590px; align-items: center; overflow: hidden;
	background: #f0eeeb;
}
.prg-hero::before { position: absolute; inset: 0 0 0 48%; content: ""; background: linear-gradient(90deg, #f0eeeb 0%, rgba(240,238,235,.7) 26%, transparent 62%), var(--prg-hero-image, url("assets/images/hero.jpg")) center 48% / cover no-repeat; }
.prg-hero__inner { position: relative; z-index: 1; width: min(var(--prg-width), calc(100% - 48px)); margin-inline: auto; }
.prg-hero__copy { width: min(570px, 55%); padding-block: 85px; }
.prg-eyebrow { margin: 0 0 17px; color: var(--prg-wine); font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.prg-hero h1, .prg-page-title { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 5.2vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.prg-hero__copy p:not(.prg-eyebrow) { max-width: 480px; margin: 24px 0 30px; color: #55545a; font-size: 18px; }
.prg-button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.prg-proof { display: flex; align-items: center; gap: 13px; margin-top: 42px; color: var(--prg-muted); font-size: 13px; }
.prg-proof::before { width: 34px; height: 1px; background: var(--prg-wine); content: ""; }

.prg-section { padding-block: 88px; }
.prg-section--soft { background: var(--prg-paper); }
.prg-section--dark { background: var(--prg-ink); color: var(--prg-white); }
.prg-section__head { max-width: 680px; margin-bottom: 38px; }
.prg-section h2, .prg-prose h2 { margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 3.5vw, 46px); font-weight: 500; letter-spacing: -.035em; line-height: 1.18; }
.prg-section__head p, .prg-prose > p { color: var(--prg-muted); }
.prg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.prg-card { overflow: hidden; border: 1px solid var(--prg-line); background: var(--prg-white); }
.prg-card img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.prg-card__body { padding: 25px; }
.prg-card h3 { margin: 0 0 10px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 500; line-height: 1.2; }
.prg-card p { margin: 0 0 18px; color: var(--prg-muted); font-size: 14px; }
.prg-card__link { font-size: 13px; font-weight: 700; text-decoration: none; }
.prg-split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.prg-split img { width: 100%; aspect-ratio: 1.18; object-fit: cover; }
.prg-split__copy { max-width: 510px; }
.prg-split__copy p { color: var(--prg-muted); }
.prg-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; padding: 0; list-style: none; }
.prg-list li { padding: 18px; border-top: 1px solid var(--prg-line); font-family: Georgia, "Times New Roman", serif; font-size: 18px; }
.prg-callout { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 48px; background: var(--prg-wine-dark); color: var(--prg-white); }
.prg-callout h2 { max-width: 650px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.2; color: var(--prg-white); }
.prg-callout p, .prg-prose .prg-callout p { margin: 8px 0 0; color: #eadde0; }
.prg-callout .prg-eyebrow, .prg-prose .prg-callout .prg-eyebrow { margin-bottom: 14px; color: #e7c99e; }
.prg-callout .prg-button, .prg-callout .wp-block-button__link { flex: 0 0 auto; border-color: var(--prg-white); background: var(--prg-white); color: var(--prg-wine-dark); }
.prg-callout .prg-button:hover, .prg-callout .wp-block-button__link:hover { background: #f3e9ea; color: var(--prg-wine-dark); }
.prg-callout .wp-block-buttons { flex: 0 0 auto; }

.prg-page-hero {
	position: relative; display: flex; min-height: 490px; align-items: end; overflow: hidden;
	background: #2a2527; color: var(--prg-white);
}
.prg-page-hero::after {
	position: absolute; inset: 0; content: "";
	background: linear-gradient(90deg, rgba(28, 22, 24, .82) 0%, rgba(28, 22, 24, .55) 42%, rgba(28, 22, 24, .08) 100%), linear-gradient(0deg, rgba(28, 22, 24, .35), transparent 60%);
}
.prg-page-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.prg-page-hero .prg-container { position: relative; z-index: 1; padding-block: 34px 72px; }
.prg-breadcrumbs { display: flex; gap: 12px; align-items: center; margin-bottom: 35px; color: rgba(255,255,255,.72); font-size: 12px; letter-spacing: .04em; }
.prg-breadcrumbs a { color: inherit; text-decoration: none; }
.prg-breadcrumbs a:hover { color: var(--prg-white); }
.prg-page-hero .prg-eyebrow { color: #e7c99e; }
.prg-page-hero .prg-page-title { max-width: 760px; font-size: clamp(48px, 6vw, 78px); }
.prg-page-hero__intro { max-width: 700px; margin: 22px 0 0; color: rgba(255,255,255,.88); font-family: Georgia, "Times New Roman", serif; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.prg-content { width: min(860px, calc(100% - 48px)); margin-inline: auto; padding-block: 62px 90px; }
.prg-content--wide { width: min(var(--prg-width), calc(100% - 48px)); padding-block: 74px 105px; }
.prg-prose > *:first-child { margin-top: 0; }
.prg-prose p, .prg-prose li { color: #525258; }
.prg-prose h2 { margin-top: 42px; }
.prg-prose h3 { margin-top: 30px; font-family: Georgia, "Times New Roman", serif; font-size: 26px; font-weight: 500; }
.prg-prose .wp-block-image img { border-radius: 2px; }
.prg-prose .wp-block-columns { gap: 28px; }
.prg-prose .wp-block-column { padding: 25px; background: var(--prg-paper); }
.prg-prose .wp-block-buttons { margin-top: 25px; }
.prg-prose .wp-block-button__link { border-radius: var(--prg-radius); }
.prg-editorial > * { max-width: 840px; }
.prg-editorial > .alignwide, .prg-editorial > .prg-editorial-wide { max-width: none; }
.prg-editorial > .prg-editorial-sections, .prg-editorial > .prg-editorial-card-section,
.prg-editorial > .prg-contact-layout, .prg-editorial > .prg-editorial-cta { max-width: none; }
.prg-editorial > .wp-block-group { margin-block: 0 62px; }
.prg-editorial > .wp-block-group:last-child { margin-bottom: 0; }
.prg-editorial-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-block: 56px; }
.prg-editorial-sections .prg-editorial-section { padding: 28px 30px 26px; border-top: 2px solid #b3976c; background: var(--prg-paper); }
.prg-editorial-sections .prg-editorial-section h2 { font-size: clamp(24px, 2.6vw, 32px); }
.prg-editorial-sections .prg-editorial-section p:last-child { margin-bottom: 0; }
.prg-editorial-card-section p { max-width: 720px; }
.prg-editorial .prg-editorial-card { height: 100%; padding: 25px 24px; border-top: 2px solid #b3976c; background: var(--prg-paper); }
.prg-editorial .prg-editorial-card h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.prg-contact-list { margin: 20px 0 0; padding: 0; list-style: none; }
.prg-contact-list li { display: grid; gap: 5px; padding: 15px 0; border-top: 1px solid var(--prg-line); }
.prg-contact-list li > span:first-child { color: var(--prg-muted); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.prg-contact-list li > span, .prg-contact-list a { color: var(--prg-ink); font-size: 15px; }
.prg-contact-list a { text-decoration: none; }
.prg-contact-list a:hover { color: var(--prg-wine); }
.prg-editorial .prg-editorial-kicker { margin: 0 0 14px; color: var(--prg-wine); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.prg-editorial .prg-editorial-lead { max-width: 780px; color: #454146; font-family: Georgia, "Times New Roman", serif; font-size: clamp(21px, 2.4vw, 29px); line-height: 1.55; }
.prg-editorial h2 { margin: 0 0 18px; font-size: clamp(29px, 3.2vw, 42px); }
.prg-editorial h3 { margin: 0 0 12px; font-size: 23px; }
.prg-editorial p { line-height: 1.85; }
.prg-editorial .wp-block-columns { gap: 18px; margin-block: 30px 0; }
.prg-editorial .wp-block-column { padding: 28px 27px 30px; border: 1px solid var(--prg-line); background: var(--prg-white); }
.prg-editorial .wp-block-column:has(> .prg-editorial-card) { padding: 0; border: 0; background: transparent; }
.prg-editorial .wp-block-column h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
.prg-editorial .wp-block-column p:last-child { margin-bottom: 0; }
.prg-editorial .prg-editorial-panel { padding: clamp(28px, 5vw, 56px); background: var(--prg-paper); }
.prg-editorial .prg-editorial-panel > *:last-child { margin-bottom: 0; }
.prg-editorial .prg-editorial-rule { padding-top: 30px; border-top: 1px solid var(--prg-line); }
.prg-editorial .wp-block-buttons { margin-top: 28px; }
.prg-editorial .prg-editorial-cta { padding: clamp(30px, 5vw, 52px); background: var(--prg-wine-dark); color: var(--prg-white); }
.prg-editorial .prg-editorial-cta h2, .prg-editorial .prg-editorial-cta h3 { color: var(--prg-white); }
.prg-editorial .prg-editorial-cta p { color: #eadde0; }
.prg-editorial .prg-editorial-cta .wp-block-button__link { border-color: #e7c99e; background: #e7c99e; color: var(--prg-wine-dark); }
.prg-editorial .wp-block-image { margin-block: 35px 48px; }
.prg-editorial .wp-block-image img { width: 100%; max-height: 580px; object-fit: cover; }
.prg-contact-layout { align-items: start; gap: 28px; }
.prg-contact-details { padding: 28px; border: 1px solid var(--prg-line); background: var(--prg-paper); }
.prg-contact-details address { font-style: normal; }
.prg-contact-details a { overflow-wrap: anywhere; }
.prg-contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(22px, 4vw, 38px); border: 1px solid var(--prg-line); background: var(--prg-white); box-shadow: 0 18px 48px rgba(32, 24, 25, .06); }
.prg-contact-form .prg-field input, .prg-contact-form .prg-field select, .prg-contact-form .prg-field textarea { border-color: #ded8d2; }
.prg-editorial .prg-contact-form .prg-field--full { padding: 0; border: 0; background: transparent; }

.prg-contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; }
.prg-contact-layout > * { grid-column: 2; }
.prg-contact-layout > .prg-contact-details { grid-column: 1; grid-row: 1; }
.prg-contact-layout .description { margin: 14px 0 0; color: var(--prg-muted); font-size: 13px; }
.prg-contact-details h2 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.prg-contact-details p { color: var(--prg-muted); }
.prg-field { display: grid; gap: 6px; }
.prg-field--full { grid-column: 1 / -1; }
.prg-field label { font-size: 13px; font-weight: 700; }
.prg-field input, .prg-field select, .prg-field textarea { width: 100%; padding: 12px; border: 1px solid #d5d0cc; border-radius: 3px; background: var(--prg-white); color: var(--prg-ink); }
.prg-field textarea { min-height: 145px; resize: vertical; }
.prg-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--prg-muted); font-size: 13px; }
.prg-consent input { margin-top: 5px; }
.prg-notice { margin-bottom: 20px; padding: 13px 16px; border-left: 4px solid var(--prg-wine); background: var(--prg-paper); }
.prg-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.prg-footer { padding: 58px 0 22px; background: #211d1f; color: var(--prg-white); }
.prg-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px; padding-bottom: 48px; }
.prg-footer .prg-brand { color: var(--prg-white); }
.prg-footer .prg-brand__tag, .prg-footer p { color: #c7c0c2; }
.prg-footer h2 { margin: 0 0 15px; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.prg-footer ul { margin: 0; padding: 0; list-style: none; }
.prg-footer li { margin: 5px 0; }
.prg-footer a { color: #f5edef; text-decoration: none; }
.prg-footer a:hover { text-decoration: underline; }
.prg-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid #51474a; color: #c7c0c2; font-size: 12px; }
.prg-footer__bottom p { margin: 0; }

.prg-search-form { display: flex; gap: 10px; }
.prg-search-form input { min-width: 0; padding: 11px; border: 1px solid var(--prg-line); }
.prg-post { padding: 25px 0; border-bottom: 1px solid var(--prg-line); }
.prg-post h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 28px; font-weight: 500; }
.prg-post__meta { color: var(--prg-muted); font-size: 13px; }
.prg-404 { display: grid; min-height: 610px; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding-block: 55px; }
.prg-404__copy { max-width: 550px; }
.prg-404__copy h1 { margin: 0; font: 500 clamp(42px, 5.2vw, 68px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.prg-404__copy > p:not(.prg-eyebrow) { max-width: 470px; color: var(--prg-muted); }
.prg-404__image { width: 100%; height: 440px; object-fit: cover; }
.prg-404__search { margin-top: 30px; }

@media (max-width: 900px) {
	.prg-header__inner { min-height: 72px; }
	.prg-header__tools { gap: 15px; }
	.prg-menu { gap: 15px; }
	.prg-header .prg-button { display: none; }
	.prg-hero { min-height: 540px; }
	.prg-grid { gap: 14px; }
	.prg-split { gap: 38px; }
}
@media (max-width: 680px) {
	.prg-container { width: min(var(--prg-width), calc(100% - 36px)); }
	.prg-header__inner { min-height: 70px; }
	.prg-menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--prg-line); background: var(--prg-white); color: var(--prg-ink); cursor: pointer; }
	.prg-menu-toggle span, .prg-menu-toggle span::before, .prg-menu-toggle span::after { display: block; width: 18px; height: 2px; background: currentColor; }
	.prg-menu-toggle span { position: relative; }
	.prg-menu-toggle span::before, .prg-menu-toggle span::after { position: absolute; left: 0; content: ""; }
	.prg-menu-toggle span::before { top: -6px; }
	.prg-menu-toggle span::after { top: 6px; }
	.prg-header__tools { position: absolute; top: 100%; right: 0; left: 0; display: none; padding: 18px; border-bottom: 1px solid var(--prg-line); background: var(--prg-white); }
	.prg-header__tools.is-open { display: block; }
	.prg-menu { display: grid; gap: 0; }
	.prg-menu li { border-bottom: 1px solid var(--prg-line); }
	.prg-menu a { display: block; padding: 12px 0; }
	.prg-hero { min-height: 610px; align-items: end; }
	.prg-hero::before { inset: 0; background: linear-gradient(0deg, #f0eeeb 0%, rgba(240,238,235,.95) 35%, rgba(240,238,235,.12) 100%), var(--prg-hero-image, url("assets/images/hero.jpg")) center / cover no-repeat; }
	.prg-hero__copy { width: 100%; padding: 210px 0 48px; }
	.prg-hero__copy p:not(.prg-eyebrow) { font-size: 16px; }
	.prg-section { padding-block: 60px; }
	.prg-404 { min-height: 0; grid-template-columns: 1fr; gap: 32px; padding-block: 58px; }
	.prg-404__image { height: 260px; }
	.prg-page-hero { min-height: 440px; }
	.prg-page-hero .prg-container { padding-block: 28px 46px; }
	.prg-breadcrumbs { margin-bottom: 27px; }
	.prg-editorial-sections { grid-template-columns: 1fr; gap: 14px; margin-block: 38px; }
	.prg-grid, .prg-split, .prg-contact-layout { grid-template-columns: 1fr; }
	.prg-contact-layout > *, .prg-contact-layout > .prg-contact-details { grid-column: auto; grid-row: auto; }
	.prg-grid { gap: 18px; }
	.prg-split { gap: 28px; }
	.prg-split img { order: 0; }
	.prg-list { grid-template-columns: 1fr; gap: 0; }
	.prg-callout { display: grid; padding: 30px 24px; }
	.prg-page-hero { padding: 54px 0 35px; }
	.prg-content, .prg-content--wide { width: calc(100% - 36px); padding-block: 42px 65px; }
	.prg-contact-layout { gap: 28px; }
	.prg-editorial .wp-block-columns { display: grid; grid-template-columns: 1fr; gap: 12px; }
	.prg-contact-form { grid-template-columns: 1fr; }
	.prg-field--full { grid-column: auto; }
	.prg-footer__top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
	.prg-footer__bottom { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
