/* ===================================
   DEV INSIGHTS ARTIKEL - CORPORATE DESIGN
   =================================== */

/* Article Header */
.article-hero {
    background: rgba(52, 152, 219, 0.04);
    border-radius:  0 0 3px 3px;
    padding: 30px;
    border-left: 1px solid rgba(52, 152, 219, 0.15);
	border-right: 1px solid rgba(52, 152, 219, 0.15);
	border-bottom: none;
	border-top: none;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: center;
}

.article-hero-image {
    max-width: 150px;
    width: auto;
    height: auto;
    border-radius: var(--gi-border-radius-5);
    overflow: hidden;
    border: 2px solid rgba(52, 152, 219, 0.3);
    background: rgba(0, 0, 0, 0.3);
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.article-hero-content {
	flex: 1;
}

.article-category {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	background: rgba(52, 152, 219, 0.12);
	border-radius: 4px;
	font-size: 0.75em;
	font-weight: 500;
	color: #5dade2;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

.article-hero-title {
	margin: 0 0 12px 0;
	font-weight: 600;
	color: var(--gi-body-font-color);
	line-height: 1.2;
}

.article-hero-excerpt {
	color: #95a5a6;
	line-height: 1.6;
	margin: 0;
	font-size: 0.95em;
}

/* Company Info Box */
.company-info-box {
	background: rgba(52, 152, 219, 0.04);
	border-left: 1px solid rgba(52, 152, 219, 0.15);
	border-right: 1px solid rgba(52, 152, 219, 0.15);
	border-bottom: none;
	border-top: 1px solid rgba(52, 152, 219, 0.15);
	border-radius: 3px 3px 0 0;
	padding: 20px;
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: 18px;
	align-items: start;
}

.company-info-logo {
	width: 80px;
	height: 80px;
	border-radius: var(--gi-border-radius-5);
	overflow: hidden;
	border: 2px solid rgba(52, 152, 219, 0.2);
	background: rgba(255, 255, 255, 0.05);
}

.company-info-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.company-info-details {
	flex: 1;
}

.company-info-name {
	margin: 0 0 8px 0;
	font-size: 1.3em;
	font-weight: 600;
	color: var(--gi-body-font-color);
}

.company-info-name i {
	color: #5dade2;
	margin-right: 8px;
}

.company-info-desc {
	color: #95a5a6;
	font-size: 0.9em;
	line-height: 1.6;
	margin-bottom: 12px;
}

.company-info-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 0.85em;
}

.company-info-item {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #95a5a6;
}

.company-info-item i {
	color: #5dade2;
}

.company-info-item a {
	color: #5dade2;
	text-decoration: none;
	transition: color 0.2s ease;
}

.company-info-item a:hover {
	color: #85c7f2;
	text-decoration: underline;
}

/* Article Meta */
.article-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 15px;
	padding: 15px 20px;
	background: rgba(41, 128, 185, 0.04);
	border-radius: var(--gi-border-radius-5);
	margin-bottom: 30px;
	font-size: 0.9em;
}

.article-author {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #95a5a6;
}

.article-author i {
	color: #5dade2;
}

.article-author a {
	color: #5dade2;
	text-decoration: none;
	font-weight: 500;
}

.article-author a:hover {
	color: #85c7f2;
	text-decoration: underline;
}

.article-date {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #7f8c8d;
}

.article-date i {
	color: #5dade2;
}

/* Article Content */
.article-content {
	color: #bdc3c7;
	line-height: 1.8;
	font-size: 1em;
}

.article-content h2 {
	color: var(--gi-body-font-color);
	
	font-weight: 600;
	margin: 40px 0 20px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(52, 152, 219, 0.2);
	display: flex;
	align-items: center;
	gap: 10px;
}

.article-content h2:first-child {
	margin-top: 0;
}

.article-content h2 i {
	color: #5dade2;
	font-size: 0.85em;
}

.article-content h3 {
	color: var(--gi-body-font-color);
	font-size: 1.3em;
	font-weight: 600;
	margin: 30px 0 15px 0;
}

.article-content p {
	margin: 0 0 18px 0;
}

.article-content a {
	color: #5dade2;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.article-content a:hover {
	color: #85c7f2;
	text-decoration: underline;
}

.article-content ul,
.article-content ol {
	margin: 0 0 18px 0;
	padding-left: 25px;
}

.article-content li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.article-content strong {
	color: var(--gi-body-font-color);
	font-weight: 600;
}

/* Content Sections */
.content-section {
	margin-bottom: 40px;
}

.section-highlight {
	background: rgba(52, 152, 219, 0.06);
	border-left: 3px solid #5dade2;
	padding: 20px 25px;
	border-radius: var(--gi-border-radius-5);
	margin: 25px 0;
}

.section-highlight p:last-child {
	margin-bottom: 0;
}

/* Image Gallery / Slider */
.article-gallery {
	margin: 30px 0;
}

.gallery-image-container {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(52, 152, 219, 0.15);
	border-radius: var(--gi-border-radius-5);
	overflow: hidden;
	margin-bottom: 10px;
}

.gallery-image {
	width: 100%;
	height: auto;
	display: block;
}

.gallery-caption {
	padding: 12px 15px;
	background: rgba(41, 128, 185, 0.04);
	font-size: 0.85em;
	color: #95a5a6;
	font-style: italic;
	text-align: center;
	border-top: 1px solid rgba(52, 152, 219, 0.1);
}

/* Image Grid */
.image-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
	margin: 25px 0;
}

