/* Supporting guide pages (custom engagement rings, wedding bands, diamond guides). Loaded only on those pages. */
.tm-guide-page {
	--tm-ink: #2B2412;
	--tm-cream: #F7F4EF;
	--tm-line: #E6DFD3;
}

.tm-guide-page .page-header {
	max-width: 1100px;
	margin: 48px auto 24px;
	padding: 0 16px;
	text-align: center;
}

/* Keeps the site's own title font (set with !important in style.css), only centres it. */
body.tm-guide-page .site-main .page-header .entry-title {
	text-align: center;
}

.tm-guide {
	max-width: 1100px;
	margin: 0 auto 80px;
	padding: 0 16px;
	color: var(--tm-ink);
	font-size: 17px;
	line-height: 1.75;
}

/* style.css removes underlines from .page-content links with !important. */
.tm-guide-page .page-content .tm-guide p a,
.tm-guide-page .page-content .tm-guide li a {
	text-decoration: underline !important;
}

.tm-guide a {
	color: var(--tm-ink);
	text-decoration-color: rgba(43, 36, 18, .35);
	text-underline-offset: 3px;
	transition: text-decoration-color .2s;
}

.tm-guide a:hover {
	text-decoration-color: var(--tm-ink);
}

.tm-guide h2 {
	color: var(--tm-ink);
	font-size: clamp(24px, 2.6vw, 32px);
	font-weight: 400;
	line-height: 1.3;
	margin: 0 0 16px;
}

.tm-guide p {
	margin: 0 0 16px;
}

/* Hero */
.tm-guide .tm-hero {
	margin: 0 0 40px;
}

.tm-guide .tm-hero img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 7;
	object-fit: cover;
}

/* Intro */
.tm-guide .tm-lead {
	max-width: 760px;
	margin: 0 auto 16px;
	font-size: clamp(19px, 1.8vw, 22px);
	line-height: 1.6;
	text-align: center;
}

.tm-guide .tm-intro {
	max-width: 760px;
	margin: 0 auto 16px;
	text-align: center;
}

/* Plain sections */
.tm-guide .tm-section {
	max-width: 760px;
	margin: 64px auto 0;
}

/* Image + text sections */
.tm-guide .tm-split {
	margin: 72px 0 0;
	grid-template-columns: 50% 1fr;
}

.tm-guide .tm-split.has-media-on-the-right {
	grid-template-columns: 1fr 50%;
}

.tm-guide .tm-split .wp-block-media-text__content {
	padding: 0 6%;
}

.tm-guide .tm-split .wp-block-media-text__media img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	max-height: 560px;
	object-fit: cover;
}

/* Lists */
.tm-guide .tm-steps {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.tm-guide .tm-steps li {
	background: var(--tm-cream);
	border-left: 2px solid var(--tm-ink);
	margin: 0 0 10px;
	padding: 12px 18px;
	line-height: 1.6;
}

/* Small loose stone image */
.tm-guide .tm-gem {
	margin: 0 auto 24px;
}

.tm-guide .tm-gem img {
	width: 180px;
	height: auto;
}

/* Product cards */
.tm-guide .tm-products {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
	margin: 28px 0 28px;
}

.tm-guide .tm-products-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.tm-guide .tm-products-2 {
	grid-template-columns: repeat(2, minmax(0, 260px));
	justify-content: center;
}

.tm-guide .tm-product {
	margin: 0;
	text-align: center;
}

.tm-guide .tm-product img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	background: var(--tm-cream);
	transition: opacity .2s;
}

.tm-guide .tm-product a:hover img {
	opacity: .85;
}

.tm-guide .tm-product figcaption {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.4;
}

.tm-guide .tm-product figcaption a {
	text-decoration: none;
}

/* FAQ */
.tm-guide .tm-faq {
	max-width: 860px;
	margin: 72px auto 0;
	padding: 40px;
	background: var(--tm-cream);
}

.tm-guide .tm-faq h2 {
	text-align: center;
	margin-bottom: 24px;
}

.tm-guide .tm-faq p {
	background: #fff;
	border: 1px solid var(--tm-line);
	margin: 0 0 12px;
	padding: 18px 22px;
}

.tm-guide .tm-faq p:last-child {
	margin-bottom: 0;
}

.tm-guide .tm-faq strong {
	display: block;
	margin-bottom: 6px;
	font-size: 18px;
	font-weight: 500;
}

/* Closing call to action */
.tm-guide .tm-cta {
	margin: 72px 0 0;
	padding: 56px 24px;
	background: var(--tm-ink);
	color: #fff;
	text-align: center;
}

.tm-guide .tm-cta h2,
.tm-guide .tm-cta p,
.tm-guide .tm-cta a {
	color: #fff;
}

