@charset "UTF-8";

/* --- ARTICLE CONTAINER --- */
.article-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

/* Headers & Meta */
.article-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-dark);
}

.article-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

/* Images */
.article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

/* Content Typography */
.article-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #333;
}

.article-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.article-content h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #444;
    font-weight: 700;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
    color: #444;
}

.article-content li {
    margin-bottom: 10px;
}

/* --- COMPONENTS SPECIFIC TO ARTICLES --- */

/* Blockquote */
blockquote {
    background: #f0f7f2;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
    border-radius: 0 8px 8px 0;
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.check-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #444;
}

.check-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 2px;
}

.check-list strong {
    color: var(--text-dark);
}

/* Warning Box */
.warning-box {
    background: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 20px;
    margin: 30px 0;
    border-radius: 4px;
    color: #856404;
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.comparison-table th,
.comparison-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.comparison-table th {
    background-color: var(--primary-color);
    color: white;
}

.comparison-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Pros and Cons */
.pros-cons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.pc-block {
    flex: 1;
    min-width: 250px;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.pc-title {
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
    font-size: 1.1rem;
}

.pros .pc-title {
    color: #28a745;
}

.cons .pc-title {
    color: #dc3545;
}

/* Strategy Box */
.strategy-box {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    background: #fafafa;
    transition: transform 0.3s, box-shadow 0.3s;
}

.strategy-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.strategy-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.rent-icon {
    color: #4682B4;
}

.flip-icon {
    color: #e67e22;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .article-container {
        padding: 25px;
        margin: 20px auto;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .comparison-table {
        font-size: 0.85rem;
        display: block;
        overflow-x: auto;
    }
}

@media print {
    .article-container {
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-width: 100%;
    }

    .article-image,
    blockquote,
    .warning-box,
    .comparison-table {
        page-break-inside: avoid;
    }
}