.image-grid-item {
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(52, 152, 219, 0.15);
	border-radius: var(--gi-border-radius-5);
	overflow: hidden;
	transition: transform 0.2s ease;
}

.image-grid-item:hover {
	transform: translateY(-3px);
	border-color: rgba(52, 152, 219, 0.3);
}

.image-grid-item img {
	width: 100%;
	height: auto;
	display: block;
}

/* Code Blocks */
.code-example {
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(52, 152, 219, 0.15);
	border-radius: var(--gi-border-radius-5);
	padding: 20px;
	margin: 20px 0;
	overflow-x: auto;
}

.code-example pre {
	margin: 0;
	font-family: 'Courier New', monospace;
	font-size: 0.9em;
	color: #a8dadc;
	line-height: 1.6;
}

.code-example code {
	font-family: 'Courier New', monospace;
}

/* Info Boxes */
.info-box {
	background: rgba(52, 152, 219, 0.08);
	border: 1px solid rgba(52, 152, 219, 0.25);
	border-radius: var(--gi-border-radius-5);
	padding: 18px 20px;
	margin: 20px 0;
	display: flex;
	gap: 15px;
}

.info-box.warning {
	background: rgba(241, 196, 15, 0.08);
	border-color: rgba(241, 196, 15, 0.25);
}

.info-box.success {
	background: rgba(26, 188, 156, 0.08);
	border-color: rgba(26, 188, 156, 0.25);
}

.info-box-icon {
	font-size: 1.5em;
	color: #5dade2;
	min-width: 24px;
}

.info-box.warning .info-box-icon {
	color: #f1c40f;
}

.info-box.success .info-box-icon {
	color: #1abc9c;
}

.info-box-content {
	flex: 1;
}

.info-box-content p:last-child {
	margin-bottom: 0;
}

/* Step List */
.step-list {
	counter-reset: step-counter;
	list-style: none;
	padding: 0;
	margin: 25px 0;
}

.step-item {
	counter-increment: step-counter;
	display: flex;
	gap: 20px;
	margin-bottom: 25px;
	padding: 20px;
	background: rgba(41, 128, 185, 0.04);
	border-radius: var(--gi-border-radius-5);
	border-left: 3px solid #5dade2;
}

.step-number {
	width: 40px;
	height: 40px;
	min-width: 40px;
	background: #5dade2;
	color: #1a1f2e;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.2em;
}

.step-number::before {
	content: counter(step-counter);
}

.step-content {
	flex: 1;
}

.step-content h3 {
	margin: 0 0 10px 0;
	color: var(--gi-body-font-color);
	font-size: 1.2em;
}

.step-content p:last-child {
	margin-bottom: 0;
}

/* Feature List */
.feature-list {
	list-style: none;
	padding: 0;
	margin: 20px 0;
}

.feature-list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 12px 15px;
	background: rgba(41, 128, 185, 0.04);
	border-radius: var(--gi-border-radius-5);
	margin-bottom: 10px;
	border-left: 2px solid rgba(52, 152, 219, 0.3);
}

.feature-list li:hover {
	background: rgba(41, 128, 185, 0.06);
}

.feature-list i {
	color: #5dade2;
	margin-top: 2px;
	min-width: 16px;
}

/* Table Styles */
.article-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 25px 0;
	background: rgba(41, 128, 185, 0.04);
	border-radius: var(--gi-border-radius-5);
	overflow: hidden;
}

.article-content table th {
	background: rgba(52, 152, 219, 0.12);
	color: var(--gi-body-font-color);
	font-weight: 600;
	text-align: left;
	padding: 12px 15px;
	border-bottom: 2px solid rgba(52, 152, 219, 0.2);
}

.article-content table td {
	padding: 12px 15px;
	border-bottom: 1px solid rgba(52, 152, 219, 0.1);
}

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

/* Responsive Design */
@media (max-width: 900px) {
	.article-hero {
		grid-template-columns: 150px 1fr;
		gap: 20px;
		padding: 25px;
	}
	
	.article-hero-image {
		width: 150px;
		height: 150px;
	}
	
	.article-hero-title {
		font-size: 1.7em;
	}
	
	.company-info-box {
		grid-template-columns: 70px 1fr;
	}
	
	.company-info-logo {
		width: 70px;
		height: 70px;
	}
}

@media (max-width: 768px) {
	.article-hero {
		grid-template-columns: 1fr;
		text-align: center;
		padding: 20px;
	}
	
	.article-hero-image {
		width: 120px;
		height: 120px;
		margin: 0 auto;
	}
	
	.article-hero-title {
		font-size: 1.5em;
	}
	
	.company-info-box {
		grid-template-columns: 1fr;
		text-align: center;
	}
	
	.company-info-logo {
		margin: 0 auto;
	}
	
	.company-info-meta {
		justify-content: center;
	}
	
	.article-meta {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.article-content h2 {
		font-size: 1.4em;
	}
	
	.image-grid {
		grid-template-columns: 1fr;
	}
	
	.step-item {
		flex-direction: column;
		gap: 15px;
	}
}

@media (max-width: 480px) {
	.article-hero {
		padding: 18px;
	}
	
	.article-hero-title {
		font-size: 1.3em;
	}
	
	.company-info-box {
		padding: 15px;
	}
	
	.article-content h2 {
		font-size: 1.3em;
		margin: 30px 0 15px 0;
	}
	
	.section-highlight,
	.info-box {
		padding: 15px;
	}
	
	.code-example {
		padding: 15px;
	}
}