/* recettes.css - Madame Lemaire */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;
	font: 17px/1.7 'Georgia', 'Times New Roman', serif;
	color: #3b2f2f;
	background-color: #faf6f1;
}

h1, h2, h3 {
	font-family: 'Georgia', serif;
	color: #5c3d2e;
}

h2 {
	font-size: 1.8rem;
	font-weight: normal;
	font-style: italic;
	margin: 0 0 0.25em 0;
	text-align: center;
}

h3 {
	font-size: 1.1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #8b5e3c;
	border-bottom: 1px solid #e0d5c7;
	padding-bottom: 0.3em;
	margin: 2em 0 0.75em 0;
}

p {
	margin: 0.75em 0;
	line-height: 1.8;
}

a {
	color: #a0522d;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s;
}

a:hover {
	color: #c0724e;
	text-decoration: underline;
}

a:visited {
	color: #7b4a2e;
}

/* Page wrapper */
.recipe-page {
	max-width: 680px;
	margin: 2.5em auto;
	padding: 2.5em 3em;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(60,40,20,0.08);
}

/* Header / logo area */
.site-header {
	text-align: center;
	margin-bottom: 2em;
	padding-bottom: 1.5em;
	border-bottom: 2px solid #e8ddd0;
}

.site-header img {
	max-width: 100%;
	height: auto;
}

.site-title {
	font-size: 2.2rem;
	font-style: italic;
	color: #5c3d2e;
	margin: 0;
	letter-spacing: 0.02em;
}

.site-subtitle {
	font-size: 0.95rem;
	color: #9a8a7a;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	margin-top: 0.25em;
}

/* Recipe list on index */
.recipe-list {
	list-style: none;
	padding: 0;
	margin: 1.5em 0;
}

.recipe-list li {
	padding: 0.75em 0;
	border-bottom: 1px solid #f0e8df;
}

.recipe-list li:last-child {
	border-bottom: none;
}

.recipe-list a {
	font-size: 1.1rem;
	display: block;
	padding: 0.3em 0.5em;
	border-radius: 6px;
	transition: background-color 0.2s, color 0.2s;
}

.recipe-list a:hover {
	background-color: #fdf5ed;
	text-decoration: none;
}

/* Servings line */
.servings {
	text-align: center;
	font-style: italic;
	color: #9a8a7a;
	margin-bottom: 1.5em;
}

/* Ingredient table */
table {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
	font-size: 0.95rem;
}

table td {
	padding: 0.4em 0.75em;
	vertical-align: top;
	border-bottom: 1px dotted #e8ddd0;
}

table tr:last-child td {
	border-bottom: none;
}

table td:first-child {
	white-space: nowrap;
	font-weight: 600;
	color: #8b5e3c;
	width: 120px;
}

table td:last-child {
	color: #9a8a7a;
	font-size: 0.85rem;
	text-align: right;
	width: 80px;
}

/* Instructions */
.instructions {
	margin-top: 1.5em;
	line-height: 1.9;
}

/* Bon appetit */
.bon-appetit {
	text-align: center;
	font-style: italic;
	font-size: 1.15rem;
	color: #8b5e3c;
	margin-top: 2em;
	padding-top: 1em;
	border-top: 1px solid #e8ddd0;
}

/* Back link */
.back-link {
	display: inline-block;
	margin-bottom: 1.5em;
	font-size: 0.9rem;
	color: #9a8a7a;
}

.back-link:hover {
	color: #a0522d;
}

/* Footer */
.recipe-footer {
	text-align: center;
	margin-top: 2em;
	padding-top: 1em;
	border-top: 1px solid #e8ddd0;
	font-size: 0.85rem;
	color: #b8a898;
}

/* Responsive */
@media (max-width: 700px) {
	.recipe-page {
		margin: 0;
		padding: 1.5em;
		border-radius: 0;
		box-shadow: none;
	}
}

/* Override old CENTER/HR styling */
hr {
	border: none;
	border-top: 1px solid #e8ddd0;
	margin: 1em 0;
}

center {
	text-align: center;
}
