/**
 * Ring Size Guide Page Styles
 *
 * Dedicated stylesheet for the Ring Size Guide page template
 * (page-templates/ring-size-guide.php). Only loaded when that template
 * is active, via inc/ring-size-guide-functions.php.
 *
 * Brand Colors / Typography match assets/css/homepage.css, redefined here
 * so this file has no dependency on homepage.css being loaded.
 */

:root {
	--eternity-navy: #0D2A4D;
	--eternity-navy-deep: #10243D;
	--eternity-tan: #C99A73;
	--eternity-text: #1B1B1B;
	--eternity-beige: #F8F5F1;
	--eternity-grey: #F2F2F2;
	--eternity-white: #FFFFFF;
	--eternity-border: #E6E6E6;
}

/* ============================================
   PAGE WRAPPER
   ============================================ */

.eternity-ring-guide {
	font-family: 'Helvetica', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--eternity-text);
	line-height: 1.6;
	background: var(--eternity-white);
	width: 100%;
}

.eternity-ring-guide__container {
	max-width: var(--theme-container-width, 1200px);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	width: 100%;
}

/* ============================================
   HERO / INTRO
   ============================================ */

.eternity-ring-guide__hero {
	padding: 80px 0 60px;
}

.eternity-ring-guide__title {
	font-family: 'Georgia', serif;
	font-size: 46px;
	font-weight: normal;
	letter-spacing: -0.5px;
	margin: 0 0 25px 0;
	color: var(--eternity-navy-deep);
	text-align: center;
}

.eternity-ring-guide__intro {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.eternity-ring-guide__intro p {
	font-size: 18px;
	color: #555;
	font-weight: 300;
	line-height: 1.8;
	margin: 0 0 20px 0;
}

.eternity-ring-guide__intro-note {
	font-size: 14px;
	color: #888;
	font-style: italic;
	font-weight: 400 !important;
	margin-bottom: 0 !important;
}

/* ============================================
   GENERIC SECTION
   ============================================ */

.eternity-ring-guide__section {
	padding: 60px 0;
}

.eternity-ring-guide__section--alt {
	background: var(--eternity-beige);
}

.eternity-ring-guide__section-inner {
	max-width: 820px;
	margin: 0 auto;
}

.eternity-ring-guide__section-heading {
	font-family: 'Georgia', serif;
	font-size: 30px;
	font-weight: normal;
	color: var(--eternity-navy-deep);
	margin: 0 0 25px 0;
	text-align: center;
}

.eternity-ring-guide__section-lead {
	font-size: 16px;
	color: #444;
	line-height: 1.8;
	text-align: center;
	max-width: 700px;
	margin: 0 auto 40px;
}

.eternity-ring-guide__section-text p {
	font-size: 16px;
	color: #444;
	line-height: 1.8;
	margin: 0 0 20px 0;
}

.eternity-ring-guide__section-text p:last-child {
	margin-bottom: 0;
}

/* ============================================
   HOW TO MEASURE -- instruction cards
   ============================================ */

.eternity-ring-guide__cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	margin-bottom: 30px;
}

.eternity-ring-guide__card {
	background: var(--eternity-white);
	border: 1px solid var(--eternity-border);
	padding: 35px;
}

.eternity-ring-guide__card h3 {
	font-family: 'Georgia', serif;
	font-size: 20px;
	font-weight: normal;
	color: var(--eternity-navy-deep);
	margin: 0 0 20px 0;
}

.eternity-ring-guide__card ol {
	margin: 0;
	padding-left: 20px;
}

.eternity-ring-guide__card li {
	font-size: 15px;
	color: #444;
	line-height: 1.7;
	margin-bottom: 10px;
}

.eternity-ring-guide__card li:last-child {
	margin-bottom: 0;
}

.eternity-ring-guide__cards-note {
	font-size: 14px;
	color: #888;
	font-style: italic;
	text-align: center;
	max-width: 700px;
	margin: 0 auto;
}

/* ============================================
   RING SIZE CHART / TABLE
   ============================================ */

