/*
 * PtechBlog: blog content styles (Prasadam Healing Herbs Cafe).
 *
 * The site header/footer are pulled from the root and styled by the root's
 * assets/css/header-footer.css. Everything here is scoped to the blog content
 * (.ptech-blog, inside <main id="main">) so it never restyles the header/footer.
 * No Bootstrap: layout is CSS grid/flex.
 *
 * Sections: tokens · base · layout · buttons · hero + search ·
 * listing + cards · category blocks · sidebar · archive/search headers ·
 * single post · article typography · author · related · comments · 404 ·
 * pagination · plugins · responsive
 */

/* ==========================================================================
   Tokens  (values mirror the root assets/css/style.scss palette)
   ========================================================================== */
:root {
	--ptech-primary: #0e5d6f;          /* root $primary — logo teal */
	--ptech-primary-rgb: 14, 93, 111;
	--ptech-primary-600: #0c5363;
	--ptech-primary-700: #0a4a59;      /* text / buttons: readable on white */
	--ptech-primary-800: #07343f;
	--ptech-primary-50: #e7edef;       /* root $light-bg */
	--ptech-primary-100: #d2e1e5;
	--ptech-accent: #cd0000;           /* root $secondary — logo red */
	--ptech-accent-rgb: 205, 0, 0;
	--ptech-accent-dark: #a30000;
	--ptech-accent-soft: #ff6b5e;         /* root $gold-soft — red that reads on dark */

	--ptech-ink: #2c2926;              /* root $text-dark */
	--ptech-text: #3b3733;
	--ptech-muted: #6b665f;            /* root $text-gray */
	--ptech-line: #ebe5da;
	--ptech-bg: #fff;
	--ptech-bg-soft: #faf6ef;
	--ptech-cream: #f5efe3;            /* root $text-white — cream */
	--ptech-dark: #0b1a1e;
	--ptech-white: #fff;
	--ptech-whatsapp: #25d366;

	--ptech-font-heading: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ptech-font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ptech-font-display: "Italiana", serif;          /* root $heading-font */
	--ptech-font-script: "Dancing Script", cursive;   /* root $cursive-font */

	--ptech-radius-sm: 10px;
	--ptech-radius: 16px;
	--ptech-radius-lg: 24px;
	--ptech-shadow-sm: 0 1px 2px rgba(44, 41, 38, .05), 0 2px 8px rgba(44, 41, 38, .04);
	--ptech-shadow: 0 12px 32px -14px rgba(44, 41, 38, .18);
	--ptech-shadow-lg: 0 24px 60px -24px rgba(44, 41, 38, .32);

	--ptech-container: 1320px;
	--ptech-gap: 32px;
	--ptech-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   Base (blog content only)
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--ptech-bg);
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

/* The root navbar floats; start the blog below it. */
#main {
	display: block;
	clear: both;
}

.ptech-blog {
	min-height: 40vh;
	padding-bottom: 1px;
	color: var(--ptech-text);
	font-family: var(--ptech-font-body);
	font-size: 16px;
	line-height: 1.7;
	font-variant-numeric: lining-nums;
}

:where(.ptech-blog) :is(img, svg, video, iframe) {
	max-width: 100%;
}

:where(.ptech-blog) img {
	height: auto;
	vertical-align: middle;
}

:where(.ptech-blog) a {
	color: var(--ptech-primary-700);
	text-decoration: none;
	transition: color .2s var(--ptech-ease);
}

:where(.ptech-blog) a:hover {
	color: var(--ptech-primary-800);
}

.ptech-blog h1,
.ptech-blog h2,
.ptech-blog h3,
.ptech-blog h4,
.ptech-blog h5,
.ptech-blog h6 {
	margin: 0 0 .6em;
	color: var(--ptech-ink);
	font-family: var(--ptech-font-heading);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	text-transform: none;
}

:where(.ptech-blog) p {
	margin: 0 0 1.2em;
}

.ptech-blog button,
.ptech-blog input,
.ptech-blog select,
.ptech-blog textarea {
	font: inherit;
}

.ptech-blog :focus-visible {
	outline: 3px solid rgba(var(--ptech-primary-rgb), .6);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.ptech-skip-link:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	display: inline-block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 12px 20px;
	overflow: visible;
	clip: auto;
	clip-path: none;
	border-radius: var(--ptech-radius-sm);
	background: var(--ptech-ink);
	color: var(--ptech-white);
	font: 600 15px var(--ptech-font-body);
	text-decoration: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.ptech-container {
	width: 100%;
	max-width: var(--ptech-container);
	margin: 0 auto;
	padding: 0 15px;
}

.section-spacing {
	padding: 64px 0;
}

/* Content + sidebar (the markup's tr-row / tr-lg8 / tr-lg4). */
.tr-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	align-items: start;
}

.tr-lg8,
.tr-lg4 {
	min-width: 0;
}

.ptech-empty {
	padding: 40px 0;
	color: var(--ptech-muted);
	text-align: center;
}

/* ==========================================================================
   Buttons, chips, eyebrows
   ========================================================================== */
.ptech-btn,
.ptech-blog .comment-form .submit,
.ptech-filter__apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border: 2px solid var(--ptech-primary-700);
	border-radius: 999px;
	background: var(--ptech-primary-700);
	color: var(--ptech-white) !important;
	font: 600 14px/1.2 var(--ptech-font-heading);
	letter-spacing: .02em;
	cursor: pointer;
	transition: background .2s var(--ptech-ease), border-color .2s var(--ptech-ease), transform .2s var(--ptech-ease), box-shadow .2s var(--ptech-ease);
}

.ptech-btn:hover,
.ptech-blog .comment-form .submit:hover,
.ptech-filter__apply:hover {
	border-color: var(--ptech-primary-800);
	background: var(--ptech-primary-800);
	transform: translateY(-1px);
	box-shadow: 0 10px 20px -10px rgba(var(--ptech-primary-rgb), .7);
}

.ptech-hero__eyebrow,
.ptech-main__eyebrow,
.ptech-cat-header__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
	color: var(--ptech-primary-700);
	font: 700 12px/1 var(--ptech-font-heading);
	letter-spacing: .16em;
	text-transform: uppercase;
}

.ptech-hero__eyebrow::before,
.ptech-main__eyebrow::before,
.ptech-cat-header__eyebrow::before {
	content: "\2726";
	color: var(--ptech-accent);
	font-size: 10px;
}

/* ==========================================================================
   Hero (blog home): a dark "night kitchen" panel floating on cream. Text,
   search and stats on the left, three arched photo windows on the right
   with a turning text seal. Slides up under the fixed root header.
   ========================================================================== */
.ptech-hero {
	position: relative;
	isolation: isolate;
	margin-top: -150px;
	padding: 150px 0 0;
	background: linear-gradient(180deg, var(--ptech-cream) calc(100% - 150px), var(--ptech-white) calc(100% - 150px));
	color: var(--ptech-cream);
}

/* No overflow:hidden on the panel: the search filter panel has to drop out of it.
   The glow + pattern are clipped by their own .ptech-hero__bg layer instead. */
.ptech-hero__panel {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	gap: clamp(32px, 4vw, 64px);
	align-items: center;
	margin-top: clamp(16px, 2vw, 28px);
	padding: clamp(36px, 5vw, 72px);
	border-radius: 36px;
	box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .6);
}

.ptech-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	border-radius: inherit;
	background: radial-gradient(135% 110% at 50% -15%, #1a3c45 0%, #000202 50%, rgba(76, 2, 2, .99) 100%);
	pointer-events: none;
}

.ptech-hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--ptech-pattern, none);
	background-size: 240px;
	filter: invert(1);
	opacity: .06;
}

.ptech-hero__bg::after {
	content: "";
	position: absolute;
	top: -30%;
	right: -10%;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(var(--ptech-primary-rgb), .45), transparent 65%);
}

.ptech-hero__content > *,
.ptech-hero__gallery {
	animation: ptech-rise .8s var(--ptech-ease) both;
}

.ptech-hero__content > :nth-child(2) { animation-delay: .06s; }
.ptech-hero__content > :nth-child(3) { animation-delay: .12s; }
.ptech-hero__content > :nth-child(4) { animation-delay: .18s; }
.ptech-hero__content > :nth-child(5) { animation-delay: .24s; }
.ptech-hero__content > :nth-child(6) { animation-delay: .3s; }
.ptech-hero__content > :nth-child(7) { animation-delay: .36s; }
.ptech-hero__gallery { animation-delay: .15s; }

@keyframes ptech-rise {
	from { opacity: 0; transform: translateY(22px); }
	to { opacity: 1; transform: none; }
}

@keyframes ptech-spin {
	to { transform: rotate(360deg); }
}

/* Breadcrumb */
.ptech-hero__crumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
	color: rgba(245, 239, 227, .6);
	font: 500 13px/1.4 var(--ptech-font-body);
	letter-spacing: .04em;
}

.ptech-hero__crumb li + li::before {
	content: "/";
	margin-right: 8px;
	opacity: .5;
}

.ptech-hero__crumb a {
	color: var(--ptech-cream) !important;
	font-weight: 600;
}

.ptech-hero__crumb a:hover {
	color: var(--ptech-accent-soft) !important;
}

.ptech-hero .ptech-hero__eyebrow {
	gap: 10px;
	margin-bottom: 18px;
	color: var(--ptech-accent-soft);
	font: 600 13px/1 var(--ptech-font-body);
	letter-spacing: .22em;
}

.ptech-hero .ptech-hero__eyebrow::before,
.ptech-hero .ptech-hero__eyebrow::after {
	content: "\2726";
	color: inherit;
	font-size: 11px;
}

.ptech-hero .ptech-hero__title {
	margin: 0 0 20px !important;
	color: var(--ptech-cream);
	font: 600 clamp(42px, 5.2vw, 76px)/1.02 var(--ptech-font-display);
	letter-spacing: 0;
}

.ptech-hero__accent {
	display: block;
	margin-top: 6px;
	color: var(--ptech-accent-soft);
	font: 600 clamp(40px, 4.8vw, 68px)/1.05 var(--ptech-font-script);
}

.ptech-hero__subtitle {
	max-width: 500px;
	margin: 0 0 30px !important;
	color: rgba(245, 239, 227, .75);
	font-size: clamp(15px, 1.4vw, 17px);
	line-height: 1.75;
}

.ptech-hero .ptech-search {
	max-width: 580px;
	box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8);
}

.ptech-hero__topics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
}

.ptech-hero__topics-label {
	margin-right: 4px;
	color: rgba(245, 239, 227, .6);
	font-size: 13.5px;
}

