/* ==========================================================================
   Teapotheca — editor content (About, Pricing, How to, and similar pages)
   ========================================================================== */

.tp-prose h2 {
	margin: 2.5rem 0 0.75rem;
	font-size: clamp(1.4rem, 2.6vw, 1.75rem);
}
.tp-prose h3 { margin: 2rem 0 0.5rem; font-size: 1.25rem; }
.tp-prose p,
.tp-prose ul,
.tp-prose ol { margin: 0 0 1rem; }
.tp-prose ul,
.tp-prose ol { padding-left: 1.25rem; }
.tp-prose li + li { margin-top: 0.4rem; }

.tp-prose hr {
	clear: both;
	margin: 2.75rem 0;
	border: 0;
	border-top: 1px solid var(--tp-rule);
}

.tp-lede { font-size: 1.1875rem; line-height: 1.55; }

/* Image alignment (classic editor classes) */
.alignleft  { float: left;  margin: 0.3rem 1.5rem 1rem 0; max-width: 45%; }
.alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; max-width: 45%; }
.aligncenter { display: block; margin: 1.5rem auto; }
.tp-inline-icon { display: inline-block; height: 1.4em; width: auto; vertical-align: -0.35em; }
@media (max-width: 600px) {
	.alignleft,
	.alignright { float: none; display: block; max-width: 100%; margin: 1rem auto; }
}

/* Tables */
.tp-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.tp-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}
.tp-prose th,
.tp-prose td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid var(--tp-rule);
	text-align: left;
	vertical-align: top;
}
.tp-prose thead th {
	font-family: var(--tp-font-display);
	font-size: 1.0625rem;
	color: var(--tp-ink);
	border-bottom: 2px solid var(--tp-ink);
}
.tp-prose tbody th { font-weight: 600; }

/* Calls to action */
.tp-cta { margin: 2rem 0; }

/* Galleries */
.gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin: 2rem 0;
}
.gallery.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item { margin: 0; }
.gallery img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--tp-rule);
}
.gallery br { display: none; }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } }

/* Sitemap template */
.tp-sitemap__section { margin-top: 2.5rem; }
.tp-sitemap__section h2 {
	margin: 0 0 1rem;
	padding-bottom: 0.4rem;
	font-size: 1.5rem;
	border-bottom: 1px solid var(--tp-rule);
}
.tp-sitemap__section h2 a { color: inherit; text-decoration: none; }
.tp-sitemap__section h2 a:hover { color: var(--tp-bottle); }
.tp-sitemap__count { font-family: var(--tp-font-body); font-size: 0.9375rem; font-weight: 400; color: rgba(43, 38, 32, 0.6); }
.tp-sitemap__list { margin: 0; padding: 0; list-style: none; }
.tp-sitemap__list li { margin: 0 0 0.35rem; break-inside: avoid; }
.tp-sitemap__list--cols { columns: 14rem 3; column-gap: 2rem; }
.tp-sitemap__list a { text-decoration: none; }
.tp-sitemap__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Contact form */
.tp-contact { max-width: 36rem; margin-top: 1.5rem; }
.tp-contact__field { margin: 0 0 1.25rem; }
.tp-contact__field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	color: var(--tp-ink);
}
.tp-contact__field input,
.tp-contact__field textarea {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(43, 38, 32, 0.28);
	background: var(--tp-paper);
	font: inherit;
	color: var(--tp-charcoal);
}
.tp-contact__field textarea { resize: vertical; min-height: 9rem; }
.tp-contact__field input:focus,
.tp-contact__field textarea:focus { border-color: var(--tp-bottle); outline: 2px solid var(--tp-amber); outline-offset: 1px; }
.tp-contact__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.tp-contact__notice {
	max-width: 36rem;
	margin: 1.5rem 0;
	padding: 0.9rem 1.1rem;
	border-left: 3px solid var(--tp-bottle);
	background: var(--tp-parchment);
}
.tp-contact__notice--error { border-left-color: var(--tp-oxblood); }

/* Plan cards (Pricing) */
.tp-plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: 1rem;
	margin: 1.25rem 0 2.5rem;
}
.tp-plan {
	display: flex;
	flex-direction: column;
	padding: 1.5rem 1.5rem 1.35rem;
	background: var(--tp-parchment);
	border-top: 3px solid var(--tp-bottle);
}
.tp-plan--1 { border-top-color: rgba(43, 38, 32, 0.28); }
.tp-plan--5 { border-top-color: var(--tp-amber); }
.tp-prose .tp-plan__title { margin: 0 0 0.5rem; font-size: 1.15rem; }
.tp-plan__price {
	margin: 0 0 0.25rem;
	font-family: var(--tp-font-display);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.15;
	color: var(--tp-ink);
}
.tp-plan__note { margin: 0 0 0.25rem; font-size: 0.875rem; font-weight: 600; color: var(--tp-bottle); }
.tp-plan__body { flex: 1; margin: 0.6rem 0 1.25rem; font-size: 0.9375rem; }
.tp-plan__action { margin: 0; }
.tp-prose th small { font-family: var(--tp-font-body); font-weight: 400; font-size: 0.8125rem; color: rgba(43, 38, 32, 0.75); }
