/* ==========================================================================
   Podstrony: dokumenty, kontakt, o nas, stoły kamienne, 404
   ========================================================================== */

/* ---- Treść (entry-content) ---- */
.entry-content { letter-spacing: .15px; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin: 1.6em 0 .6em; line-height: 1.2; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { font-size: 28px; font-weight: 600; }
.entry-content h3 { font-size: 20px; font-weight: 600; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1em; }
.entry-content ul { list-style: disc; padding-left: 1.3em; }
.entry-content ol { list-style: decimal; padding-left: 1.4em; }
.entry-content li { margin-bottom: .5em; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; color: var(--c-grey); }
.entry-content a:hover { color: #000; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1em; }
.entry-content th, .entry-content td { padding: 8px 12px; border: 1px solid var(--c-line); text-align: left; }

/* ---- Dokument (regulamin, polityki) ---- */
.page-doc__head { padding: 20px; text-align: center; }
.page-doc__title { font-size: 7vw; font-weight: 400; line-height: 1.2; letter-spacing: -.35vw; }
.page-doc__body { max-width: 760px; margin-inline: auto; padding: 120px 20px 20px; font-size: 16px; line-height: 28px; letter-spacing: .15px; }
.page-doc__body h2 { font-size: 24px; margin-top: 1.4em; }
.page-doc { padding-bottom: 80px; }

/* ---- Układ dzielony (kontakt / o nas) ---- */
.split { display: flex; justify-content: flex-end; gap: 12px; margin-top: 64px; padding: 12px; }
.split__side { flex: 0 0 450px; max-width: 450px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.split__side--text { gap: 20px; justify-content: flex-start; }
.split__media { flex: 0 1 calc(50% + 233px); max-width: calc(50% + 233px); min-width: 0; margin: 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; height: auto; }
.split__title { margin: 0; font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: .1px; }
.split__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.split__side .feature { flex: none; }
.split__side--text > p { margin: 0; letter-spacing: .25px; }
.split__side--text .entry-content { font-size: 15px; }
.split__side--text .entry-content li { margin-bottom: 1em; }

.contact-box { display: flex; flex-direction: column; gap: 24px; }
.contact-box__title { font-size: 28px; font-weight: 600; line-height: 1.2; }
.contact-box__label { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; letter-spacing: .1px; }
.contact-box__value { display: block; font-size: 28px; line-height: 1.2; font-weight: 400; word-break: break-word; }
.contact-box__value--xl { font-size: 40px; }
.contact-box__value:hover { text-decoration: underline; }

/* ---- Fluent Forms ---- */
.contact-form .fluentform .ff-el-group { margin-bottom: 12px; }
.contact-form .fluentform label { font-size: 14px; font-weight: 600; letter-spacing: .1px; }
.contact-form .fluentform .ff-el-form-control {
	width: 100%; padding: 12px 14px; border: 1px solid #d6d6d6; border-radius: 0; background: #fff;
	font-family: var(--f-main); font-size: 16px; letter-spacing: 0; box-shadow: none;
}
.contact-form .fluentform .ff-el-form-control::placeholder { color: #bdbdbd; }
.contact-form .fluentform .ff-el-form-control:focus { border-color: #000; outline: 0; }
.contact-form .fluentform .ff-btn-submit {
	width: 100%; padding: 16px 24px; border: 0; border-radius: 0; background: #000; color: #fff;
	font-family: var(--f-main); font-size: 15px; font-weight: 500; letter-spacing: .1px; cursor: pointer; transition: background-color .2s ease;
}
.contact-form .fluentform .ff-btn-submit:hover { background: var(--c-btn-hover); }
.contact-form .fluentform .ff_t_c, .contact-form .fluentform .ff-el-tc label { font-size: 14px; font-weight: 400; }
.contact-form .fluentform .text-danger { font-size: 13px; color: #d91c1c; }
.contact-form .ff-message-success { padding: 16px; background: var(--c-light); border-left: 4px solid #000; }

/* ---- Stoły kamienne: paski obrazów ---- */
.steps { display: flex; flex-direction: column; gap: 48px; padding: 12px; margin-top: 12px; }
.steps__title { margin-bottom: 16px; font-size: 20px; font-weight: 400; line-height: 1.2; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(32%, 420px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.strip__item { scroll-snap-align: start; }
.strip__item img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--c-light); }

/* ---- 404 / szukaj ---- */
.notfound { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 120px 20px; text-align: center; }
.notfound__code { font-size: 20vw; font-weight: 400; line-height: 1; letter-spacing: -1vw; }
.notfound__text { margin: 0; font-size: 20px; }
.notfound__search { width: min(480px, 100%); }
.search-list li { padding: 10px 0; border-bottom: 1px solid var(--c-light); font-size: 18px; }

@media (max-width: 1024px) {
	.page-doc__title { font-size: 10vw; letter-spacing: -.5vw; }
	.split { flex-direction: column; margin-top: 24px; }
	.split__side { flex: none; max-width: 100%; }
	.split__media { flex: none; max-width: 100%; }
	.strip { grid-auto-columns: min(60%, 420px); }
}
@media (max-width: 767px) {
	.page-doc__body { padding-top: 64px; font-size: 15px; line-height: 26px; }
	.contact-box__value--xl { font-size: 32px; }
	.contact-box__value { font-size: 20px; }
	.split__title { font-size: 32px; }
	.strip { grid-auto-columns: 80%; }
}
