/* ============================================================
   Entry-content typography & tables
   Kolory motywu: gold #F4BD76 | navy #14287f | text #83868c
   ============================================================ */

/* ---------- mrblocks/faq-item ---------- */
.mrb-faq-item {
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 0.5rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.mrb-faq-item:has(.mrb-faq-item__trigger--open) {
	border-color: #F4BD76;
	box-shadow: 0 2px 12px rgba(244,189,118,.18);
}
.mrb-faq-item__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	width: 100%;
	text-align: left;
	cursor: pointer;
	padding: 1rem 1.25rem;
	background: #fff;
	border: none;
	transition: background 0.2s;
}
.mrb-faq-item__trigger--open {
	background: #fdf9f1;
}
.mrb-faq-item__question {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #14287f;
	line-height: 1.4;
	padding-bottom: 0;
}
.mrb-faq-item__icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #F4BD76;
	display: flex;
	align-items: center;
	justify-content: center;
}
.mrb-faq-item__icon svg {
	fill: #14287f;
	transition: transform 0.3s ease;
	transform: rotate(90deg);
}
.mrb-faq-item__trigger--open .mrb-faq-item__icon svg {
	transform: rotate(-90deg);
}
.mrb-faq-item__body {
	overflow: hidden;
	max-height: 800px;
	transition: max-height 0.35s ease, padding 0.35s ease;
	padding: 0 1.25rem 1rem;
	background: #fff;
}
.mrb-faq-item__body--closed {
	max-height: 0;
	padding-bottom: 0;
}
.mrb-faq-item__content {
	border-top: 1px solid #f3f4f6;
	padding-top: 0.85rem;
}
.mrb-faq-item__content p {
	margin: 0;
	line-height: 1.8;
	color: #4b5563;
	font-size: 0.95rem;
	padding-bottom: 0;
}

/* ---------- Nagłówki ---------- */
.wp-block-post-content h2 {
	font-size: 1.7rem;
	font-weight: 700;
	color: #14287f;
	margin-top: 2.25rem;
	margin-bottom: 1.25rem;
}

.wp-block-post-content h3 {
	font-size: 1.25rem;
	font-weight: 700;
	color: #14287f;
	margin-top: 1.75rem;
	margin-bottom: 0.9rem;
	line-height: 1.4;
}

.wp-block-post-content h4 {
	font-size: 1.05rem;
	font-weight: 700;
	color: #14287f;
	margin-top: 1.5rem;
	margin-bottom: 0.6rem;
}

/* ---------- Akapity ---------- */
.wp-block-post-content p {
	color: #4b5563;
	line-height: 1.85;
	font-size: 1rem;
	margin-bottom: 1.15rem;
}

/* ---------- Listy ---------- */
.wp-block-post-content ul,
.wp-block-post-content ol {
	color: #4b5563;
	line-height: 1.8;
	font-size: 1rem;
	margin-bottom: 1.25rem;
	padding-left: 1.25rem;
}
.page-template-default .wp-block-post-content ul,
.post-template-default .wp-block-post-content ul {
	list-style: none;
	padding-left: 0;
}
.page-template-default .wp-block-post-content ul li,
.post-template-default .wp-block-post-content ul li {
	position: relative;
	padding-left: 1.4rem;
	margin-bottom: 0.5rem;
}
.page-template-default .wp-block-post-content ul li::before,
.post-template-default .wp-block-post-content ul li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #F4BD76;
}
.page-template-default .wp-block-post-content ol,
.post-template-default .wp-block-post-content ol {
	list-style: decimal;
	padding-left: 1.5rem;
}
.page-template-default .wp-block-post-content ol li,
.post-template-default .wp-block-post-content ol li {
	margin-bottom: 0.5rem;
	padding-left: 0.25rem;
}
.page-template-default .wp-block-post-content ol li::before,
.post-template-default .wp-block-post-content ol li::before {
	display: none;
}
.page-template-default .wp-block-post-content ol li::marker,
.post-template-default .wp-block-post-content ol li::marker {
	color: #F4BD76;
	font-weight: 700;
}