.ptech-hero__topic {
	padding: 6px 14px;
	border: 1px solid rgba(245, 239, 227, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: var(--ptech-cream) !important;
	font: 500 13px/1.3 var(--ptech-font-body);
	transition: background .25s var(--ptech-ease), border-color .25s var(--ptech-ease);
}

.ptech-hero__topic:hover {
	border-color: var(--ptech-accent);
	background: var(--ptech-accent);
}

.ptech-hero__stats {
	display: flex;
	flex-wrap: wrap;
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
}

.ptech-hero__stats li {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0 26px;
}

.ptech-hero__stats li:first-child {
	padding-left: 0;
}

.ptech-hero__stats li + li {
	border-left: 1px solid rgba(245, 239, 227, .16);
}

.ptech-hero__stats strong {
	color: var(--ptech-cream);
	font: 500 clamp(24px, 2.4vw, 30px)/1 var(--ptech-font-body);
}

.ptech-hero__stats span {
	color: rgba(245, 239, 227, .55);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* ---- Right: three arched windows ---- */
.ptech-hero__gallery {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.25fr 1fr;
	gap: clamp(10px, 1.4vw, 18px);
	align-items: end;
}

.ptech-hero__arch {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 999px 999px 20px 20px;
	box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .8);
}

/* Thin cream inset line, like the arches on the root site. */
.ptech-hero__arch::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(245, 239, 227, .55);
	border-radius: 999px 999px 14px 14px;
	pointer-events: none;
}

.ptech-hero__arch img {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1.2s var(--ptech-ease);
}

.ptech-hero__arch:hover img {
	transform: scale(1.06);
}

.ptech-hero__arch--side {
	aspect-ratio: 3 / 5;
	margin-bottom: 14%;
}

.ptech-hero__arch--side:last-child {
	margin-bottom: 30%;
}

.ptech-hero__arch--main {
	aspect-ratio: 3 / 5.4;
}

/* Turning text seal, pinned over the gallery. */
.ptech-hero__seal {
	position: absolute;
	bottom: -26px;
	left: 50%;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 120px;
	height: 120px;
	margin-left: -60px;
	border-radius: 50%;
	background: var(--ptech-accent);
	box-shadow: 0 0 0 6px rgba(0, 0, 0, .35), 0 20px 30px -10px rgba(0, 0, 0, .7);
	color: var(--ptech-cream);
}

.ptech-hero__seal > svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: ptech-spin 18s linear infinite;
}

.ptech-hero__seal text {
	fill: currentColor;
	font: 600 10.5px var(--ptech-font-body);
	letter-spacing: .24em;
	text-transform: uppercase;
}

.ptech-hero__seal-icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
}

.ptech-hero__seal-icon svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
}

@media (max-width: 1100px) {
	.ptech-hero__panel {
		grid-template-columns: 1fr;
	}

	.ptech-hero__gallery {
		max-width: 560px;
		width: 100%;
		margin: 0 auto 26px;
	}
}

@media (max-width: 991px) {
	.ptech-hero {
		margin-top: -110px;
		padding-top: 110px;
	}
}

@media (max-width: 767px) {
	.ptech-hero .ptech-container {
		padding: 0 10px;
	}

	.ptech-hero__panel {
		padding: 30px 20px 40px;
		border-radius: 26px;
	}

	.ptech-hero__topics-label {
		flex-basis: 100%;
	}

	.ptech-hero__stats li {
		padding: 0 16px;
	}

	.ptech-hero__seal {
		width: 92px;
		height: 92px;
		margin-left: -46px;
	}

	.ptech-hero__seal text {
		font-size: 13px;
	}
}

/* ==========================================================================
   Featured story (top of the listing) — the newest post as a dark "menu board":
   the photo fills the left and melts into the dark text panel on the right.
   ========================================================================== */
.ptech-feature {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 380px;
	margin-bottom: 40px;
	overflow: hidden;
	border-radius: 30px;
	background: radial-gradient(135% 110% at 100% -15%, #1a3c45 0%, #000202 55%, rgba(76, 2, 2, .99) 100%);
	box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .55);
	color: var(--ptech-cream) !important;
	transition: transform .45s var(--ptech-ease), box-shadow .45s var(--ptech-ease);
}

.ptech-feature:hover {
	box-shadow: 0 46px 80px -40px rgba(0, 0, 0, .7);
	transform: translateY(-4px);
}

/* Spice pattern, faint, over the dark side only. */
.ptech-feature::before {
	content: "";
	position: absolute;
	inset: 0 0 0 45%;
	z-index: -1;
	background-image: var(--ptech-pattern, none);
	background-size: 220px;
	filter: invert(1);
	opacity: .05;
}

.ptech-feature__media {
	position: relative;
	overflow: hidden;
}

.ptech-feature__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1.1s var(--ptech-ease);
}

.ptech-feature:hover .ptech-feature__media img {
	transform: scale(1.06);
}

/* The melt: photo fades into the panel colour on its right edge. */
.ptech-feature__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 45%, rgba(0, 2, 2, .65) 80%, #000202 100%);
}

.ptech-feature__tag {
	position: absolute;
	top: 20px;
	left: 20px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(0, 0, 0, .45);
	border: 1px solid rgba(245, 239, 227, .3);
	color: var(--ptech-cream);
	font: 600 11px/1 var(--ptech-font-body);
	letter-spacing: .18em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.ptech-feature__tag::before {
	content: "\2726";
	color: var(--ptech-accent-soft);
}

.ptech-feature__body {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 3.6vw, 48px) clamp(26px, 3.6vw, 48px) clamp(28px, 3.6vw, 48px) clamp(8px, 1vw, 16px);
}

.ptech-feature__cat {
	margin-bottom: 14px;
	color: var(--ptech-accent-soft);
	font: 600 12px/1.2 var(--ptech-font-body);
	letter-spacing: .18em;
	text-transform: uppercase;
}

.ptech-feature__title {
	display: -webkit-box;
	margin: 0 0 14px !important;
	overflow: hidden;
	color: var(--ptech-cream) !important;
	font: 600 clamp(1.9rem, 3vw, 2.7rem)/1.1 var(--ptech-font-display) !important;
	letter-spacing: 0 !important;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.ptech-feature__excerpt {
	display: -webkit-box;
	margin-bottom: 26px;
	overflow: hidden;
	color: rgba(245, 239, 227, .72);
	font-size: 15.5px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.ptech-feature__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	border-top: 1px dashed rgba(245, 239, 227, .2);
}

.ptech-feature__meta {
	color: rgba(245, 239, 227, .6);
	font-size: 13.5px;
}

.ptech-feature__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--ptech-accent);
	color: var(--ptech-white);
	font: 600 14px/1 var(--ptech-font-body);
	box-shadow: 0 14px 26px -12px rgba(var(--ptech-accent-rgb), .9);
	transition: gap .3s var(--ptech-ease), background .3s var(--ptech-ease);
}

.ptech-feature__cta svg {
	fill: none;
	stroke: currentColor;
}

.ptech-feature:hover .ptech-feature__cta {
	gap: 14px;
	background: var(--ptech-accent-dark);
}

@media (max-width: 767px) {
	.ptech-feature {
		grid-template-columns: 1fr;
	}

	.ptech-feature::before {
		inset: 40% 0 0;
	}

	.ptech-feature__media {
		min-height: 240px;
	}

	.ptech-feature__media::after {
		background: linear-gradient(180deg, transparent 50%, #000202 100%);
	}

	.ptech-feature__body {
		padding: 8px 24px 28px;
	}
}

/* Search pill: [filter] [input] [go] */
.ptech-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	max-width: 640px;
	margin: 0 auto;
	padding: 6px;
	border: 1px solid var(--ptech-line);
	border-radius: 999px;
	background: var(--ptech-white);
	box-shadow: var(--ptech-shadow);
	text-align: left;
	transition: border-color .2s var(--ptech-ease), box-shadow .2s var(--ptech-ease);
}

.ptech-search:focus-within {
	border-color: var(--ptech-primary);
	box-shadow: 0 0 0 4px rgba(var(--ptech-primary-rgb), .18), var(--ptech-shadow);
}

.ptech-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 0;
	outline: 0;
	background: none;
	color: var(--ptech-ink);
	font-size: 16px;
	-webkit-appearance: none;
	appearance: none;
}

.ptech-search input[type="search"]::placeholder {
	color: #9aa1aa;
}

.ptech-search__go {
	display: grid;
	flex: none;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ptech-primary-700);
	color: var(--ptech-white);
	cursor: pointer;
	transition: background .2s var(--ptech-ease), transform .2s var(--ptech-ease);
}

.ptech-search__go:hover {
	background: var(--ptech-primary-800);
	transform: scale(1.05);
}

/* Category & month filter */
.ptech-filter {
	position: relative;
	flex: none;
}

.ptech-filter__trigger {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 14px 0 16px;
	border: 0;
	border-radius: 999px;
	background: var(--ptech-primary-50);
	color: var(--ptech-ink);
	text-align: left;
	cursor: pointer;
	transition: background .2s var(--ptech-ease);
}

.ptech-filter__trigger:hover,
.ptech-filter.is-open .ptech-filter__trigger {
	background: var(--ptech-primary-100);
}

.ptech-filter__icon {
	display: grid;
	color: var(--ptech-primary-700);
}

.ptech-filter__text {
	display: grid;
	line-height: 1.2;
}

.ptech-filter__label {
	color: var(--ptech-muted);
	font: 600 11px var(--ptech-font-heading);
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ptech-filter__value {
	max-width: 170px;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ptech-filter__caret {
	display: grid;
	color: var(--ptech-muted);
	transition: transform .2s var(--ptech-ease);
}

.ptech-filter.is-open .ptech-filter__caret {
	transform: rotate(180deg);
}

.ptech-filter__panel {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	z-index: 30;
	width: min(520px, calc(100vw - 40px));
	padding: 20px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius);
	background: var(--ptech-white);
	box-shadow: var(--ptech-shadow-lg);
}

.ptech-filter__panel[hidden] {
	display: none;
}

.ptech-filter__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 20px;
}

.ptech-filter__head {
	margin: 0 0 8px !important;
	color: var(--ptech-muted);
	font: 700 11px var(--ptech-font-heading);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ptech-filter__list {
	max-height: 240px;
	margin: 0;
	padding: 0;
	overflow-y: auto;
	list-style: none;
}

.ptech-filter__opt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 8px 12px;
	border: 0;
	border-radius: var(--ptech-radius-sm);
	background: none;
	color: var(--ptech-text);
	font-size: 14.5px;
	text-align: left;
	cursor: pointer;
}

.ptech-filter__opt:hover {
	background: var(--ptech-bg-soft);
}

.ptech-filter__opt.is-active {
	background: var(--ptech-primary-50);
	color: var(--ptech-primary-800);
	font-weight: 600;
}

