/* ==========================================================================
   Static pages (ΕΠΙΚΟΙΝΩΝΙΑ / ΟΡΟΙ / ΑΠΟΡΡΗΤΟ / ΤΑΥΤΟΤΗΤΑ …)

   page.php reuses the single.* typography tokens but wraps them in this
   centred, readable shell so a page never hugs the left of the 1500px
   container. Adds: a breadcrumb + red eyebrow + accented serif H1 with a
   hairline, a comfortable reading measure, and full theming for any embedded
   Contact Form 7 form. Everything is scoped under .page-static so it can't
   bleed into single posts (all template partials are enqueued site-wide).
   ========================================================================== */

/* Centre the whole page column within the wide shared container. */
.page-static__container {
	max-width: 820px;
	margin-inline: auto;
	padding-top: 36px;
	padding-bottom: 72px;
}

/* --------------------------------------------------------------------------
   Header — breadcrumb (shared chrome) + red eyebrow + accented serif title
   sitting above a hairline.
   -------------------------------------------------------------------------- */
.page-static__head {
	margin: 0 0 32px;
	padding: 0 0 24px;
	border-bottom: 1px solid var(--color-line);
}

.page-static__eyebrow {
	display: block;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--color-accent-red);
	margin: 18px 0 10px;
}

.page-static__title {
	position: relative;
	font-size: 42px;
	line-height: 1.06;
	letter-spacing: -0.6px;
	padding-left: 18px;
	margin: 0;
}

.page-static__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1em;
	bottom: 0.1em;
	width: 5px;
	background: var(--color-accent-red);
}

/* --------------------------------------------------------------------------
   Body — readable centred measure (overrides single.css's left-aligned 680px).
   -------------------------------------------------------------------------- */
.page-static__body {
	max-width: none;
	font-size: 17px;
	line-height: 1.75;
}

.page-static__body :is(h2, h3, h4) {
	font-family: var(--font-serif);
	color: var(--color-ink);
	letter-spacing: -0.3px;
	margin: 1.6em 0 0.6em;
}

.page-static__body h2 { font-size: 24px; }
.page-static__body h3 { font-size: 20px; }

.page-static__body :is(p, li) a {
	color: var(--color-accent-red);
	border-bottom: 1px solid transparent;
	transition: border-color var(--transition);
}

.page-static__body :is(p, li) a:hover {
	border-bottom-color: currentColor;
}

.page-static__body ul,
.page-static__body ol {
	padding-left: 1.3em;
}

.page-static__body li {
	margin: 0 0 0.5em;
}

/* --------------------------------------------------------------------------
   Contact Form 7 — themed to match the design (card, labelled fields, name +
   email side by side, red submit button).
   -------------------------------------------------------------------------- */
.page-static .wpcf7 {
	margin-top: 36px;
	padding: 30px 30px 34px;
	background: var(--color-bg-alt);
	border: 1px solid var(--color-line);
	border-top: 3px solid var(--color-accent-red);
}

/* Two-up row for name + email; the rest span full width. */
.page-static .wpcf7-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 20px;
}

.page-static .wpcf7-form > .hidden-fields-container,
.page-static .wpcf7-form > .screen-reader-response {
	display: none;
}

/* Each labelled field is a <p>; name(1st)+email(2nd) sit on the same row,
   subject / message / submit each take the full width. */
.page-static .wpcf7-form > p {
	margin: 0;
	grid-column: 1 / -1;
}

.page-static .wpcf7-form > p:nth-of-type(1) {
	grid-column: 1 / 2;
}

.page-static .wpcf7-form > p:nth-of-type(2) {
	grid-column: 2 / 3;
}

.page-static .wpcf7-form label {
	display: block;
	font-family: var(--font-sans);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: var(--color-muted);
}

.page-static .wpcf7-form-control-wrap {
	display: block;
	margin-top: 7px;
}

.page-static .wpcf7-form :is(input[type="text"], input[type="email"], textarea) {
	width: 100%;
	font-family: var(--font-sans);
	font-size: 15px;
	color: var(--color-ink);
	background: var(--color-white, #fff);
	border: 1px solid var(--color-line-strong);
	border-radius: var(--radius);
	padding: 12px 14px;
	transition: border-color var(--transition), box-shadow var(--transition);
}

.page-static .wpcf7-form :is(input[type="text"], input[type="email"], textarea):focus {
	outline: none;
	border-color: var(--color-accent-red);
	box-shadow: 0 0 0 3px rgba(208, 27, 40, 0.12);
}

.page-static .wpcf7-form textarea {
	min-height: 160px;
	resize: vertical;
}

.page-static .wpcf7-submit {
	width: auto;
	justify-self: start;
	font-family: var(--font-sans);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: #fff;
	background: var(--color-accent-red);
	border: 0;
	border-radius: var(--radius);
	padding: 14px 30px;
	cursor: pointer;
	transition: background var(--transition);
}

.page-static .wpcf7-submit:hover {
	background: var(--color-accent-red-dark, #b0141f);
}

/* CF7 validation / response messages. */
.page-static .wpcf7-not-valid-tip {
	font-family: var(--font-sans);
	font-size: 12px;
	color: var(--color-accent-red);
	margin-top: 5px;
}

.page-static .wpcf7 .wpcf7-response-output {
	grid-column: 1 / -1;
	margin: 6px 0 0;
	padding: 12px 14px;
	font-family: var(--font-sans);
	font-size: 14px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
	.page-static__title {
		font-size: 30px;
		padding-left: 14px;
	}

	.page-static .wpcf7 {
		padding: 22px 18px 26px;
	}

	.page-static .wpcf7-form {
		grid-template-columns: 1fr;
	}

	.page-static .wpcf7-form > p:nth-of-type(1),
	.page-static .wpcf7-form > p:nth-of-type(2) {
		grid-column: 1 / -1;
	}
}
