/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

html, body {
	scroll-behavior: smooth;
}

/* Training Template Related Posts */
.related-articles {
	padding: 60px 0;
	background: #f8f9fa;
}

.related-articles-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 40px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 20px;
}

.related-articles-content h2 {
	font-size: 2.5rem;
	font-weight: 400;
	margin: 0 0 10px 0;
	color: #333;
}

.related-articles-content p {
	font-size: 1.1rem;
	color: #666;
	margin: 0;
}

.view-all-btn {
	background: white;
	border: 2px solid #ddd;
	padding: 12px 24px;
	text-decoration: none;
	color: #333;
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.view-all-btn:hover {
	border-color: #007cba;
	color: #007cba;
}

.related-articles-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.related-article-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.article-image {
	height: 200px;
	overflow: hidden;
	background: #f0f0f0;
	display: flex;
	align-items: center;
	justify-content: center;
}


.article-image img {
	width: 100%;
	aspect-ratio: 16/9;
	height: 100%;
	object-fit: cover;
}

.placeholder-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: #e0e0e0;
}

.article-content {
	padding: 24px;
}

.article-category {
	background: #f0f0f0;
	color: #666;
	font-size: 0.875rem;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: 20px;
	display: inline-block;
	margin-bottom: 12px;
}

.article-title {
	margin: 0 0 12px 0;
}

p.article-date {
    margin-bottom: 10px;
    font-size: 14px;
    color: #8b8b8b;
    font-weight: 400;
}

.article-title a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
	font-size: 1.2rem;
	line-height: normal;
}

.article-title a:hover {
	color: #007cba;
}

.article-excerpt {
	color: #666;
	line-height: 1.5;
	margin: 0 0 20px 0;
}

.read-more-link {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: color 0.3s ease;
}

.read-more-link:hover {
	color: #007cba;
}

.arrow {
	transition: transform 0.3s ease;
}

.read-more-link:hover .arrow {
	transform: translateX(4px);
}

@media (max-width: 768px) {
	.related-articles-header {
		flex-direction: column;
		gap: 20px;
		align-items: flex-start;
	}

	.related-articles-content h2 {
		font-size: 2rem;
	}

	.related-articles-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}