.ptech-filter__count {
	min-width: 26px;
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--ptech-bg-soft);
	color: var(--ptech-muted);
	font-size: 12px;
	text-align: center;
}

.ptech-filter__foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--ptech-line);
}

.ptech-filter__clear {
	padding: 8px 4px;
	border: 0;
	background: none;
	color: var(--ptech-muted);
	font: 600 14px var(--ptech-font-heading);
	cursor: pointer;
}

.ptech-filter__clear:hover {
	color: var(--ptech-ink);
}

.ptech-filter__apply {
	padding: 10px 20px;
}


/* ==========================================================================
   Listing + post cards
   ========================================================================== */
.ptech-main {
	background: var(--ptech-white);
}

.ptech-main__head {
	margin-bottom: 28px;
}

.ptech-main__eyebrow {
	color: var(--ptech-accent);
	font-weight: 600;
}

.ptech-main__title,
.ptech-cat-block__title {
	margin: 0 !important;
	font: 600 clamp(2rem, 3.4vw, 2.8rem)/1.1 var(--ptech-font-display) !important;
	letter-spacing: 0 !important;
}

.ptech-posts {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
}

.ptech-posts--2col {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ptech-posts--cat,
.ptech-posts--search,
.ptech-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

/* Plated card: full-width photo with a frosted category tag + read-time chip,
   and a white panel that overlaps the photo's lower edge. */
.ptech-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	color: var(--ptech-text) !important;
}

.ptech-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3.3;
	overflow: hidden;
	border-radius: 26px;
	background: var(--ptech-cream);
	isolation: isolate;
	box-shadow: 0 26px 40px -30px rgba(44, 41, 38, .6);
}

/* Soft shade at the top so the tags stay readable on any photo. */
.ptech-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, transparent 32%, transparent 70%, rgba(0, 0, 0, .18) 100%);
	pointer-events: none;
}

.ptech-card__img,
.ptech-card__noimg {
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1s var(--ptech-ease);
}

.ptech-card:hover .ptech-card__img {
	transform: scale(1.07);
}

.ptech-card__noimg {
	display: grid;
	place-items: center;
	background: linear-gradient(160deg, #f6efe3 0%, #ebe1cf 100%);
}

.ptech-card__noimg img {
	width: 50%;
	max-width: 180px;
}

/* Frosted tags on the photo. */
.ptech-card__cat,
.ptech-card__time {
	position: absolute;
	top: 16px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 13px;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 999px;
	background: rgba(0, 0, 0, .28);
	color: var(--ptech-white);
	font: 600 11px/1 var(--ptech-font-body);
	letter-spacing: .12em;
	text-transform: uppercase;
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.ptech-card__cat {
	left: 16px;
}

.ptech-card__cat::before {
	content: "\2726";
	color: var(--ptech-accent-soft);
	font-size: 10px;
}

.ptech-card__time {
	right: 16px;
	letter-spacing: .04em;
	text-transform: none;
}

/* The plate: white panel lifted over the photo's edge. */
.ptech-card__body {
	position: relative;
	z-index: 1;
	display: flex;
	flex: 1;
	flex-direction: column;
	margin: -64px 14px 0;
	padding: 22px 24px 22px;
	border: 1px solid var(--ptech-line);
	border-radius: 22px;
	background: var(--ptech-white);
	box-shadow: 0 22px 40px -28px rgba(44, 41, 38, .5);
	transition: transform .45s var(--ptech-ease), box-shadow .45s var(--ptech-ease);
}

/* Small red notch at the top of the plate. */
.ptech-card__body::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 24px;
	width: 44px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: var(--ptech-accent);
	transition: width .45s var(--ptech-ease);
}

.ptech-card:hover .ptech-card__body {
	box-shadow: 0 30px 50px -28px rgba(var(--ptech-primary-rgb), .5);
	transform: translateY(-6px);
}

.ptech-card:hover .ptech-card__body::before {
	width: 90px;
}

.ptech-card__date {
	margin-bottom: 8px;
	color: var(--ptech-muted);
	font: 500 12.5px/1 var(--ptech-font-body);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ptech-card__title {
	display: -webkit-box;
	margin: 0 0 10px !important;
	overflow: hidden;
	color: var(--ptech-ink) !important;
	font: 600 clamp(1.4rem, 1.9vw, 1.65rem)/1.18 var(--ptech-font-display) !important;
	letter-spacing: 0 !important;
	transition: color .3s var(--ptech-ease);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ptech-card:hover .ptech-card__title {
	color: var(--ptech-primary) !important;
}

.ptech-card__excerpt {
	display: -webkit-box;
	margin-bottom: 18px;
	overflow: hidden;
	color: var(--ptech-muted);
	font-size: 14.5px;
	line-height: 1.65;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ptech-card__more {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px dashed rgba(var(--ptech-primary-rgb), .22);
	color: var(--ptech-primary);
	font: 600 14px/1 var(--ptech-font-body);
}

/* Underline that draws in on hover. */
.ptech-card__more-text {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	padding-bottom: 3px;
	transition: background-size .4s var(--ptech-ease);
}

.ptech-card:hover .ptech-card__more-text {
	background-size: 100% 1.5px;
}

.ptech-card__go {
	display: grid;
	flex: none;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ptech-cream);
	color: var(--ptech-primary);
	transition: background .3s var(--ptech-ease), color .3s var(--ptech-ease), transform .3s var(--ptech-ease);
}

.ptech-card:hover .ptech-card__go {
	background: var(--ptech-accent);
	color: var(--ptech-white);
	transform: translateX(3px) rotate(-45deg);
}

/* Flat card (no image): the plate alone, category as a red label. */
.ptech-card.is-flat .ptech-card__body {
	margin: 0;
}

.ptech-card.is-flat .ptech-card__cat {
	position: static;
	align-self: flex-start;
	margin-bottom: 12px;
	border: 0;
	background: none;
	color: var(--ptech-accent);
	padding: 0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* Load more */
.ptech-loadmore-wrap {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.ptech-loadmore {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 28px;
	border: 2px solid var(--ptech-primary-700);
	border-radius: 999px;
	background: var(--ptech-white);
	color: var(--ptech-primary-700);
	font: 600 14px var(--ptech-font-heading);
	cursor: pointer;
	transition: background .2s var(--ptech-ease), color .2s var(--ptech-ease);
}

.ptech-loadmore:hover {
	background: var(--ptech-primary-700);
	color: var(--ptech-white);
}

.ptech-loadmore.is-loading .ptech-loadmore__wave span {
	display: inline-block;
	animation: ptech-wave 1s ease-in-out infinite;
	animation-delay: calc(var(--i) * .08s);
}

@keyframes ptech-wave {
	0%, 100% { transform: none; }
	50% { transform: translateY(-4px); }
}

/* ==========================================================================
   Category blocks (home, below the listing)
   ========================================================================== */
.ptech-cat-blocks {
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(var(--ptech-primary-rgb), .06), transparent 70%),
		var(--ptech-bg-soft);
	border-top: 1px solid var(--ptech-line);
}

.ptech-cat-block + .ptech-cat-block {
	margin-top: 56px;
}

.ptech-cat-block__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}

.ptech-cat-block__title {
	font-size: clamp(1.7rem, 2.6vw, 2.2rem) !important;
}

.ptech-cat-block__title a {
	color: var(--ptech-ink) !important;
}

.ptech-cat-block__count {
	color: var(--ptech-accent);
	font: 500 .55em var(--ptech-font-body);
	vertical-align: middle;
}

.ptech-cat-block__viewall {
	flex: none;
	padding: 8px 16px;
	border: 1px solid var(--ptech-line);
	border-radius: 999px;
	background: var(--ptech-white);
	font: 600 13.5px var(--ptech-font-heading);
}

.ptech-cat-block__viewall:hover {
	border-color: var(--ptech-primary);
}

/* ==========================================================================
   Sidebar
   ========================================================================== */
.ptech-sidebar__inner {
	position: sticky;
	top: var(--ptech-side-top, 100px);
	display: grid;
	gap: 24px;
}

.ptech-widget {
	padding: 24px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius);
	background: var(--ptech-white);
}

.ptech-widget__title,
.ptech-popular__title {
	position: relative;
	display: block;
	margin-bottom: 18px;
	padding-left: 14px;
	color: var(--ptech-ink);
	font: 700 16px/1.3 var(--ptech-font-heading);
}

.ptech-widget__title::before,
.ptech-popular__title::before {
	content: "";
	position: absolute;
	top: 3px;
	bottom: 3px;
	left: 0;
	width: 4px;
	border-radius: 4px;
	background: var(--ptech-primary);
}

/* Latest posts */
.ptech-latest {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptech-latest__link {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ptech-latest__thumb {
	display: block;
	flex: none;
	width: 68px;
	height: 68px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--ptech-primary-50);
}

.ptech-latest__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ptech-latest__thumb--empty {
	display: grid;
	place-items: center;
}

.ptech-latest__thumb--empty img {
	width: 70%;
	height: auto;
	object-fit: contain;
}

.ptech-latest__body {
	display: grid;
	gap: 4px;
	min-width: 0;
}

.ptech-latest__title {
	display: -webkit-box;
	overflow: hidden;
	color: var(--ptech-ink);
	font: 600 14.5px/1.4 var(--ptech-font-heading);
	transition: color .2s;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.ptech-latest__link:hover .ptech-latest__title {
	color: var(--ptech-primary-700);
}

.ptech-latest__date {
	color: var(--ptech-muted);
	font-size: 13px;
}

/* Popular posts (single) */
.ptech-popular__list {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pop;
}

.ptech-popular__list li {
	position: relative;
	padding: 12px 0 12px 44px;
	border-top: 1px solid var(--ptech-line);
	counter-increment: pop;
}

.ptech-popular__list li:first-child {
	padding-top: 0;
	border-top: 0;
}

.ptech-popular__list li::before {
	content: counter(pop, decimal-leading-zero);
	position: absolute;
	top: 12px;
	left: 0;
	color: var(--ptech-primary-100);
	font: 700 26px/1 var(--ptech-font-heading);
}

.ptech-popular__list li:first-child::before {
	top: 0;
}

.ptech-popular__cat {
	display: block;
	margin-bottom: 2px;
	color: var(--ptech-primary-700);
	font: 700 11px var(--ptech-font-heading);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ptech-popular__link {
	color: var(--ptech-ink) !important;
	font: 600 14.5px/1.4 var(--ptech-font-heading);
}

.ptech-popular__link:hover {
	color: var(--ptech-primary-700) !important;
}

/* Categories */
.ptech-cats {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptech-cats__item a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--ptech-radius-sm);
	color: var(--ptech-text) !important;
	font-weight: 500;
	transition: background .2s var(--ptech-ease);
}

.ptech-cats__item a:hover {
	background: var(--ptech-primary-50);
	color: var(--ptech-primary-800) !important;
}

.ptech-cats__count {
	min-width: 28px;
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--ptech-bg-soft);
	color: var(--ptech-muted);
	font-size: 12.5px;
	font-weight: 600;
	text-align: center;
}

.ptech-cats__item a:hover .ptech-cats__count {
	background: var(--ptech-primary-700);
	color: var(--ptech-white);
}

/* Follow us */
.ptech-social {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptech-social__link {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--ptech-bg-soft);
	color: var(--social-color, var(--ptech-primary-700)) !important;
	font-size: 17px;
	transition: background .2s var(--ptech-ease), color .2s var(--ptech-ease), transform .2s var(--ptech-ease);
}

.ptech-social__link:hover {
	background: var(--social-color, var(--ptech-primary-700));
	color: var(--ptech-white) !important;
	transform: translateY(-2px);
}

/* Instagram feed (Instagram Feed CPT) */
.ig-feed__head {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-bottom: 16px;
}

.ig-feed__avatar {
	flex: none;
	width: 56px;
	height: 56px;
	padding: 2px;
	overflow: hidden;
	border-radius: 50%;
	background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}

.ig-feed__avatar img {
	width: 100%;
	height: 100%;
	border: 2px solid var(--ptech-white);
	border-radius: 50%;
	object-fit: cover;
}

.ig-feed__meta {
	min-width: 0;
}

.ig-feed__name {
	color: var(--ptech-ink) !important;
	font: 700 15px var(--ptech-font-heading);
}

.ig-feed__bio {
	margin: 4px 0 6px !important;
	color: var(--ptech-muted);
	font-size: 13px;
	line-height: 1.45;
}

.ig-feed__links {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--ptech-primary-700);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.ig-feed__links-more {
	color: var(--ptech-muted);
	font-weight: 500;
}

.ig-feed__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
}

.ig-feed__grid.is-clamped .ig-feed__item:nth-child(n+7) {
	display: none;
}

.ig-feed__item {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 8px;
}

.ig-feed__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .4s var(--ptech-ease);
}

.ig-feed__item:hover img {
	transform: scale(1.07);
}

.ig-feed__actions {
	display: grid;
	grid-auto-flow: column;
	gap: 8px;
	margin-top: 14px;
}

.ig-feed__btn {
	padding: 10px 14px;
	border: 1px solid var(--ptech-line);
	border-radius: 999px;
	background: var(--ptech-white);
	color: var(--ptech-ink) !important;
	font: 600 13px var(--ptech-font-heading);
	text-align: center;
	cursor: pointer;
}

.ig-feed__btn--follow {
	border-color: transparent;
	background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888);
	color: var(--ptech-white) !important;
}