.eternity-ring-guide__table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--eternity-border);
}

.eternity-ring-guide__table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	background: var(--eternity-white);
}

.eternity-ring-guide__table caption {
	caption-side: bottom;
	text-align: left;
	font-size: 13px;
	color: #888;
	padding: 12px 16px;
}

.eternity-ring-guide__table thead th {
	background: var(--eternity-navy);
	color: var(--eternity-white);
	font-family: 'Georgia', serif;
	font-size: 15px;
	font-weight: normal;
	letter-spacing: 0.3px;
	text-align: center;
	padding: 16px 20px;
}

.eternity-ring-guide__table tbody td {
	text-align: center;
	padding: 12px 20px;
	font-size: 15px;
	color: var(--eternity-text);
	border-bottom: 1px solid var(--eternity-border);
}

.eternity-ring-guide__table tbody td:first-child {
	font-weight: 600;
	color: var(--eternity-navy-deep);
}

.eternity-ring-guide__table tbody tr:nth-child(even) {
	background: var(--eternity-beige);
}

.eternity-ring-guide__table tbody tr:last-child td {
	border-bottom: none;
}

/* ============================================
   TIPS LIST
   ============================================ */

.eternity-ring-guide__tips {
	list-style: none;
	margin: 0;
	padding: 0;
}

.eternity-ring-guide__tips li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 16px;
	font-size: 16px;
	color: #444;
	line-height: 1.7;
}

.eternity-ring-guide__tips li:last-child {
	margin-bottom: 0;
}

.eternity-ring-guide__tips li::before {
	content: "\25C6";
	position: absolute;
	left: 0;
	top: 1px;
	color: var(--eternity-tan);
	font-size: 14px;
}

/* ============================================
   NOT SURE / REASSURANCE
   ============================================ */

.eternity-ring-guide__notice {
	background: var(--eternity-beige);
	border-left: 3px solid var(--eternity-tan);
	padding: 35px 40px;
	text-align: center;
}

.eternity-ring-guide__notice h2 {
	font-family: 'Georgia', serif;
	font-size: 26px;
	font-weight: normal;
	color: var(--eternity-navy-deep);
	margin: 0 0 18px 0;
}

.eternity-ring-guide__notice p {
	font-size: 16px;
	color: var(--eternity-text);
	line-height: 1.8;
	max-width: 650px;
	margin: 0 auto 16px;
}

.eternity-ring-guide__notice p:last-child {
	margin-bottom: 0;
}

/* ============================================
   BUTTONS (matches sitewide .eternity-btn treatment)
   ============================================ */

.eternity-ring-guide__btn {
	display: inline-block;
	background-color: var(--eternity-navy);
	color: var(--eternity-white);
	border: 2px solid var(--eternity-navy);
	border-radius: 0;
	padding: 14px 40px;
	font-family: 'Helvetica', sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
}

.eternity-ring-guide__btn:hover {
	background-color: #b8894a;
	border-color: #b8894a;
}

/* ============================================
   CTA SECTION
   ============================================ */

.eternity-ring-guide__cta {
	padding: 60px 0 80px;
	text-align: center;
}

.eternity-ring-guide__cta-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	.eternity-ring-guide__hero {
		padding: 55px 0 40px;
	}

	.eternity-ring-guide__title {
		font-size: 32px;
	}

	.eternity-ring-guide__intro p {
		font-size: 16px;
	}

	.eternity-ring-guide__section {
		padding: 45px 0;
	}

	.eternity-ring-guide__section-heading {
		font-size: 24px;
	}

	.eternity-ring-guide__cards {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.eternity-ring-guide__card {
		padding: 28px 25px;
	}

	.eternity-ring-guide__notice {
		padding: 30px 25px;
	}

	.eternity-ring-guide__cta-buttons {
		flex-direction: column;
		gap: 15px;
	}

	.eternity-ring-guide__cta-buttons .eternity-ring-guide__btn {
		width: 100%;
	}
}