.tm-guide .tm-cta p {
	max-width: 620px;
	margin: 0 auto 24px;
}

.tm-guide .tm-cta a {
	text-decoration-color: rgba(255, 255, 255, .45);
}

.tm-guide .tm-cta .wp-block-buttons {
	gap: 12px;
}

/* ecommerce.css styles all block buttons with !important, so these need it too. */
.tm-guide .tm-cta .wp-block-button__link {
	background: #fff !important;
	color: var(--tm-ink) !important;
	border: 1px solid #fff !important;
	border-radius: 0 !important;
	padding: 14px 28px !important;
	font-size: 14px !important;
	letter-spacing: .08em;
	text-transform: uppercase !important;
	text-decoration: none !important;
}

.tm-guide .tm-cta .is-style-outline .wp-block-button__link {
	background: transparent !important;
	color: #fff !important;
}

.tm-guide .tm-cta .wp-block-button__link:hover {
	opacity: .85;
}

@media (max-width: 781px) {
	.tm-guide-page .page-header {
		margin-top: 32px;
	}

	.tm-guide {
		font-size: 16px;
	}

	.tm-guide .tm-hero img {
		aspect-ratio: 4 / 3;
	}

	.tm-guide .tm-split,
	.tm-guide .tm-split.has-media-on-the-right {
		grid-template-columns: 100%;
		margin-top: 56px;
	}

	.tm-guide .tm-split .wp-block-media-text__media {
		grid-row: 1;
	}

	.tm-guide .tm-split .wp-block-media-text__content {
		grid-row: 2;
		padding: 24px 0 0;
	}

	.tm-guide .tm-split .wp-block-media-text__media img {
		aspect-ratio: 4 / 3;
	}

	.tm-guide .tm-section {
		margin-top: 48px;
	}

	.tm-guide .tm-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px;
	}

	.tm-guide .tm-faq {
		margin-top: 56px;
		padding: 28px 16px;
	}

	.tm-guide .tm-faq p {
		padding: 16px;
	}

	.tm-guide .tm-cta {
		margin-top: 56px;
		padding: 44px 20px;
	}
}

/* Unconventional Diamonds cover: frame the top three chains evenly instead of cutting the fourth. */
.tm-guide .tm-hero img.wp-image-1924 {
	object-position: 50% 28%;
}

/* ==========================================================================
   Refined look (Nov 2026): hairline accents, finer type, framed imagery.
   Remove this whole block to return to the previous design.
   ========================================================================== */
.tm-guide-page {
	--tm-gold: #A88B5E;
	--tm-gold-soft: rgba(168, 139, 94, .45);
	--tm-hair: rgba(43, 36, 18, .14);
}

/* Title: larger, lighter, with a short champagne rule beneath */
.tm-guide-page .page-header {
	margin: 64px auto 40px;
}

body.tm-guide-page .site-main .page-header .entry-title {
	font-size: clamp(30px, 3.4vw, 46px) !important;
	font-weight: 400 !important;
	letter-spacing: .01em;
	line-height: 1.2 !important;
}

body.tm-guide-page .site-main .page-header .entry-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	margin: 26px auto 0;
	background: var(--tm-gold);
}

/* Photography: fine inset frame and a slow zoom on hover */
.tm-guide .tm-hero,
.tm-guide .tm-split .wp-block-media-text__media {
	position: relative;
	overflow: hidden;
}

.tm-guide .tm-hero::after,
.tm-guide .tm-split .wp-block-media-text__media::after {
	content: "";
	position: absolute;
	inset: 16px;
	border: 1px solid rgba(255, 255, 255, .55);
	pointer-events: none;
}

.tm-guide .tm-hero img,
.tm-guide .tm-split .wp-block-media-text__media img {
	transition: transform 1.2s cubic-bezier(.2, .6, .2, 1);
}

.tm-guide .tm-hero:hover img,
.tm-guide .tm-split .wp-block-media-text__media:hover img {
	transform: scale(1.03);
}

.tm-guide .tm-hero {
	margin-bottom: 56px;
}

/* Intro: airy, with a rule to close it */
.tm-guide .tm-lead {
	font-size: clamp(20px, 1.9vw, 24px);
	line-height: 1.65;
	letter-spacing: .005em;
}

.tm-guide .tm-lead::after {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	margin: 36px auto 0;
	background: var(--tm-gold);
}

/* Section headings: champagne rule above, lighter weight */
.tm-guide h2 {
	font-weight: 300;
	letter-spacing: .01em;
	margin-bottom: 20px;
}

.tm-guide .tm-section h2::before,
.tm-guide .tm-split h2::before {
	content: "";
	display: block;
	width: 40px;
	height: 1px;
	margin-bottom: 20px;
	background: var(--tm-gold);
}