.ig-links {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: grid;
	place-items: center;
}

.ig-links[hidden] {
	display: none;
}

.ig-links__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(20, 26, 33, .55);
}

.ig-links__box {
	position: relative;
	width: min(400px, calc(100vw - 32px));
	overflow: hidden;
	border-radius: var(--ptech-radius);
	background: var(--ptech-white);
	box-shadow: var(--ptech-shadow-lg);
}

.ig-links__head {
	position: relative;
	padding: 14px;
	border-bottom: 1px solid var(--ptech-line);
	text-align: center;
}

.ig-links__title {
	margin: 0 !important;
	font: 700 15px var(--ptech-font-heading);
}

.ig-links__close {
	position: absolute;
	top: 10px;
	left: 10px;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: none;
	cursor: pointer;
}

.ig-links__list {
	margin: 0;
	padding: 8px;
	list-style: none;
}

.ig-links__list a {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px;
	border-radius: var(--ptech-radius-sm);
	color: var(--ptech-ink) !important;
}

.ig-links__list a:hover {
	background: var(--ptech-bg-soft);
}

.ig-links__icon {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ptech-bg-soft);
}

.ig-links__text {
	display: grid;
}

.ig-links__label {
	font-weight: 600;
}

.ig-links__url {
	color: var(--ptech-muted);
	font-size: 13px;
}

/* ==========================================================================
   Archive / category / search headers + breadcrumb
   ========================================================================== */
.ptech-cat-header {
	position: relative;
	padding: 56px 0 52px;
	border-bottom: 1px solid var(--ptech-line);
	background:
		radial-gradient(520px 240px at 95% 0%, rgba(var(--ptech-primary-rgb), .2), transparent 70%),
		linear-gradient(180deg, var(--ptech-primary-50), var(--ptech-bg-soft));
}

.ptech-cat-header > .ptech-container {
	position: relative;
	z-index: 2;
}

.ptech-cat-header__main {
	max-width: 760px;
}

.ptech-cat-header__titlerow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.ptech-cat-header__title {
	margin: 0 !important;
	font-size: clamp(2rem, 4.4vw, 3rem);
	letter-spacing: -.02em !important;
}

.ptech-cat-header__count {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ptech-white);
	box-shadow: var(--ptech-shadow-sm);
	color: var(--ptech-muted);
	font: 600 13px var(--ptech-font-heading);
}

.ptech-cat-header__countnum {
	color: var(--ptech-primary-700);
	font-size: 15px;
}

.ptech-cat-header__desc {
	max-width: 640px;
	margin-top: 14px;
	color: var(--ptech-muted);
	font-size: 1.05rem;
}

.ptech-cat-header__desc p:last-child {
	margin: 0;
}

.ptech-search-head__form {
	max-width: 640px;
	margin-top: 26px;
}

.ptech-search-head__form .ptech-search {
	margin: 0;
}

.ptech-breadcrumb {
	margin-bottom: 18px;
	color: var(--ptech-muted);
	font: 600 13px/1.5 var(--ptech-font-heading);
}

.ptech-breadcrumb p {
	margin: 0 !important;
}

.ptech-breadcrumb a {
	color: var(--ptech-muted) !important;
}

.ptech-breadcrumb a:hover {
	color: var(--ptech-primary-700) !important;
}

.ptech-breadcrumb .sep,
.ptech-breadcrumb .separator {
	margin: 0 6px;
	color: #b9bfc6;
}

.ptech-breadcrumb .current,
.ptech-breadcrumb .last {
	color: var(--ptech-ink);
}

.ptech-archive-head {
	margin-bottom: 36px;
}

.ptech-archive-head__title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.ptech-archive-head__desc {
	color: var(--ptech-muted);
}

/* No search results */
.ptech-noresults {
	max-width: 560px;
	margin: 0 auto;
	padding: 24px 0;
	text-align: center;
}

.ptech-noresults__icon {
	display: inline-grid;
	place-items: center;
	width: 72px;
	height: 72px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: var(--ptech-primary-50);
	color: var(--ptech-primary-700);
}

.ptech-noresults__title {
	font-size: 1.6rem;
}

.ptech-noresults__text {
	color: var(--ptech-muted);
}

.ptech-noresults__form {
	margin-top: 24px;
}

/* ==========================================================================
   Single post: full-bleed hero, share rail, tags, prev/next
   ========================================================================== */
.ptech-progress {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1040;
	height: 3px;
	pointer-events: none;
}

.ptech-progress span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--ptech-accent), var(--ptech-primary));
	transform: scaleX(0);
	transform-origin: 0 50%;
}

.admin-bar .ptech-progress {
	top: 32px;
}

/* ---- Hero: light and clear — title block on the left, the cover photo on the
   right in a framed card with a dashed offset outline. Slides up under the
   fixed root header on the same cream as the root site. ---- */
.ptech-post-hero {
	position: relative;
	isolation: isolate;
	margin-top: -150px;
	padding: 150px 0 clamp(56px, 6vw, 88px);
	overflow: hidden;
	background:
		radial-gradient(560px 380px at 100% 30%, rgba(var(--ptech-primary-rgb), .1), transparent 70%),
		radial-gradient(460px 320px at 0% 100%, rgba(var(--ptech-accent-rgb), .06), transparent 70%),
		var(--ptech-cream);
}

/* The root site's spice pattern, very faint. */
.ptech-post-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: var(--ptech-pattern, none);
	background-size: 240px;
	opacity: .045;
}

.ptech-post-hero__panel {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
	padding-top: clamp(28px, 3.4vw, 48px);
}

.ptech-post-hero__inner > * {
	animation: ptech-rise .8s var(--ptech-ease) backwards;
}

.ptech-post-hero__inner > :nth-child(2) { animation-delay: .06s; }
.ptech-post-hero__inner > :nth-child(3) { animation-delay: .12s; }
.ptech-post-hero__inner > :nth-child(4) { animation-delay: .18s; }
.ptech-post-hero__inner > :nth-child(5) { animation-delay: .24s; }

.ptech-post-hero .ptech-breadcrumb {
	margin-bottom: 24px;
	color: var(--ptech-muted);
}

.ptech-post-hero .ptech-breadcrumb a {
	color: var(--ptech-ink) !important;
}

.ptech-post-hero .ptech-breadcrumb a:hover {
	color: var(--ptech-primary) !important;
}

/* The current page is already the H1 right below — keep the trail short. */
.ptech-post-hero .ptech-breadcrumb .current,
.ptech-post-hero .ptech-breadcrumb .last {
	display: inline-block;
	max-width: 32ch;
	overflow: hidden;
	color: var(--ptech-muted);
	text-overflow: ellipsis;
	white-space: nowrap;
	vertical-align: bottom;
}

.ptech-post__cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	color: var(--ptech-accent) !important;
	font: 600 12.5px/1.2 var(--ptech-font-body);
	letter-spacing: .2em;
	text-transform: uppercase;
	transition: color .2s var(--ptech-ease);
}

.ptech-post__cat::before,
.ptech-post__cat::after {
	content: "\2726";
	font-size: 10px;
}

.ptech-post__cat:hover {
	color: var(--ptech-primary) !important;
}

.ptech-blog .ptech-post__title {
	margin: 0 0 20px;
	color: var(--ptech-ink);
	font: 600 clamp(2.3rem, 4.4vw, 3.8rem)/1.1 var(--ptech-font-display);
	letter-spacing: 0;
	text-wrap: balance;
}

.ptech-post__lead {
	max-width: 600px;
	margin: 0 0 28px !important;
	color: var(--ptech-muted);
	font-size: clamp(16px, 1.35vw, 18px);
	line-height: 1.7;
}

.ptech-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	padding-top: 22px;
	border-top: 1px dashed rgba(var(--ptech-primary-rgb), .25);
}

.ptech-post__author {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ptech-ink) !important;
}

.ptech-post__avatar {
	display: block;
	flex: none;
	width: 46px;
	height: 46px;
	overflow: hidden;
	border: 3px solid var(--ptech-white);
	border-radius: 50%;
	background: var(--ptech-primary-50);
	box-shadow: 0 0 0 1.5px var(--ptech-primary);
}

