/* ========================================
   GUIDES STYLING
   Professional Chef Knives - Guide Pages
   Enhanced styling for comprehensive content
   ======================================== */

/* Import the color palette from main styles */
:root {
	--forest-green: #2B5442;
	--burgundy: #8B2635;
	--warm-cream: #FAF8F5;
	--pure-white: #FFFFFF;
	--gold: #B8956A;
	--charcoal: #2C2C2C;
	--soft-gray: #6B6B6B;
	--light-gray: #E5E5E5;
	--deep-teal: #1a4d5c;
	--dark-teal: #0f3643;
}

/* ========================================
   MAIN CONTAINER WITH ANIMATION
   ======================================== */

.mainContainer2 {
	animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   GUIDE NAVIGATION SIDEBAR
   ======================================== */

.leftCol {
	animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
	from { opacity: 0; transform: translateX(-30px); }
	to { opacity: 1; transform: translateX(0); }
}

/* Enhanced sidebar navigation */
.leftMenuPanel {
	display: flex;
	flex-direction: column;
	padding: 0;
}

.leftMenuPanel a {
	display: block;
	padding: 16px 20px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--charcoal);
	text-decoration: none;
	border-bottom: 1px solid #f0f2f5;
	transition: all 0.3s ease;
}

.leftMenuPanel a:last-child {
	border-bottom: none;
}

.leftMenuPanel a:hover {
	background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
	color: var(--forest-green);
	transform: translateX(3px);
	padding-left: 24px;
}

.leftMenuPanel a:active,
.leftMenuPanel a.active {
	background: linear-gradient(135deg, var(--forest-green) 0%, #1F3D30 100%);
	color: var(--pure-white);
	font-weight: 600;
}

/* ========================================
   CONTENT CONTAINER IMPROVEMENTS
   ======================================== */

.rightColWhiteBGStay {
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	transition: box-shadow 0.3s ease;
	line-height: 1.8;
}

.rightColWhiteBGStay:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* ========================================
   ENHANCED TYPOGRAPHY FOR GUIDES
   ======================================== */

.rightColWhiteBGStay h1 {
	font-family: 'Playfair Display', serif;
	font-size: 42px;
	font-weight: 700;
	color: var(--charcoal);
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 4px solid var(--forest-green);
	line-height: 1.3;
	position: relative;
}

.rightColWhiteBGStay h1::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 120px;
	height: 4px;
	background: linear-gradient(90deg, var(--gold), transparent);
}

.rightColWhiteBGStay h2 {
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 700;
	color: var(--forest-green);
	margin-top: 48px;
	margin-bottom: 20px;
	line-height: 1.4;
	padding-left: 20px;
	border-left: 4px solid var(--forest-green);
	position: relative;
}

.rightColWhiteBGStay h2::before {
	content: '';
	position: absolute;
	left: -4px;
	top: 0;
	width: 4px;
	height: 100%;
	background: linear-gradient(180deg, var(--forest-green), var(--gold));
}

.rightColWhiteBGStay h3 {
	font-family: 'Montserrat', sans-serif;
	font-size: 22px;
	font-weight: 600;
	color: var(--charcoal);
	margin-top: 36px;
	margin-bottom: 16px;
	line-height: 1.4;
}

.rightColWhiteBGStay h4 {
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: 600;
	color: var(--soft-gray);
	margin-top: 28px;
	margin-bottom: 12px;
}

/* Enhanced paragraph styling */
.rightColWhiteBGStay p {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--soft-gray);
	line-height: 1.9;
	margin-bottom: 20px;
}

.rightColWhiteBGStay p:first-of-type {
	font-size: 17px;
	line-height: 2;
	color: var(--charcoal);
	margin-bottom: 24px;
}

.rightColWhiteBGStay p strong {
	color: var(--charcoal);
	font-weight: 600;
}

/* ========================================
   ENHANCED LINK STYLING
   ======================================== */

.rightColWhiteBGStay a {
	color: var(--forest-green);
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px solid transparent;
	transition: all 0.3s ease;
	position: relative;
}

.rightColWhiteBGStay a:hover {
	color: var(--burgundy);
	border-bottom-color: var(--burgundy);
}

.rightColWhiteBGStay a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--burgundy), var(--gold));
	transition: width 0.3s ease;
}

.rightColWhiteBGStay a:hover::after {
	width: 100%;
}

/* ========================================
   LIST ENHANCEMENTS
   ======================================== */

.rightColWhiteBGStay ul {
	list-style: none;
	padding-left: 0;
	margin: 28px 0;
}

.rightColWhiteBGStay ul li {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--soft-gray);
	line-height: 1.9;
	margin-bottom: 16px;
	padding-left: 40px;
	position: relative;
}

