/* Custom styles for Sample Post 2 - Minimalist & Clean */

/* Minimalist Post Layout */
.minimalist-post {
    background-color: #ffffff;
    color: #1a1a1a;
}

.minimalist-post h1,
.minimalist-post h2,
.minimalist-post h3,
.minimalist-post h4 {
    color: #1a1a1a;
}

.minimalist-post p,
.minimalist-post li {
    color: #333333;
}

/* Minimal Header */
.post-header-minimal {
    border-bottom: 3px solid #1a1a1a;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.post-header-minimal .post-title {
    color: #1a1a1a;
    margin-bottom: 15px;
}

.post-header-minimal .post-meta {
    color: #666;
    font-size: 0.95rem;
}

/* Intro Section */
.intro-section {
    background-color: #f8f9fa;
    padding: 30px;
    border-left: 5px solid #1a1a1a;
    margin: 30px 0;
    font-size: 1.1rem;
}

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

.grid-item {
    text-align: center;
}

.grid-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border: 2px solid #1a1a1a;
    transition: transform 0.3s ease;
}

.grid-item img:hover {
    transform: scale(1.05);
}

.grid-caption {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #666;
}

/* Statistics Box */
.stats-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0.9;
}

/* Icon List */
.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list li {
    display: flex;
    align-items: start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.icon-list .icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.icon-list strong {
    color: #1a1a1a;
    font-size: 1.1rem;
}

/* Code Section */
.code-section {
    margin: 40px 0;
}

.code-section h3 {
    margin-bottom: 15px;
    color: #1a1a1a;
}

.code-section pre {
    background-color: #1e1e1e;
    color: #d4d4d4;
    padding: 25px;
    border-radius: 8px;
    overflow-x: auto;
    border: 2px solid #333;
}

.code-section code {
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* GIF Container */
.gif-container {
    text-align: center;
    margin: 40px 0;
}

.gif-container img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border: 3px solid #1a1a1a;
    border-radius: 8px;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: #ffffff;
    border: 2px solid #1a1a1a;
}

.comparison-table thead {
    background-color: #1a1a1a;
}

.comparison-table th {
    padding: 15px;
    color: white;
    font-weight: bold;
    text-align: left;
    border-bottom: 2px solid #1a1a1a;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

.comparison-table .highlight-row {
    background-color: #fff3cd;
    font-weight: bold;
}

.comparison-table .highlight-row:hover {
    background-color: #ffe69c;
}

/* Warning Box */
.warning-box {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
}

.warning-box h4 {
    margin-top: 0;
    color: #856404;
}

.warning-box p {
    color: #856404;
    margin-bottom: 0;
}

/* Author Bio */
.author-bio {
    display: flex;
    gap: 20px;
    align-items: start;
    margin-top: 50px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #dee2e6;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1a1a1a;
}

.author-info h4 {
    margin-top: 0;
    color: #1a1a1a;
}

.author-info p {
    color: #666;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-box {
        grid-template-columns: 1fr;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }
}