.ptech-post__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ptech-post__by {
	display: grid;
	font: 600 15px/1.25 var(--ptech-font-body);
	text-align: left;
}

.ptech-post__by small {
	color: var(--ptech-muted);
	font: 500 11px var(--ptech-font-body);
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ptech-post__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptech-post__facts li {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 9px 15px;
	border: 1px solid var(--ptech-line);
	border-radius: 999px;
	background: var(--ptech-white);
	box-shadow: var(--ptech-shadow-sm);
	color: var(--ptech-text);
	font-size: 13px;
	line-height: 1;
}

.ptech-post__facts svg {
	color: var(--ptech-primary);
}

/* Cover: a clean framed photo with a dashed teal outline offset behind it. */
.ptech-post-cover {
	position: relative;
	z-index: 0;
	margin: 0 18px 18px 0;
	animation: ptech-rise .9s .2s var(--ptech-ease) backwards;
}

.ptech-post-cover::before {
	content: "";
	position: absolute;
	inset: 18px -18px -18px 18px;
	z-index: -1;
	border: 1.5px dashed rgba(var(--ptech-primary-rgb), .45);
	border-radius: 30px;
}

.ptech-post-cover__arch {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 8px solid var(--ptech-white);
	border-radius: 30px;
	background: var(--ptech-white);
	box-shadow: 0 34px 60px -30px rgba(44, 41, 38, .45);
}

.ptech-post-cover img {
	display: block;
	width: 100%;
	height: 100% !important;
	border-radius: 22px;
	object-fit: cover;
}

/* Read-time seal on the photo's corner. */
.ptech-post-cover__seal {
	position: absolute;
	bottom: -20px;
	left: -20px;
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: var(--ptech-accent);
	box-shadow: 0 0 0 6px var(--ptech-cream), 0 18px 28px -10px rgba(var(--ptech-accent-rgb), .6);
	color: var(--ptech-white);
	font: 600 10px/1.2 var(--ptech-font-body);
	letter-spacing: .14em;
	text-align: center;
	text-transform: uppercase;
	transform: rotate(-8deg);
}

.ptech-post-cover__seal b {
	display: block;
	font: 600 26px/1 var(--ptech-font-body);
	letter-spacing: 0;
}

/* ---- Body: share rail + article ---- */
.ptech-single-wrap {
	padding-top: clamp(28px, 4vw, 48px);
}

.ptech-single__layout {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.ptech-share {
	position: sticky;
	top: 110px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.ptech-share__label {
	margin-bottom: 4px;
	color: var(--ptech-muted);
	font: 700 10.5px/1 var(--ptech-font-heading);
	letter-spacing: .14em;
	text-transform: uppercase;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.ptech-share__btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--ptech-line);
	border-radius: 50%;
	background: var(--ptech-white);
	color: var(--ptech-text) !important;
	font-size: 15px;
	cursor: pointer;
	transition: background .25s var(--ptech-ease), color .25s var(--ptech-ease), border-color .25s var(--ptech-ease), transform .25s var(--ptech-ease);
}

.ptech-share__btn svg {
	width: 17px;
	height: 17px;
}

.ptech-share__btn:hover,
.ptech-share__btn.is-copied {
	border-color: var(--ptech-primary);
	background: var(--ptech-primary);
	color: var(--ptech-white) !important;
	transform: translateY(-2px);
}

.ptech-share__btn.is-copied::after {
	content: "Copied!";
	position: absolute;
	left: calc(100% + 10px);
	padding: 5px 10px;
	border-radius: 8px;
	background: var(--ptech-ink);
	color: var(--ptech-white);
	font: 600 12px/1 var(--ptech-font-heading);
	white-space: nowrap;
}

/* Lead-in: the first paragraph reads a size up, with an Italiana drop cap. */
.ptech-single__content > p:first-of-type {
	color: var(--ptech-ink);
	font-size: 1.12em;
	line-height: 1.75;
}

.ptech-single__content > p:first-of-type:not(:has(> strong:only-child, > b:only-child))::first-letter {
	float: left;
	margin: .06em .14em 0 0;
	color: var(--ptech-accent);
	font: 600 3.6em/.85 var(--ptech-font-display);
}

/* ---- Tags ---- */
.ptech-post__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 40px 0 0;
	padding-top: 28px;
	border-top: 1px solid var(--ptech-line);
}

.ptech-post__tags-label {
	margin-right: 6px;
	color: var(--ptech-ink);
	font: 700 12px var(--ptech-font-heading);
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ptech-post__tags a {
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--ptech-primary-50);
	color: var(--ptech-primary-800) !important;
	font: 600 13px/1.2 var(--ptech-font-heading);
	transition: background .2s var(--ptech-ease), color .2s var(--ptech-ease);
}

.ptech-post__tags a:hover {
	background: var(--ptech-primary);
	color: var(--ptech-white) !important;
}

/* ---- Previous / next ---- */
.ptech-postnav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 32px;
}

.ptech-postnav__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius);
	background: var(--ptech-white);
	color: var(--ptech-ink) !important;
	transition: border-color .25s var(--ptech-ease), box-shadow .25s var(--ptech-ease), transform .25s var(--ptech-ease);
}

.ptech-postnav__item:hover {
	border-color: transparent;
	box-shadow: var(--ptech-shadow);
	transform: translateY(-3px);
}

.ptech-postnav__item--next {
	flex-direction: row-reverse;
	text-align: right;
}

.ptech-postnav__img {
	display: block;
	flex: none;
	width: 72px;
	height: 72px;
	overflow: hidden;
	border-radius: 12px;
	background: var(--ptech-primary-50);
}

.ptech-postnav__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ptech-postnav__text {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.ptech-postnav__label {
	color: var(--ptech-primary-700);
	font: 700 11px/1 var(--ptech-font-heading);
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ptech-postnav__title {
	display: -webkit-box;
	overflow: hidden;
	font: 700 15px/1.35 var(--ptech-font-heading);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

@media (max-width: 1100px) {
	.ptech-single__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	/* Rail becomes a row above the article. */
	.ptech-share {
		position: static;
		flex-direction: row;
		flex-wrap: wrap;
		margin-bottom: 28px;
	}

	.ptech-share__label {
		margin: 0 6px 0 0;
		writing-mode: horizontal-tb;
		transform: none;
	}

	.ptech-share__btn.is-copied::after {
		top: calc(100% + 8px);
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (max-width: 991px) {
	.ptech-post-hero {
		margin-top: -110px;
		padding-top: 110px;
	}

	.ptech-post-hero__panel {
		grid-template-columns: 1fr;
	}

	.ptech-post-cover {
		width: min(calc(100% - 18px), 560px);
		margin: 8px 18px 18px 0;
	}
}

@media (max-width: 767px) {
	.ptech-post-cover__seal {
		left: -8px;
		width: 76px;
		height: 76px;
	}

	.ptech-post-cover__arch {
		border-width: 5px;
		border-radius: 22px;
	}

	.ptech-post__facts li {
		padding: 8px 12px;
		font-size: 12.5px;
	}

	.ptech-share {
		gap: 8px;
	}

	.ptech-share__btn {
		width: 38px;
		height: 38px;
		font-size: 14px;
	}

	.ptech-postnav {
		grid-template-columns: 1fr;
	}

	.ptech-postnav__spacer {
		display: none;
	}
}

/* ---- Article accents ---- */
.ptech-single__content h2 {
	position: relative;
	padding-left: 18px;
}

.ptech-single__content h2::before {
	content: "";
	position: absolute;
	top: .18em;
	bottom: .18em;
	left: 0;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, #ff9a5c, var(--ptech-primary-700));
}

.ptech-single .ptech-single__content blockquote {
	padding-top: 44px;
}

.ptech-single .ptech-single__content blockquote::before {
	content: "\201C";
	position: absolute;
	top: 6px;
	left: 30px;
	color: var(--ptech-primary);
	font: 400 64px/1 Georgia, serif;
	opacity: .5;
}

.ptech-single__content :is(figure, img, .wp-block-image img) {
	border-radius: var(--ptech-radius);
}

/* ==========================================================================
   Article typography
   ========================================================================== */
.ptech-single__content,
.ptech-page__content {
	color: var(--ptech-text);
	font-size: 18px;
	line-height: 1.85;
}

.ptech-single__content > *:first-child,
.ptech-page__content > *:first-child {
	margin-top: 0;
}

.ptech-single__content h1,
.ptech-single__content h2,
.ptech-page__content h1,
.ptech-page__content h2 {
	margin: 2em 0 .7em;
	font-size: 1.6rem;
	text-align: left !important;
}

.ptech-single__content h3,
.ptech-page__content h3 {
	margin: 1.8em 0 .6em;
	font-size: 1.3rem;
	text-align: left !important;
}

.ptech-single__content h4,
.ptech-page__content h4 {
	margin: 1.6em 0 .5em;
	font-size: 1.1rem;
}

.ptech-single__content strong,
.ptech-page__content strong {
	color: var(--ptech-ink);
	font-weight: 700;
}

.ptech-single__content a,
.ptech-page__content a {
	text-decoration: underline;
	text-decoration-color: rgba(var(--ptech-primary-rgb), .35);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}

.ptech-single__content a:hover,
.ptech-page__content a:hover {
	text-decoration-color: currentColor;
}

.ptech-single__content ul,
.ptech-single__content ol,
.ptech-page__content ul,
.ptech-page__content ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}

.ptech-single__content li,
.ptech-page__content li {
	margin-bottom: .5em;
	padding-left: .2em;
}

.ptech-single__content ul li::marker,
.ptech-page__content ul li::marker {
	color: var(--ptech-primary);
}

.ptech-single__content ol li::marker,
.ptech-page__content ol li::marker {
	color: var(--ptech-primary-700);
	font-family: var(--ptech-font-heading);
	font-weight: 700;
}

.ptech-single__content blockquote,
.ptech-page__content blockquote {
	position: relative;
	margin: 2em 0;
	padding: 26px 30px 26px 34px;
	border-left: 4px solid var(--ptech-primary);
	border-radius: 0 var(--ptech-radius) var(--ptech-radius) 0;
	background: var(--ptech-primary-50);
	color: var(--ptech-ink);
	font-size: 1.12em;
	font-style: italic;
}

.ptech-single__content blockquote p:last-child,
.ptech-page__content blockquote p:last-child {
	margin: 0;
}

.ptech-single__content img,
.ptech-page__content img {
	border-radius: var(--ptech-radius);
}

.ptech-single__content .aligncenter,
.ptech-page__content .aligncenter {
	display: block;
	margin: 2em auto;
}

.ptech-single__content .alignleft {
	float: left;
	margin: .4em 1.6em 1em 0;
}

.ptech-single__content .alignright {
	float: right;
	margin: .4em 0 1em 1.6em;
}

.ptech-single__content figure {
	margin: 2em 0;
}

.ptech-single__content figcaption,
.ptech-single__content .wp-caption-text {
	margin-top: 10px;
	color: var(--ptech-muted);
	font-size: 14.5px;
	text-align: center;
}

.ptech-single__content .wp-caption {
	max-width: 100%;
}

.ptech-single__content hr {
	margin: 3em 0;
	border: 0;
	border-top: 1px solid var(--ptech-line);
}

.ptech-single__content table {
	width: 100%;
	margin: 0 0 1.6em;
	border-collapse: collapse;
	font-size: .92em;
}

.ptech-single__content th,
.ptech-single__content td {
	padding: 11px 14px;
	border: 1px solid var(--ptech-line);
	text-align: left;
}

.ptech-single__content th {
	background: var(--ptech-primary-50);
	color: var(--ptech-ink);
	font-family: var(--ptech-font-heading);
}

.ptech-single__content iframe {
	width: 100%;
	border: 0;
	border-radius: var(--ptech-radius);
}

.ptech-single__content::after {
	content: "";
	display: table;
	clear: both;
}

/* Table of contents (Easy TOC plugin) */
.ptech-single__content #ez-toc-container {
	width: 100%;
	margin: 0 0 2em;
	padding: 20px 24px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius);
	background: var(--ptech-bg-soft);
	box-shadow: none;
	font-size: 15.5px;
}

.ptech-single__content #ez-toc-container a {
	text-decoration: none;
}

#ez-toc-container.ptech-toc-sticky {
	position: fixed;
	top: 57px;
	right: 0;
	left: 0;
	z-index: 900;
	border-radius: 0;
}