.rightColWhiteBGStay ul li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	color: var(--pure-white);
	font-size: 16px;
	font-weight: bold;
	width: 28px;
	height: 28px;
	background: linear-gradient(135deg, var(--forest-green), #1F3D30);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(43, 84, 66, 0.3);
}

/* Ordered lists */
.rightColWhiteBGStay ol {
	padding-left: 32px;
	margin: 28px 0;
}

.rightColWhiteBGStay ol li {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: var(--soft-gray);
	line-height: 1.9;
	margin-bottom: 16px;
	padding-left: 8px;
}

.rightColWhiteBGStay ol li::marker {
	color: var(--forest-green);
	font-weight: 700;
}

/* ========================================
   BLOCKQUOTE STYLING
   ======================================== */

.rightColWhiteBGStay blockquote {
	background: linear-gradient(135deg, var(--warm-cream) 0%, #F0EDE8 100%);
	border-left: 6px solid var(--forest-green);
	padding: 28px 32px;
	margin: 32px 0;
	border-radius: 0 12px 12px 0;
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	font-style: italic;
	color: var(--charcoal);
	line-height: 1.8;
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.rightColWhiteBGStay blockquote p {
	margin-bottom: 0;
	font-family: 'Playfair Display', serif;
	font-size: 18px;
	color: var(--charcoal);
}

/* ========================================
   SPECIAL CONTENT BOXES
   ======================================== */

/* Key takeaway box */
.key-takeaway {
	background: linear-gradient(135deg, rgba(43, 84, 66, 0.08) 0%, rgba(43, 84, 66, 0.05) 100%);
	border: 2px solid var(--forest-green);
	border-radius: 12px;
	padding: 28px;
	margin: 32px 0;
	position: relative;
	overflow: hidden;
}

.key-takeaway::before {
	content: '✓';
	position: absolute;
	top: -10px;
	right: 20px;
	font-size: 80px;
	color: rgba(43, 84, 66, 0.1);
	font-weight: bold;
}

.key-takeaway h3 {
	margin-top: 0;
	color: var(--forest-green);
	font-size: 20px;
}

/* Pro tip box */
.pro-tip {
	background: linear-gradient(135deg, rgba(184, 149, 106, 0.1) 0%, rgba(184, 149, 106, 0.05) 100%);
	border: 2px solid var(--gold);
	border-radius: 12px;
	padding: 28px;
	margin: 32px 0;
	position: relative;
}

.pro-tip::before {
	content: '💡';
	position: absolute;
	top: -5px;
	right: 20px;
	font-size: 60px;
	opacity: 0.3;
}

.pro-tip h3 {
	margin-top: 0;
	color: var(--gold);
	font-size: 20px;
}

/* Warning box */
.warning {
	background: linear-gradient(135deg, rgba(139, 38, 53, 0.08) 0%, rgba(139, 38, 53, 0.05) 100%);
	border: 2px solid var(--burgundy);
	border-radius: 12px;
	padding: 28px;
	margin: 32px 0;
	position: relative;
}

.warning::before {
	content: '⚠';
	position: absolute;
	top: -5px;
	right: 20px;
	font-size: 60px;
	opacity: 0.3;
}

.warning h3 {
	margin-top: 0;
	color: var(--burgundy);
	font-size: 20px;
}

/* ========================================
   CODE AND PREFORMATTED TEXT
   ======================================== */

.rightColWhiteBGStay code {
	background-color: rgba(43, 84, 66, 0.08);
	color: var(--forest-green);
	padding: 3px 8px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 14px;
}

.rightColWhiteBGStay pre {
	background: linear-gradient(135deg, #2C2C2C 0%, #1a1a1a 100%);
	color: #00ff00;
	padding: 24px;
	border-radius: 12px;
	overflow-x: auto;
	margin: 28px 0;
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.rightColWhiteBGStay pre code {
	background: none;
	color: #00ff00;
	padding: 0;
}

/* ========================================
   BACK TO TOP BUTTON - ENHANCED
   ======================================== */

.backToTop {
	position: fixed;
	bottom: 40px;
	right: 40px;
	background: linear-gradient(135deg, var(--forest-green), #1F3D30);
	color: var(--pure-white);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	box-shadow: 0 4px 16px rgba(43, 84, 66, 0.4);
	transition: all 0.3s ease;
	z-index: 1000;
	opacity: 0;
	visibility: hidden;
}

.backToTop.visible {
	opacity: 1;
	visibility: visible;
}

.backToTop:hover {
	background: linear-gradient(135deg, var(--burgundy), #6b1d27);
	transform: translateY(-6px);
	box-shadow: 0 8px 24px rgba(139, 38, 53, 0.5);
}

.backToTop i {
	font-size: 20px;
}

/* ========================================
   TABLE STYLING (FOR COMPARISON TABLES)
   ======================================== */

.rightColWhiteBGStay table {
	width: 100%;
	border-collapse: collapse;
	margin: 32px 0;
	background: var(--pure-white);
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	border-radius: 12px;
	overflow: hidden;
}

.rightColWhiteBGStay thead {
	background: linear-gradient(135deg, var(--forest-green), #1F3D30);
	color: var(--pure-white);
}

.rightColWhiteBGStay th {
	padding: 16px 20px;
	text-align: left;
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rightColWhiteBGStay td {
	padding: 16px 20px;
	border-bottom: 1px solid var(--light-gray);
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	color: var(--soft-gray);
}

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

.rightColWhiteBGStay tbody tr:hover {
	background-color: rgba(43, 84, 66, 0.04);
}

/* ========================================
   IMAGE STYLING
   ======================================== */

.rightColWhiteBGStay img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	margin: 24px 0;
}

.rightColWhiteBGStay figure {
	margin: 32px 0;
	text-align: center;
}

.rightColWhiteBGStay figcaption {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	color: var(--soft-gray);
	font-style: italic;
	margin-top: 12px;
}

/* ========================================
   HORIZONTAL RULE
   ======================================== */

.rightColWhiteBGStay hr {
	border: none;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--light-gray), transparent);
	margin: 48px 0;
}

/* ========================================
   READING PROGRESS BAR
   ======================================== */

.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background: linear-gradient(90deg, var(--forest-green), var(--gold), var(--burgundy));
	z-index: 9999;
	transition: width 0.1s ease;
}

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

@media only screen and (max-width: 1024px) {
	.rightColWhiteBGStay h1 {
		font-size: 36px;
		margin-bottom: 28px;
		padding-bottom: 20px;
	}

	.rightColWhiteBGStay h2 {
		font-size: 24px;
		margin-top: 40px;
		padding-left: 16px;
	}

	.rightColWhiteBGStay h3 {
		font-size: 20px;
	}
}

@media only screen and (max-width: 768px) {
	.rightColWhiteBGStay h1 {
		font-size: 30px;
		margin-bottom: 24px;
		padding-bottom: 16px;
	}

	.rightColWhiteBGStay h2 {
		font-size: 22px;
		margin-top: 36px;
		margin-bottom: 16px;
		padding-left: 12px;
	}

	.rightColWhiteBGStay h3 {
		font-size: 18px;
		margin-top: 28px;
	}

	.rightColWhiteBGStay p,
	.rightColWhiteBGStay ul li,
	.rightColWhiteBGStay ol li {
		font-size: 15px;
	}

	.rightColWhiteBGStay p:first-of-type {
		font-size: 16px;
	}

	.rightColWhiteBGStay ul li {
		padding-left: 36px;
	}

	.rightColWhiteBGStay ul li::before {
		width: 24px;
		height: 24px;
		font-size: 14px;
	}

	.backToTop {
		bottom: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
	}

	.backToTop i {
		font-size: 18px;
	}

	.key-takeaway,
	.pro-tip,
	.warning,
	.rightColWhiteBGStay blockquote {
		padding: 20px;
		margin: 24px 0;
	}

	.rightColWhiteBGStay table {
		font-size: 14px;
	}

	.rightColWhiteBGStay th,
	.rightColWhiteBGStay td {
		padding: 12px 14px;
	}
}

@media only screen and (max-width: 480px) {
	.rightColWhiteBGStay h1 {
		font-size: 26px;
		padding-bottom: 12px;
	}

	.rightColWhiteBGStay h1::after {
		width: 80px;
	}

	.rightColWhiteBGStay h2 {
		font-size: 20px;
		margin-top: 32px;
		padding-left: 10px;
	}

	.rightColWhiteBGStay h3 {
		font-size: 17px;
	}

	.rightColWhiteBGStay p,
	.rightColWhiteBGStay ul li,
	.rightColWhiteBGStay ol li {
		font-size: 14px;
	}

	.rightColWhiteBGStay p:first-of-type {
		font-size: 15px;
	}

	.rightColWhiteBGStay blockquote {
		font-size: 16px;
		padding: 16px 20px;
	}

	.backToTop {
		width: 46px;
		height: 46px;
	}

	.leftMenuPanel a {
		font-size: 13px;
		padding: 14px 16px;
	}
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
	.backToTop,
	.leftCol,
	.reading-progress {
		display: none !important;
	}

	.rightColWhiteBGStay {
		box-shadow: none;
		border: none;
		padding: 0;
	}

	.rightColWhiteBGStay h1,
	.rightColWhiteBGStay h2,
	.rightColWhiteBGStay h3 {
		page-break-after: avoid;
		color: #000;
	}

	.rightColWhiteBGStay p,
	.rightColWhiteBGStay ul,
	.rightColWhiteBGStay ol,
	.rightColWhiteBGStay table {
		page-break-inside: avoid;
	}

	.rightColWhiteBGStay a {
		color: #000;
		text-decoration: underline;
	}
}