/* ---------- Tabele ---------- */
.wp-block-post-content table,
.wp-block-post-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(20,40,127,.08);
}
.wp-block-post-content thead th,
.wp-block-post-content .wp-block-table thead th {
	background: #14287f;
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.85rem 1rem;
	text-align: left;
}
.wp-block-post-content thead th:first-child,
.wp-block-post-content .wp-block-table thead th:first-child {
	border-radius: 10px 0 0 0;
}
.wp-block-post-content thead th:last-child,
.wp-block-post-content .wp-block-table thead th:last-child {
	border-radius: 0 10px 0 0;
}
.wp-block-post-content tbody tr,
.wp-block-post-content .wp-block-table tbody tr {
	border-bottom: 1px solid #e5e7eb;
	transition: background 0.15s;
}
.wp-block-post-content tbody tr:nth-child(even),
.wp-block-post-content .wp-block-table tbody tr:nth-child(even) {
	background: #f8f9fd;
}
.wp-block-post-content tbody tr:hover,
.wp-block-post-content .wp-block-table tbody tr:hover {
	background: #fdf9f1;
}
.wp-block-post-content tbody td,
.wp-block-post-content .wp-block-table tbody td {
	padding: 0.75rem 1rem;
	color: #374151;
	vertical-align: top;
}
.wp-block-post-content tbody td:first-child,
.wp-block-post-content .wp-block-table tbody td:first-child {
	font-weight: 600;
	color: #14287f;
}

/* responsywna tabela */
.wp-block-post-content .wp-block-table {
	overflow-x: auto;
}

/* ---------- Tabele — ujednolicenie dla CAŁEJ witryny (nie tylko treść wpisu) ---------- */
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
	margin-bottom: 1.5rem;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(20,40,127,.08);
}
.wp-block-table thead th,
.wp-block-table thead td {
	background: #14287f;
	color: #fff;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.85rem 1rem;
	text-align: left;
}
.wp-block-table thead th:first-child,
.wp-block-table thead td:first-child {
	border-radius: 10px 0 0 0;
}
.wp-block-table thead th:last-child,
.wp-block-table thead td:last-child {
	border-radius: 0 10px 0 0;
}
.wp-block-table tbody tr {
	border-bottom: 1px solid #e5e7eb;
	transition: background 0.15s;
}
.wp-block-table tbody tr:nth-child(even) {
	background: #f8f9fd;
}
.wp-block-table tbody tr:hover {
	background: #fdf9f1;
}
.wp-block-table tbody td {
	padding: 0.75rem 1rem;
	color: #374151;
	vertical-align: top;
}
.wp-block-table tbody td:first-child {
	font-weight: 600;
	color: #14287f;
}
.wp-block-table {
	overflow-x: auto;
}

/* ---------- Cytat ---------- */
.wp-block-post-content blockquote,
.wp-block-post-content .wp-block-quote {
	border-left: 4px solid #F4BD76;
	background: #fdf9f1;
	margin: 1.75rem 0;
	padding: 1rem 1.5rem;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: #4b5563;
}
.wp-block-post-content blockquote p,
.wp-block-post-content .wp-block-quote p {
	margin: 0;
}

/* ---------- Separator ---------- */
.wp-block-post-content hr {
	border: none;
	border-top: 2px solid #e5e7eb;
	margin: 2rem 0;
}

/* Tytuly kart list (realizacje/meble) - h2 nie przejmuje stylu naglowkow tresci */
.wp-block-post-content article.group h2 {
	font-size: 1.25rem;   /* text-xl */
	line-height: 1.25;    /* leading-tight */
	font-weight: 600;     /* font-semibold */
	color: #14287f;       /* text-quinary */
	margin: 0 0 1rem;     /* mb-4, bez gornego marginesu */
	letter-spacing: normal;
	text-transform: none;
}