/* Rank Math FAQ */
.ptech-single__content .rank-math-list-item {
	margin-bottom: 14px;
	padding: 18px 20px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius);
}

.ptech-single__content .rank-math-question {
	display: inline;
	margin: 0 !important;
	font-size: 1.08rem;
}

.ptech-single__content .rank-math-answer {
	margin-top: 8px;
}

.faq-label {
	display: inline-grid;
	place-items: center;
	width: 26px;
	height: 26px;
	margin-right: 10px;
	border-radius: 8px;
	font: 700 13px var(--ptech-font-heading);
	vertical-align: 2px;
}

.faq-label-q {
	background: var(--ptech-primary-700);
	color: var(--ptech-white);
}

.faq-label-a {
	float: left;
	margin-top: 6px;
	background: var(--ptech-primary-50);
	color: var(--ptech-primary-800);
}

/* ==========================================================================
   Author card (after the post) + author page
   ========================================================================== */
.ptech-me,
.ptech-author {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin-top: 48px;
	padding: 28px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius-lg);
	background: linear-gradient(135deg, var(--ptech-primary-50), var(--ptech-white) 70%);
}

.ptech-me__photo,
.ptech-author__avatar {
	display: block;
	flex: none;
	width: 88px;
	height: 88px;
	overflow: hidden;
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--ptech-white), var(--ptech-shadow-sm);
}

.ptech-me__photo img,
.ptech-author__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ptech-me__body,
.ptech-author__body {
	min-width: 0;
}

.ptech-me__label,
.ptech-author__label {
	color: var(--ptech-muted);
	font: 700 11px var(--ptech-font-heading);
	letter-spacing: .12em;
	text-transform: uppercase;
}

.ptech-me__hi,
.ptech-author__name {
	margin: 4px 0 2px !important;
	color: var(--ptech-ink);
	font: 700 1.25rem/1.3 var(--ptech-font-heading);
}

.ptech-author__name-link {
	color: inherit !important;
}

.ptech-me__job,
.ptech-author__job {
	display: block;
	margin-bottom: 10px;
	color: var(--ptech-primary-700);
	font-size: 14px;
	font-weight: 600;
}

.ptech-me__bio,
.ptech-author__bio {
	margin-bottom: 14px !important;
	color: var(--ptech-muted);
	font-size: 15.5px;
}

.ptech-me__foot,
.ptech-author__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.ptech-me__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 600 14px var(--ptech-font-heading);
}

.ptech-me__socials,
.ptech-author__socials,
.ptech-author-hero__socials {
	display: flex;
	gap: 8px;
}

.ptech-me__socials a,
.ptech-author__socials a,
.ptech-author-hero__socials a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--ptech-line);
	border-radius: 50%;
	background: var(--ptech-white);
	color: var(--ptech-text) !important;
	transition: border-color .2s, color .2s;
}

.ptech-me__socials a:hover,
.ptech-author__socials a:hover,
.ptech-author-hero__socials a:hover {
	border-color: var(--ptech-primary);
	color: var(--ptech-primary-700) !important;
}

/* Author archive */
.ptech-author-hero {
	position: relative;
}

.ptech-author-hero__banner {
	height: clamp(160px, 22vw, 260px);
	background-position: center;
	background-size: cover;
}

.ptech-author-hero__banner--default {
	background:
		radial-gradient(500px 220px at 85% 0%, rgba(var(--ptech-primary-rgb), .45), transparent 70%),
		linear-gradient(135deg, #2d4a17, var(--ptech-dark));
}

.ptech-author-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: -64px;
	text-align: center;
}

.ptech-author-hero__photo {
	width: 128px;
	height: 128px;
	margin-bottom: 16px;
	overflow: hidden;
	border-radius: 50%;
	box-shadow: 0 0 0 6px var(--ptech-white), var(--ptech-shadow);
}

.ptech-author-hero__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ptech-author-hero__name {
	margin-bottom: 4px !important;
	font-size: clamp(1.8rem, 3.6vw, 2.4rem);
}

.ptech-author-hero__job {
	margin-bottom: 16px !important;
	color: var(--ptech-primary-700);
	font-weight: 600;
}

.ptech-author-stats {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin: 36px 0 8px;
}

.ptech-author-stat {
	display: grid;
	min-width: 150px;
	padding: 18px 24px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius);
	text-align: center;
}

.ptech-author-stat__num {
	color: var(--ptech-primary-700);
	font: 700 1.8rem/1.1 var(--ptech-font-heading);
}

.ptech-author-stat__label {
	color: var(--ptech-muted);
	font-size: 14px;
}

.ptech-author-bio {
	max-width: 760px;
	margin: 32px auto 0;
	font-size: 17px;
	line-height: 1.85;
}

.ptech-author-cta {
	margin: 32px 0 64px;
	text-align: center;
}

/* ==========================================================================
   Related ("You Might Also Like") + generic page
   ========================================================================== */
.ptech-related {
	padding: clamp(56px, 6vw, 88px) 0;
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(var(--ptech-primary-rgb), .1), transparent 70%),
		var(--ptech-bg-soft);
}

.ptech-related__head {
	margin-bottom: 32px;
	text-align: center;
}

.ptech-related .ptech-related__title {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.ptech-page {
	max-width: 820px;
	margin: 0 auto;
}

.ptech-page__title {
	margin-bottom: 28px !important;
	font-size: clamp(2rem, 4.4vw, 2.8rem);
	letter-spacing: -.02em !important;
}

/* ==========================================================================
   Comments
   ========================================================================== */
.ptech-comments {
	margin-top: 48px;
	padding-top: 36px;
	border-top: 1px solid var(--ptech-line);
}

.ptech-comments__title,
.ptech-comments .comment-reply-title {
	font-size: 1.35rem;
}

.ptech-comments__list,
.ptech-comments__list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ptech-comments__list .children {
	padding-left: 28px;
	border-left: 2px solid var(--ptech-line);
}

.ptech-comments .comment-body {
	margin-bottom: 16px;
	padding: 20px 22px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius);
}

.ptech-comments .comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--ptech-font-heading);
	font-weight: 600;
}

.ptech-comments .comment-author img {
	border-radius: 50%;
}

.ptech-comments .comment-author .says {
	display: none;
}

.ptech-comments .comment-metadata {
	margin: 4px 0 10px;
	font-size: 13px;
}

.ptech-comments .comment-metadata a {
	color: var(--ptech-muted) !important;
}

.ptech-comments .reply a {
	font: 600 13px var(--ptech-font-heading);
}

.ptech-comments__closed {
	color: var(--ptech-muted);
}

.ptech-blog .comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--ptech-ink);
	font: 600 14px var(--ptech-font-heading);
}

.ptech-blog .comment-form input[type="text"],
.ptech-blog .comment-form input[type="email"],
.ptech-blog .comment-form input[type="url"],
.ptech-blog .comment-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius-sm);
	background: var(--ptech-white);
	color: var(--ptech-ink);
	font-size: 16px;
	transition: border-color .2s, box-shadow .2s;
}

.ptech-blog .comment-form input:focus,
.ptech-blog .comment-form textarea:focus {
	border-color: var(--ptech-primary);
	outline: 0;
	box-shadow: 0 0 0 4px rgba(var(--ptech-primary-rgb), .18);
}

.ptech-blog .comment-form p {
	margin-bottom: 18px;
}

.ptech-blog .comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.ptech-blog .comment-form-cookies-consent label {
	font: 400 14px var(--ptech-font-body);
}

.ptech-blog .comment-notes,
.ptech-blog .logged-in-as {
	color: var(--ptech-muted);
	font-size: 14.5px;
}

/* ==========================================================================
   404
   ========================================================================== */
.ptech-404 {
	text-align: center;
	background:
		radial-gradient(520px 260px at 50% 0%, rgba(var(--ptech-primary-rgb), .18), transparent 70%),
		var(--ptech-white);
}

.ptech-404 .ptech-container {
	max-width: 680px;
}

.ptech-404__code {
	display: block;
	color: var(--ptech-primary-100);
	font: 700 clamp(5rem, 16vw, 9rem)/1 var(--ptech-font-heading);
	letter-spacing: -.04em;
}

.ptech-404__title {
	margin-top: -12px !important;
	font-size: clamp(1.7rem, 3.6vw, 2.3rem);
}

.ptech-404__text {
	margin-bottom: 28px !important;
	color: var(--ptech-muted);
}

.ptech-404 .ptech-search {
	margin-bottom: 28px;
}

/* ==========================================================================
   Pagination (the_posts_pagination)
   ========================================================================== */
.ptech-blog .pagination {
	margin-top: 48px;
}

.ptech-blog .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.ptech-blog .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--ptech-line);
	border-radius: 999px;
	color: var(--ptech-ink);
	font: 600 14px var(--ptech-font-heading);
}

.ptech-blog a.page-numbers:hover {
	border-color: var(--ptech-primary);
	color: var(--ptech-primary-700);
}

.ptech-blog .page-numbers.current {
	border-color: var(--ptech-primary-700);
	background: var(--ptech-primary-700);
	color: var(--ptech-white);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.tr-row {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 36px;
	}
}

