/*--------------------*/
/* Blog Article Page Styles */
/* Modern Tech Blog Design - HostAdvice/TechRadar Style */
/*--------------------*/

/* Breadcrumb Navigation */
.breadcrumb-nav-article {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	padding: 20px 0;
	margin-bottom: 0;
	border-bottom: 1px solid #e9ecef;
}

.breadcrumb-nav-article .breadcrumb {
	background: transparent;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.breadcrumb-item {
	display: flex;
	align-items: center;
}

.breadcrumb-item + .breadcrumb-item::before {
	content: "›";
	font-size: 18px;
	color: #6c757d;
	margin: 0 12px;
	font-weight: 300;
}

.breadcrumb-item a {
	color: #6c757d;
	text-decoration: none;
	transition: color 0.2s ease;
	font-size: 0.9rem;
}

.breadcrumb-item a:hover {
	color: var(--primary-color, #007bff);
	text-decoration: none;
}

.breadcrumb-item.active {
	color: #495057;
	font-weight: 500;
}

.breadcrumb-item i {
	margin-right: 5px;
}

/* Article Container */
.blog-article-container {
	padding: 40px 0 60px;
	background: #ffffff;
}

/* Article Header */
.article-header {
	margin-bottom: 35px;
}

.article-category {
	margin-bottom: 18px;
}

.category-badge {
	background: var(--primary-color, #f6c872);
	color: white;
	padding: 8px 20px;
	border-radius: 25px;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	display: inline-block;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.category-badge:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.article-title {
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
	margin-bottom: 25px;
	letter-spacing: -0.5px;
}

@media (max-width: 768px) {
	.article-title {
		font-size: 2rem;
		line-height: 1.3;
	}
}

/* Article Meta */
.article-meta {
	margin-bottom: 35px;
	padding-bottom: 25px;
	border-bottom: 1px solid #e9ecef;
}

.author-meta {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.author-avatar {
	width: 64px;
	height: 64px;
	background: var(--primary-color, #f6c872);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 32px;
	flex-shrink: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.author-info {
	flex-grow: 1;
}

.author-name {
	font-size: 1.15rem;
	font-weight: 600;
	color: #1a1a1a;
	display: block;
	margin-bottom: 8px;
}

.meta-details {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	color: #6c757d;
	font-size: 0.9rem;
	margin-top: 4px;
}

.publish-date, .reading-time {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #6c757d;
}

.publish-date i, .reading-time i {
	font-size: 0.85rem;
}

/* Featured Image */
.article-featured-image {
	margin-bottom: 45px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
	position: relative;
}

.article-featured-image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.05) 100%);
	pointer-events: none;
}

.article-featured-image img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.5s ease;
}

.article-featured-image:hover img {
	transform: scale(1.02);
}

/* Article Excerpt */
.article-excerpt {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	border-left: 5px solid var(--primary-color, #667eea);
	padding: 25px 30px;
	margin-bottom: 35px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-excerpt .lead {
	font-size: 1.25rem;
	line-height: 1.75;
	color: #495057;
	margin-bottom: 0;
	font-weight: 400;
	letter-spacing: -0.2px;
}

/* Article Content */
.article-content {
	font-size: 1.125rem;
	line-height: 1.85;
	color: #333;
	margin-bottom: 50px;
	font-family: "Poppins", "Noto Kufi Arabic", sans-serif;
}

.article-content h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-top: 2.5rem;
	margin-bottom: 1.25rem;
	color: #1a1a1a;
	letter-spacing: -0.3px;
	line-height: 1.3;
}

.article-content h3 {
	font-size: 1.65rem;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 1rem;
	color: #2c3e50;
	letter-spacing: -0.2px;
	line-height: 1.4;
}

.article-content h4 {
	font-size: 1.35rem;
	font-weight: 600;
	margin-top: 1.75rem;
	margin-bottom: 0.875rem;
	color: #34495e;
}

.article-content p {
	margin-bottom: 1.5rem;
	color: #4a5568;
}

.article-content ul, .article-content ol {
	margin-bottom: 1.5rem;
	padding-left: 2rem;
	color: #4a5568;
}

.article-content ul {
	list-style-type: disc;
}

.article-content ol {
	list-style-type: decimal;
}

.article-content li {
	margin-bottom: 0.75rem;
	line-height: 1.7;
}

.article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 2rem 0;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-content blockquote {
	border-left: 5px solid var(--primary-color, #667eea);
	padding: 20px 25px;
	margin: 2rem 0;
	font-style: italic;
	color: #5a6578;
	font-size: 1.2rem;
	background: #f8f9fa;
	border-radius: 8px;
	line-height: 1.7;
}

.article-content blockquote p {
	margin-bottom: 0;
}

.article-content code {
	background: #f4f4f4;
	padding: 3px 8px;
	border-radius: 4px;
	font-family: 'Courier New', 'Monaco', 'Consolas', monospace;
	font-size: 0.9em;
	color: #e83e8c;
}

.article-content pre {
	background: #2d3748;
	color: #e2e8f0;
	padding: 20px;
	border-radius: 8px;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.article-content pre code {
	background: transparent;
	color: inherit;
	padding: 0;
}

.article-content a {
	color: var(--primary-color, #007bff);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.article-content a:hover {
	color: var(--primary-color, #0056b3);
	text-decoration: none;
}

.article-content strong {
	font-weight: 600;
	color: #1a1a1a;
}

/* Article Footer */
.article-footer {
	border-top: 2px solid #e9ecef;
	padding-top: 35px;
	margin-top: 50px;
}

/* Tags Section */
.article-tags {
	margin-bottom: 35px;
}

.article-tags h4 {
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 18px;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	gap: 10px;
}

.article-tags h4 i {
	color: var(--primary-color, #667eea);
}

.tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.tag-link {
	background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
	color: #1976d2;
	padding: 10px 20px;
	border-radius: 25px;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.3s ease;
	border: 1px solid rgba(25, 118, 210, 0.2);
	display: inline-block;
}

.tag-link:hover {
	background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
	text-decoration: none;
	border-color: #1976d2;
}

/* Share Section */
.article-share {
	margin-bottom: 30px;
	padding: 25px 0;
	border-top: 2px solid #e9ecef;
	border-bottom: 2px solid #e9ecef;
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	padding: 30px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.article-share h4 {
	font-size: 1.2rem;
	font-weight: 700;
	margin-bottom: 20px;
	color: #1a1a1a;
	display: flex;
	align-items: center;
	gap: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.article-share h4 i {
	color: var(--primary-color, #667eea);
}

.share-buttons {
	display: flex !important;
	flex-wrap: wrap;
	gap: 15px;
	align-items: center;
	min-height: 60px;
	padding: 10px 0;
}

.share-btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
	color: white;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	cursor: pointer;
}

.share-btn-icon:hover {
	transform: translateY(-3px) scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	text-decoration: none;
	color: white;
}

.share-btn-icon i {
	font-size: 1.5rem;
	line-height: 1;
	display: inline-block;
	width: 100%;
	text-align: center;
}

.facebook-btn {
	background: #1877f2;
}

.facebook-btn:hover {
	background: #0d5fc9;
}

.x-btn {
	background: #1da1f2;
}

.x-btn:hover {
	background: #0c85d0;
}

.linkedin-btn {
	background: #0077b5;
}

.linkedin-btn:hover {
	background: #005582;
}

.whatsapp-btn {
	background: #25d366;
}

.whatsapp-btn:hover {
	background: #1da851;
}

.reddit-btn {
	background: #ff4500;
}

.reddit-btn:hover {
	background: #ff5500;
}

.email-btn {
	background: #f4a261;
}

.email-btn:hover {
	background: #e76f51;
}

.clipboard-btn {
	background: #6c757d;
}

.clipboard-btn:hover {
	background: #5a6268;
}

/* Screen reader text (accessibility) */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* Sidebar - Sticky Behavior */
.article-sidebar {
	position: relative;
}

@media (min-width: 960px) {
	.article-sidebar {
		padding-left: 30px;
		position: sticky;
		top: 20px;
		align-self: flex-start;
	}
}

/* ========================================
   Sticky Hosting Widget - Modern Card Design
   ======================================== */

/* Main Widget Container */
.sticky-hosting-widget {
	width: 100%;
	background: #ffffff;
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 25px;
	transition: all 0.3s ease;
	border: 1px solid #e9e9e9;
}

@media (min-width: 960px) {
	.sticky-hosting-widget {
		max-width: 360px;
	}
}

.sticky-hosting-widget:hover {
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	border-color: #d0d0d0;
}

/* Widget Title */
.hosting-widget-title {
	font-size: 20px;
	font-weight: 600;
	margin: 0 0 20px 0;
	color: #1a1a1a;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.hosting-widget-title i {
	color: var(--primary-color, #f6c872);
	font-size: 1rem;
	margin-right: 8px;
}

/* Content Area - No scrolling, natural flow */
.hosting-widget-content {
	background: #ffffff;
}

/* List Container */
.hosting-widget-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* List Items */
.hosting-widget-item {
	margin: 0;
	padding: 15px 0;
	list-style: none;
	border-bottom: 1px solid #f0f0f0;
}

.hosting-widget-item:last-child {
	border-bottom: none;
}

/* Individual Hosting Card */
.hosting-widget-card {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

/* Provider Info - Logo and Details */
.hosting-widget-header {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

/* Logo Container */
.hosting-widget-logo {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hosting-widget-logo img {
	width: 40px;
	height: 40px;
	object-fit: contain;
	border-radius: 4px;
}

/* Company Info */
.hosting-widget-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.hosting-widget-name {
	font-size: 16px;
	font-weight: 600;
	color: #222;
	margin: 0;
	line-height: 1.3;
}

.hosting-widget-read-more {
	color: #555;
	text-decoration: none;
	font-size: 13px;
	transition: all 0.2s ease;
}

.hosting-widget-read-more:hover {
	text-decoration: underline;
}

/* Visit Site Link */
.hosting-widget-visit-btn {
	white-space: nowrap;
	flex-shrink: 0;
	margin-left: 20px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	color: #0069ff;
	transition: all 0.2s ease;
}

.hosting-widget-visit-btn:hover {
	text-decoration: underline;
}

.back-to-blog {
	margin-bottom: 25px;
}

.back-to-blog .btn {
	width: 100%;
	padding: 14px;
}

.section-header {
	text-align: center;
	margin-bottom: 50px;
}

.section-header h2 {
	font-size: 2.25rem;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 12px;
	letter-spacing: -0.5px;
}

.section-header h2 i {
	color: var(--primary-color, #667eea);
	margin-right: 12px;
}

.section-header p {
	color: #6c757d;
	font-size: 1.15rem;
	margin-bottom: 0;
}

.related-post-card {
	background: white;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transition: all 0.4s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid #e9ecef;
}

.related-post-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
	border-color: var(--primary-color, #667eea);
}

.related-post-image {
	overflow: hidden;
	height: 220px;
	background: #f8f9fa;
	position: relative;
}

.related-post-image::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.05) 100%);
	pointer-events: none;
}

.related-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.related-post-card:hover .related-post-image img {
	transform: scale(1.12);
}

.related-post-content {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.related-post-title {
	font-size: 1.2rem;
	font-weight: 600;
	margin-bottom: 12px;
	line-height: 1.4;
	color: #1a1a1a;
}

.related-post-title a {
	color: #1a1a1a;
	text-decoration: none;
	transition: color 0.3s ease;
}

.related-post-title a:hover {
	color: var(--primary-color, #007bff);
	text-decoration: none;
}

.related-post-excerpt {
	color: #6c757d;
	font-size: 0.95rem;
	line-height: 1.65;
	margin-bottom: 18px;
	flex-grow: 1;
}

.related-post-meta {
	font-size: 0.85rem;
	color: #95a5a6;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 5px;
}

.related-post-meta i {
	font-size: 0.8rem;
}

.read-more-link {
	color: var(--primary-color, #007bff);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.3s ease;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.read-more-link:hover {
	color: var(--primary-color, #0056b3);
	transform: translateX(5px);
	text-decoration: none;
}

.read-more-link i {
	font-size: 0.85rem;
	transition: transform 0.3s ease;
}

.read-more-link:hover i {
	transform: translateX(3px);
}

/* View All Button */
.related-posts-section .btn-primary {
	padding: 16px 32px;
	font-size: 1.05rem;
	font-weight: 600;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
	transition: all 0.3s ease;
	border: none;
}

.related-posts-section .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Our Best Hosting Sites Bottom Section */
.hosting-sites-bottom-section {
	margin-top: 30px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	border: 1px solid #e9ecef;
	overflow: hidden;
}

.hosting-sites-bottom-header {
	padding: 20px 20px 15px 20px;
	border-bottom: 1px solid #e9ecef;
}

.hosting-sites-bottom-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #1a1a1a;
	text-align: left;
	margin: 0;
}

.hosting-sites-bottom-body {
	padding: 0;
}

.hosting-site-bottom-item {
	display: flex;
	align-items: center;
	padding: 18px 20px;
	gap: 15px;
	border-bottom: 1px solid #e9ecef;
	transition: background-color 0.2s ease;
}

.hosting-site-bottom-item:last-child {
	border-bottom: none;
}

.hosting-site-bottom-item:hover {
	background-color: #f8f9fa;
}

.hosting-site-bottom-image {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hosting-site-bottom-image img {
	width: 50px;
	height: 50px;
	object-fit: contain;
	max-width: 100%;
	max-height: 100%;
}

.hosting-site-bottom-company-wrapper {
	flex-grow: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.hosting-site-bottom-company-name {
	font-size: 1rem;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0;
	line-height: 1.3;
	word-wrap: break-word;
}

.hosting-read-more-bottom-link {
	color: #6c757d;
	text-decoration: underline;
	font-size: 0.85rem;
	font-weight: 500;
	transition: color 0.3s ease;
	display: inline-block;
	align-self: flex-start;
}

.hosting-read-more-bottom-link:hover {
	color: #4285f4;
	text-decoration: underline;
}

.hosting-link-bottom-visit {
	color: #4285f4;
	text-decoration: underline;
	font-size: 0.9rem;
	font-weight: 600;
	transition: all 0.3s ease;
	white-space: nowrap;
	flex-shrink: 0;
	cursor: pointer;
}

.hosting-link-bottom-visit:hover {
	color: #3367d6;
	text-decoration: underline;
}

.hosting-link-bottom-visit span {
	display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.article-sidebar {
		padding-left: 0;
		margin-top: 40px;
	}
}

/* Mobile Responsive Styles */
@media (max-width: 959px) {
	.sticky-hosting-widget {
		position: relative !important;
		top: 0 !important;
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: none;
		margin-bottom: 30px;
	}
	
	.hosting-widget-content {
		overflow-y: visible;
		max-height: none;
	}
}

@media (max-width: 768px) {
	.sticky-hosting-widget {
		border-radius: 10px;
	}
	
	.hosting-widget-title {
		padding: 18px 16px 14px 16px;
		font-size: 1rem;
	}
	
	.hosting-widget-content {
		padding: 14px;
	}
	
	.hosting-widget-header {
		gap: 10px;
	}
	
	.hosting-widget-logo {
		width: 50px;
		height: 50px;
		padding: 6px;
	}
	
	.hosting-widget-name {
		font-size: 0.9rem;
	}
	
	.hosting-widget-visit-btn {
		padding: 9px 12px;
		font-size: 0.8rem;
	}
	
	.breadcrumb-nav-article {
		padding: 15px 0;
	}
	
	.breadcrumb-item {
		font-size: 0.85rem;
	}
	
	.breadcrumb-item + .breadcrumb-item::before {
		margin: 0 8px;
		font-size: 16px;
	}
	
	.blog-article-container {
		padding: 30px 0 50px;
	}
	
	.article-title {
		font-size: 1.85rem;
	}
	
	.article-content {
		font-size: 1rem;
	}
	
	.article-content h2 {
		font-size: 1.65rem;
	}
	
	.article-content h3 {
		font-size: 1.4rem;
	}
	
	.sticky-share-sidebar {
		position: relative;
		top: 0;
		margin-bottom: 30px;
	}
	
	.share-buttons-vertical {
		flex-direction: row;
		flex-wrap: wrap;
	}
	
	.share-btn-icon {
		width: 45px;
		height: 45px;
		flex: 0 0 auto;
	}
	
	.share-btn-icon i {
		font-size: 1.3rem;
	}
	
	.share-buttons {
		justify-content: center;
		gap: 12px;
	}
	
	.share-btn {
		flex: 1;
		min-width: 140px;
		justify-content: center;
	}
	
	.related-posts-section {
		padding: 50px 0;
	}
	
	.section-header h2 {
		font-size: 1.75rem;
	}
	
	.related-post-image {
		height: 180px;
	}
}

@media (max-width: 480px) {
	.article-title {
		font-size: 1.65rem;
	}
	
	.author-meta {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.author-avatar {
		margin-bottom: 12px;
	}
	
	.meta-details {
		flex-direction: column;
		gap: 10px;
	}
	
	.share-btn {
		font-size: 0.85rem;
		padding: 12px 16px;
	}
	
	.share-btn-icon {
		width: 42px;
		height: 42px;
	}
	
	.share-btn-icon i {
		font-size: 1.2rem;
	}
	
	.share-buttons {
		gap: 10px;
	}
	
	.related-posts-section {
		padding: 40px 0;
	}
}