.tm-guide .tm-section {
	margin-top: 88px;
}

.tm-guide .tm-split {
	margin-top: 96px;
	align-items: center;
}

.tm-guide .tm-split .wp-block-media-text__content {
	padding: 0 7%;
}

/* Lists: hairline rows with a small diamond marker instead of boxes */
.tm-guide .tm-steps {
	margin-top: 8px;
	border-bottom: 1px solid var(--tm-hair);
}

.tm-guide .tm-steps li {
	position: relative;
	background: none;
	border: 0;
	border-top: 1px solid var(--tm-hair);
	margin: 0;
	padding: 16px 0 16px 26px;
}

.tm-guide .tm-steps li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 26px;
	width: 7px;
	height: 7px;
	border: 1px solid var(--tm-gold);
	transform: rotate(45deg);
}

.tm-guide .tm-steps strong {
	font-weight: 500;
	letter-spacing: .01em;
}

/* Product cards: clean white tiles that lift gently */
.tm-guide .tm-products {
	gap: 20px;
	margin: 36px 0;
}

.tm-guide .tm-product img {
	background: #fff;
	transition: transform .5s ease, box-shadow .5s ease;
}

.tm-guide .tm-product a:hover img {
	opacity: 1;
	transform: translateY(-4px);
	box-shadow: 0 14px 30px rgba(43, 36, 18, .12);
}

.tm-guide .tm-product figcaption {
	margin-top: 14px;
	font-size: 13px;
	letter-spacing: .02em;
}

/* FAQ: framed panel with hairline-divided questions */
.tm-guide .tm-faq {
	margin-top: 104px;
	padding: 56px 64px;
	background: rgba(247, 244, 239, .6);
	border: 1px solid var(--tm-gold-soft);
	outline: 1px solid var(--tm-gold-soft);
	outline-offset: 8px;
}

.tm-guide .tm-faq h2::after {
	content: "";
	display: block;
	width: 40px;
	height: 1px;
	margin: 20px auto 0;
	background: var(--tm-gold);
}

.tm-guide .tm-faq h2 {
	margin-bottom: 28px;
}

.tm-guide .tm-faq p {
	background: none;
	border: 0;
	border-top: 1px solid var(--tm-hair);
	margin: 0;
	padding: 22px 0;
}

.tm-guide .tm-faq strong {
	font-size: 19px;
	font-weight: 400;
	margin-bottom: 8px;
}

/* Closing call to action: framed, spacious, letter-spaced buttons */
.tm-guide .tm-cta {
	position: relative;
	margin-top: 112px;
	padding: 80px 32px;
}

.tm-guide .tm-cta::before {
	content: "";
	position: absolute;
	inset: 14px;
	border: 1px solid rgba(168, 139, 94, .5);
	pointer-events: none;
}

.tm-guide .tm-cta h2 {
	font-size: clamp(26px, 2.8vw, 36px);
	letter-spacing: .02em;
}

.tm-guide .tm-cta h2::after {
	content: "";
	display: block;
	width: 40px;
	height: 1px;
	margin: 20px auto 0;
	background: var(--tm-gold);
}

.tm-guide .tm-cta p {
	margin-bottom: 32px;
	color: rgba(255, 255, 255, .85);
}

.tm-guide .tm-cta .wp-block-buttons {
	position: relative;
	gap: 16px;
}

.tm-guide .tm-cta .wp-block-button__link {
	padding: 16px 36px !important;
	font-size: 12px !important;
	letter-spacing: .16em;
	transition: background .3s, color .3s, opacity .3s;
}

.tm-guide .tm-cta .wp-block-button__link:hover {
	opacity: 1;
	background: transparent !important;
	color: #fff !important;
}

.tm-guide .tm-cta .is-style-outline .wp-block-button__link:hover {
	background: #fff !important;
	color: var(--tm-ink) !important;
}

@media (max-width: 781px) {
	.tm-guide-page .page-header {
		margin: 40px auto 28px;
	}

	.tm-guide .tm-hero::after,
	.tm-guide .tm-split .wp-block-media-text__media::after {
		inset: 10px;
	}

	.tm-guide .tm-hero {
		margin-bottom: 40px;
	}

	.tm-guide .tm-section {
		margin-top: 64px;
	}

	.tm-guide .tm-split {
		margin-top: 72px;
	}

	.tm-guide .tm-split .wp-block-media-text__content {
		padding: 28px 0 0;
	}

	.tm-guide .tm-faq {
		margin-top: 72px;
		padding: 36px 20px;
		outline-offset: 5px;
	}

	.tm-guide .tm-cta {
		margin-top: 80px;
		padding: 56px 24px;
	}

	.tm-guide .tm-cta::before {
		inset: 10px;
	}
}