@media (max-width: 991px) {
	.section-spacing {
		padding: 52px 0;
	}

	.tr-row {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.ptech-sidebar__inner {
		position: static;
		grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	}

	.ptech-posts--cat,
	.ptech-posts--search,
	.ptech-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ptech-search {
		flex-wrap: wrap;
		border-radius: var(--ptech-radius);
	}

	.ptech-filter {
		flex: 1 1 100%;
	}

	.ptech-filter__trigger {
		width: 100%;
		border-radius: var(--ptech-radius-sm);
	}

	.ptech-filter__value {
		max-width: none;
	}

	.ptech-filter__caret {
		margin-left: auto;
	}

	.ptech-filter__panel {
		width: 100%;
	}

	.ptech-search input[type="search"] {
		height: 44px;
	}

	.ptech-search__go {
		width: 44px;
		height: 44px;
	}

	.ptech-posts--2col,
	.ptech-posts--cat,
	.ptech-posts--search,
	.ptech-card-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.ptech-single__content,
	.ptech-page__content {
		font-size: 17px;
	}

	.ptech-single__content .alignleft,
	.ptech-single__content .alignright {
		float: none;
		margin: 1.5em auto;
	}

	.ptech-me,
	.ptech-author {
		flex-direction: column;
		padding: 24px;
	}

	.ptech-cat-block__head {
		align-items: center;
	}

	.admin-bar .ptech-progress {
		top: 46px;
	}
}

@media (max-width: 479px) {
	.ptech-container {
		padding: 0 16px;
	}

	.ptech-card__body {
		margin: -56px 10px 0;
		padding: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ptech-blog *,
	.ptech-blog *::before,
	.ptech-blog *::after {
		transition: none !important;
		animation: none !important;
	}
}

/* ==========================================================================
   Table of contents (built by ptechblog_build_toc(), rendered in single.php)
   ========================================================================== */
.ptech-toc {
	margin: 0 0 36px;
	border: 1px solid var(--ptech-line);
	border-radius: 20px;
	background:
		radial-gradient(360px 180px at 100% 0%, rgba(var(--ptech-primary-rgb), .08), transparent 70%),
		var(--ptech-bg-soft);
}

.ptech-toc__head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 22px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.ptech-toc__head::-webkit-details-marker {
	display: none;
}

.ptech-toc__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: var(--ptech-primary);
	color: var(--ptech-white);
}

.ptech-toc__title {
	color: var(--ptech-ink);
	font: 700 17px/1.2 var(--ptech-font-heading);
}

.ptech-toc__count {
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--ptech-primary-100);
	color: var(--ptech-primary-800);
	font: 600 12px/1.2 var(--ptech-font-heading);
}

.ptech-toc__caret {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--ptech-white);
	color: var(--ptech-ink);
	transition: transform .3s var(--ptech-ease);
}

.ptech-toc[open] .ptech-toc__caret {
	transform: rotate(180deg);
}

.ptech-toc__list {
	margin: 0;
	padding: 4px 22px 20px;
	list-style: none;
	counter-reset: none;
}

.ptech-toc__item {
	margin: 0;
	border-top: 1px dashed var(--ptech-line);
}

.ptech-toc__item a {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 11px 6px;
	border-radius: 10px;
	color: var(--ptech-text) !important;
	font: 500 15.5px/1.45 var(--ptech-font-heading);
	transition: color .2s var(--ptech-ease), background .2s var(--ptech-ease), padding .2s var(--ptech-ease);
}

.ptech-toc__item a:hover,
.ptech-toc__item a.is-active {
	padding-left: 12px;
	background: var(--ptech-white);
	color: var(--ptech-primary-700) !important;
}

.ptech-toc__num {
	flex: none;
	color: var(--ptech-primary);
	font-weight: 700;
	font-size: 13px;
}

.ptech-toc__item.is-sub a {
	padding-left: 40px;
	font-size: 14.5px;
	color: var(--ptech-muted) !important;
}

.ptech-toc__item.is-sub a::before {
	content: "";
	flex: none;
	width: 6px;
	height: 6px;
	margin-right: -4px;
	border-radius: 50%;
	background: var(--ptech-primary-100);
	transform: translateY(-2px);
}

.ptech-toc__item.is-sub a:hover,
.ptech-toc__item.is-sub a.is-active {
	padding-left: 46px;
	color: var(--ptech-primary-700) !important;
}

/* The root .site-top header is position: fixed (top-bar + header, see the root's
   $header-h / $header-h-mobile) — push the blog down so it starts below it. */
body {
	padding-top: 150px;
}

@media (max-width: 991px) {
	body {
		padding-top: 110px;
	}
}

/* Jumped-to headings clear the sticky site header. */
.ptech-single__content :is(h2, h3)[id] {
	scroll-margin-top: 110px;
}

/* Wide tables scroll inside their own box instead of breaking the layout. */
.ptech-single__content .wp-block-table {
	margin: 0 0 1.6em;
	overflow-x: auto;
	border: 1px solid var(--ptech-line);
	border-radius: var(--ptech-radius);
}

.ptech-single__content .wp-block-table table {
	margin: 0;
}

.ptech-single__content .wp-block-table :is(th, td) {
	border-width: 0 0 1px;
}

.ptech-single__content tbody tr:nth-child(even) {
	background: var(--ptech-bg-soft);
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* ==========================================================================
   Article — Prasadam accents (loaded last, so these win over the base rules
   above): numbered section headings, ✦ bullets, highlighted bold, a warm
   quote card, a dark-headed table of contents, brand-coloured share buttons,
   and the sidebar's cream widgets + "Reserve a table" card.
   ========================================================================== */

/* ---- Section headings: a round number badge + Italiana title ---- */
.ptech-single__content {
	counter-reset: ptech-sec;
}

.ptech-single__content > h2 {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	column-gap: 18px;
	align-items: center;
	margin: 2.4em 0 1em;
	padding: 0 0 18px;
	border-bottom: 1px dashed rgba(var(--ptech-primary-rgb), .28);
	color: var(--ptech-ink);
	font: 600 clamp(1.7rem, 2.6vw, 2.25rem)/1.2 var(--ptech-font-display) !important;
	letter-spacing: 0 !important;
	counter-increment: ptech-sec;
}

.ptech-single__content > h2::before {
	content: counter(ptech-sec, decimal-leading-zero);
	position: static;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 1.5px solid rgba(var(--ptech-accent-rgb), .35);
	border-radius: 50%;
	background: var(--ptech-cream);
	box-shadow: inset 0 0 0 5px var(--ptech-white);
	color: var(--ptech-accent);
	font: 600 19px/1 var(--ptech-font-body);
}

/* Short red stroke riding on the dashed rule. */
.ptech-single__content > h2::after {
	content: "";
	position: absolute;
	bottom: -1.5px;
	left: 0;
	width: 58px;
	height: 3px;
	border-radius: 3px;
	background: var(--ptech-accent);
}

.ptech-single__content > h3 {
	display: flex;
	align-items: baseline;
	gap: 10px;
	color: var(--ptech-primary-700);
	font: 600 1.3rem/1.35 var(--ptech-font-body) !important;
}

.ptech-single__content > h3::before {
	content: "\2726";
	color: var(--ptech-accent);
	font-size: .7em;
}

/* Bold reads like a highlighter swipe. */
.ptech-single__content strong {
	background: linear-gradient(transparent 62%, rgba(var(--ptech-accent-rgb), .12) 0);
}

/* ---- Lists: ✦ bullets, numbered circles ---- */
.ptech-single__content ul {
	padding-left: 0;
	list-style: none;
}

.ptech-single__content ul > li {
	position: relative;
	padding-left: 30px;
}

.ptech-single__content ul > li::before {
	content: "\2726";
	position: absolute;
	top: .1em;
	left: 4px;
	color: var(--ptech-accent);
	font-size: .85em;
}

.ptech-single__content ol {
	padding-left: 0;
	list-style: none;
	counter-reset: ptech-ol;
}

.ptech-single__content ol > li {
	position: relative;
	padding-left: 42px;
	counter-increment: ptech-ol;
}

.ptech-single__content ol > li::before {
	content: counter(ptech-ol);
	position: absolute;
	top: .2em;
	left: 0;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ptech-primary);
	color: var(--ptech-white);
	font: 600 13px/1 var(--ptech-font-body);
}

/* ---- Quote: cream card, big red Italiana quote mark ---- */
.ptech-single .ptech-single__content blockquote {
	margin: 2.2em 0;
	padding: 48px 34px 30px;
	border: 1px dashed rgba(var(--ptech-primary-rgb), .3);
	border-left: 0;
	border-radius: 24px;
	background:
		radial-gradient(320px 160px at 100% 0%, rgba(var(--ptech-primary-rgb), .08), transparent 70%),
		var(--ptech-cream);
	color: var(--ptech-ink);
	font: 400 1.25em/1.6 var(--ptech-font-display);
	font-style: normal;
}

.ptech-single .ptech-single__content blockquote::before {
	top: 8px;
	left: 28px;
	color: var(--ptech-accent);
	font: 600 80px/1 var(--ptech-font-display);
	opacity: 1;
}

/* ---- Table of contents: dark head, numbered rows ---- */
.ptech-toc {
	overflow: hidden;
	border: 1px solid var(--ptech-line);
	border-radius: 22px;
	background: var(--ptech-white);
	box-shadow: 0 24px 44px -32px rgba(var(--ptech-primary-rgb), .5);
}

.ptech-toc__head {
	padding: 16px 20px;
	background: radial-gradient(135% 160% at 0% 0%, #1a3c45 0%, #000202 55%, rgba(76, 2, 2, .99) 100%);
}

.ptech-toc__icon {
	background: var(--ptech-accent);
}

.ptech-toc__title {
	color: var(--ptech-cream);
	font: 600 19px/1.2 var(--ptech-font-display);
	letter-spacing: .02em;
}

.ptech-toc__count {
	background: rgba(255, 255, 255, .12);
	color: var(--ptech-cream);
}

.ptech-toc__caret {
	background: rgba(255, 255, 255, .14);
	color: var(--ptech-cream);
}

.ptech-toc__list {
	padding: 10px 20px 18px;
	background:
		radial-gradient(360px 180px at 100% 100%, rgba(var(--ptech-primary-rgb), .06), transparent 70%),
		var(--ptech-white);
}

.ptech-toc__item:first-child {
	border-top: 0;
}

.ptech-toc__item a:hover,
.ptech-toc__item a.is-active {
	background: var(--ptech-cream);
}

.ptech-toc__num {
	min-width: 26px;
	color: var(--ptech-accent);
	font: 600 14px/1 var(--ptech-font-body);
}

/* ---- Share rail: each network lights up in its own colour ---- */
.ptech-share__label {
	color: var(--ptech-accent);
}

.ptech-share__btn {
	border-color: var(--ptech-line);
	background: var(--ptech-cream);
	color: var(--ptech-ink) !important;
}

.ptech-share__btn[title="WhatsApp"]:hover { border-color: #25d366; background: #25d366; }
.ptech-share__btn[title="Facebook"]:hover { border-color: #1877f2; background: #1877f2; }
.ptech-share__btn[title="Pinterest"]:hover { border-color: #e60023; background: #e60023; }
.ptech-share__btn[title="X"]:hover { border-color: #000; background: #000; }
.ptech-share__btn[title="Email"]:hover { border-color: var(--ptech-accent); background: var(--ptech-accent); }

/* ---- Sidebar widgets: cream cards, Italiana titles with a ✦ ---- */
.ptech-widget {
	border-color: var(--ptech-line);
	border-radius: 24px;
	background:
		radial-gradient(260px 160px at 100% 0%, rgba(var(--ptech-primary-rgb), .07), transparent 70%),
		var(--ptech-bg-soft);
}

.ptech-widget__title,
.ptech-popular__title {
	padding-left: 0;
	font: 600 22px/1.2 var(--ptech-font-display);
}

.ptech-widget__title::before,
.ptech-popular__title::before {
	content: "\2726";
	position: static;
	width: auto;
	margin-right: 8px;
	background: none;
	color: var(--ptech-accent);
	font: 400 12px/1 var(--ptech-font-body);
	vertical-align: middle;
}

.ptech-popular__list li::before {
	color: transparent;
	font: 600 28px/1 var(--ptech-font-body);
	-webkit-text-stroke: 1px var(--ptech-accent);
}

.ptech-popular__cat {
	color: var(--ptech-accent);
}

/* Follow-us chips stay visible on the cream widget. */
.ptech-widget .ptech-social__link {
	background: var(--ptech-white);
	box-shadow: var(--ptech-shadow-sm);
}

/* ---- Sidebar: "Reserve a table" card ---- */
.ptech-reserve {
	position: relative;
	isolation: isolate;
	display: block;
	overflow: hidden;
	padding: 30px 26px 26px;
	border-radius: 26px;
	color: var(--ptech-cream) !important;
	text-align: center;
	box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6);
}

.ptech-reserve__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transition: transform 1.2s var(--ptech-ease);
}

.ptech-reserve:hover .ptech-reserve__img {
	transform: scale(1.06);
}

.ptech-reserve::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 2, 2, .55) 0%, rgba(0, 2, 2, .78) 50%, rgba(76, 2, 2, .95) 100%);
}

/* Thin cream inset frame. */
.ptech-reserve::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(245, 239, 227, .35);
	border-radius: 18px;
	pointer-events: none;
}

.ptech-reserve__script {
	display: block;
	color: var(--ptech-accent-soft);
	font: 600 26px/1.1 var(--ptech-font-script);
}

.ptech-reserve__title {
	display: block;
	margin: 6px 0 10px;
	color: var(--ptech-cream);
	font: 600 30px/1.1 var(--ptech-font-display);
}

.ptech-reserve__text {
	display: block;
	margin-bottom: 20px;
	color: rgba(245, 239, 227, .78);
	font-size: 14px;
	line-height: 1.6;
}

.ptech-reserve__btn {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--ptech-accent);
	color: var(--ptech-white);
	font: 600 14px/1 var(--ptech-font-body);
	box-shadow: 0 14px 26px -12px rgba(var(--ptech-accent-rgb), .9);
	transition: gap .3s var(--ptech-ease), background .3s var(--ptech-ease);
}

.ptech-reserve:hover .ptech-reserve__btn {
	gap: 14px;
	background: var(--ptech-accent-dark);
}

.ptech-reserve__hours {
	display: block;
	margin-top: 14px;
	color: rgba(245, 239, 227, .6);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.ptech-single__content > h2 {
		column-gap: 14px;
	}

	.ptech-single__content > h2::before {
		width: 46px;
		height: 46px;
		font-size: 16px;
	}

	.ptech-single__content > h2::after {
		width: 46px;
	}
}

/* ==========================================================================
   After the article — "a note from the kitchen" author card and the
   previous / next story cards.
   ========================================================================== */
.ptech-me {
	position: relative;
	isolation: isolate;
	gap: clamp(20px, 3vw, 34px);
	align-items: center;
	margin-top: 56px;
	padding: clamp(24px, 3vw, 34px) clamp(24px, 3.4vw, 40px) clamp(40px, 4vw, 48px);
	overflow: hidden;
	border: 1px solid var(--ptech-line);
	border-radius: 28px;
	background:
		radial-gradient(420px 240px at 100% 0%, rgba(var(--ptech-primary-rgb), .09), transparent 70%),
		radial-gradient(320px 200px at 0% 100%, rgba(var(--ptech-accent-rgb), .05), transparent 70%),
		var(--ptech-cream);
	box-shadow: 0 30px 50px -40px rgba(44, 41, 38, .45);
}

/* Faint spice pattern + big lotus watermark. */
.ptech-me::before {
	content: "";
	position: absolute;
	top: -40px;
	right: -40px;
	z-index: -1;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	border: 1.5px dashed rgba(var(--ptech-primary-rgb), .18);
	box-shadow: inset 0 0 0 26px rgba(255, 255, 255, .35);
}

/* Photo in an arch, framed white with a red hairline. */
.ptech-me__photo {
	position: relative;
	width: 128px;
	height: 160px;
	overflow: visible;
	border-radius: 999px 999px 18px 18px;
	box-shadow: none;
}

.ptech-me__photo img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100% !important;
	border: 6px solid var(--ptech-white);
	border-radius: 999px 999px 18px 18px;
	background: var(--ptech-white);
	box-shadow: 0 20px 34px -18px rgba(44, 41, 38, .5);
	object-fit: cover;
}

.ptech-me__photo::after {
	content: "";
	position: absolute;
	inset: 10px -10px -10px 10px;
	border: 1.5px solid rgba(var(--ptech-accent-rgb), .55);
	border-radius: 999px 999px 18px 18px;
}

.ptech-me__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--ptech-accent);
	font: 600 11.5px/1 var(--ptech-font-body);
	letter-spacing: .18em;
}

.ptech-me__label::before {
	content: "\2726";
	font-size: 10px;
}

.ptech-me__hi {
	margin: 10px 0 6px !important;
	color: var(--ptech-ink);
	font: 600 clamp(1.7rem, 2.6vw, 2.1rem)/1.15 var(--ptech-font-display) !important;
}

.ptech-me__job {
	color: var(--ptech-primary);
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ptech-me__bio {
	max-width: 520px;
	margin: 0 0 18px !important;
	color: var(--ptech-muted);
	font-size: 15.5px;
	line-height: 1.7;
}

.ptech-me__more {
	gap: 10px;
	padding: 11px 22px;
	border-radius: 999px;
	background: var(--ptech-primary);
	color: var(--ptech-white) !important;
	font: 600 14px/1 var(--ptech-font-body);
	text-decoration: none !important;
	transition: gap .3s var(--ptech-ease), background .3s var(--ptech-ease);
}

.ptech-me__more:hover {
	gap: 14px;
	background: var(--ptech-accent);
}

.ptech-me__socials a {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--ptech-white);
	color: var(--ptech-ink) !important;
	box-shadow: var(--ptech-shadow-sm);
}

/* Handwritten sign-off in the corner. */
.ptech-me__sign {
	position: absolute;
	right: clamp(20px, 3vw, 36px);
	bottom: 12px;
	color: rgba(var(--ptech-accent-rgb), .55);
	font: 600 22px/1 var(--ptech-font-script);
	transform: rotate(-4deg);
	pointer-events: none;
}

/* ---- Previous / next story ---- */
.ptech-postnav {
	gap: 18px;
	margin-top: 26px;
}

.ptech-postnav__item {
	position: relative;
	gap: 16px;
	padding: 12px 14px 12px 12px;
	border: 1px solid var(--ptech-line);
	border-radius: 999px;
	background: var(--ptech-white);
	box-shadow: var(--ptech-shadow-sm);
}

.ptech-postnav__item--next {
	padding: 12px 12px 12px 14px;
}

.ptech-postnav__item:hover {
	border-color: rgba(var(--ptech-primary-rgb), .25);
	box-shadow: 0 24px 40px -26px rgba(var(--ptech-primary-rgb), .55);
}

.ptech-postnav__img {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--ptech-white), 0 0 0 4.5px rgba(var(--ptech-accent-rgb), .45);
}

.ptech-postnav__img img {
	transition: transform .8s var(--ptech-ease);
}

.ptech-postnav__item:hover .ptech-postnav__img img {
	transform: scale(1.1);
}

.ptech-postnav__text {
	flex: 1;
	gap: 4px;
}

.ptech-postnav__label {
	color: var(--ptech-accent);
	font: 600 11px/1 var(--ptech-font-body);
	letter-spacing: .18em;
}

.ptech-postnav__title {
	color: var(--ptech-ink);
	font: 600 18px/1.25 var(--ptech-font-display);
}

.ptech-postnav__go {
	display: grid;
	flex: none;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(var(--ptech-primary-rgb), .3);
	border-radius: 50%;
	color: var(--ptech-primary);
	transition: background .3s var(--ptech-ease), color .3s var(--ptech-ease), transform .3s var(--ptech-ease);
}

/* Arrow sits on the outer edge: first in the row (prev), first in the reversed row (next). */
.ptech-postnav__go {
	order: -1;
}

.ptech-postnav__item--prev .ptech-postnav__go {
	transform: rotate(180deg);
}

.ptech-postnav__item:hover .ptech-postnav__go {
	border-color: var(--ptech-primary);
	background: var(--ptech-primary);
	color: var(--ptech-white);
}

.ptech-postnav__item--next:hover .ptech-postnav__go {
	transform: translateX(3px);
}

.ptech-postnav__item--prev:hover .ptech-postnav__go {
	transform: rotate(180deg) translateX(3px);
}

@media (max-width: 767px) {
	.ptech-me {
		flex-direction: column;
		align-items: flex-start;
		padding-bottom: 52px;
	}

	.ptech-me__photo {
		width: 104px;
		height: 130px;
	}

	.ptech-postnav__item {
		border-radius: 22px;
	}
}

/* ---- Sidebar: the column runs the full height of the content, the widgets
   scroll normally, and only the last "Reserve a table" card sticks below the
   fixed root header. ---- */
@media (min-width: 992px) {
	.tr-row > .ptech-sidebar {
		align-self: stretch;
	}

	.ptech-sidebar__inner {
		position: static;
		height: 100%;
		align-content: start;
	}

	.ptech-sidebar__inner > .ptech-reserve {
		position: sticky;
		top: 130px;
	}
}
