/* ===================================
   GunnyZone - Breadcrumb Component
   =================================== */

.breadcrumb {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: var(--text-muted);
    margin-left: 8px;
}

.breadcrumb-link {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   GunnyZone - Article Page Styles
   =================================== */

.article-page {
    padding: 40px 0;
    background: var(--bg-color);
}

.article-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.article-header {
    padding: 40px;
    border-bottom: 1px solid var(--border-color);
}

.article-header h1 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

.article-featured-image {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.article-body {
    padding: 40px;
}

.article-body h2 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.article-body h3 {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.article-body p {
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.article-body ul,
.article-body ol {
    margin: 16px 0;
    padding-left: 24px;
}

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

/* Table of Contents */
.table-of-contents {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 30px;
}

.table-of-contents h2 {
    font-size: 1.25rem;
    margin: 0 0 16px;
    padding: 0;
    border: none;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 8px;
}

.table-of-contents a {
    color: var(--text-color);
    transition: var(--transition);
}

.table-of-contents a:hover {
    color: var(--primary-color);
    padding-left: 8px;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, rgba(78, 204, 163, 0.1), rgba(255, 107, 53, 0.1));
    border: 2px solid var(--accent-color);
    border-radius: var(--radius);
    padding: 20px;
    margin: 24px 0;
}

.info-box h3 {
    margin: 0 0 12px;
    color: var(--accent-color);
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.criteria-item {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: var(--transition);
}

.criteria-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.criteria-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}

.criteria-item h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    color: var(--secondary-color);
}

.criteria-item p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-muted);
}

/* Server Review Card */
.server-review-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 30px 0;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.server-review-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.server-review-card[data-rank="1"] {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
}

.server-review-card[data-rank="2"] {
    border-color: #c0c0c0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.1), transparent);
}

.server-review-card[data-rank="3"] {
    border-color: #cd7f32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.1), transparent);
}

.server-rank {
    position: absolute;
    top: -12px;
    left: 24px;
    font-size: 1.5rem;
    background: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.server-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.server-review-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.server-rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.rating-stars {
    font-size: 1.2rem;
}

.rating-score {
    font-weight: 700;
    color: var(--primary-color);
}

.server-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--white);
    border-radius: var(--radius);
}

.info-row .label {
    color: var(--text-muted);
}

.info-row .value {
    font-weight: 600;
    color: var(--secondary-color);
}

.server-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.pros h4,
.cons h4 {
    margin-bottom: 12px;
}

.pros h4 {
    color: #27ae60;
}

.cons h4 {
    color: #e74c3c;
}

.pros ul,
.cons ul {
    margin: 0;
    padding-left: 20px;
}

.pros li,
.cons li {
    margin-bottom: 6px;
    color: var(--text-color);
}

.server-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Servers Comparison Table */
.servers-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
}

.servers-comparison-table th,
.servers-comparison-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.servers-comparison-table th {
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
}

.servers-comparison-table tr:hover {
    background: var(--bg-color);
}

.servers-comparison-table a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Comparison Chart */
.comparison-chart {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 24px;
    margin: 30px 0;
}

.chart-container {
    margin-top: 20px;
}

.chart-bar {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    height: 40px;
}

.bar-label {
    min-width: 120px;
    padding: 0 12px;
    font-weight: 600;
    color: var(--secondary-color);
}

.bar-value {
    flex: 1;
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: var(--white);
    font-weight: 700;
    position: relative;
}

/* Guide Section */
.guide-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(26, 26, 46, 0.05));
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.guide-section h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* FAQ */
.faq-item {
    background: var(--bg-color);
    border-radius: var(--radius);
    padding: 20px;
    margin: 16px 0;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* Conclusion Box */
.conclusion-box {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 107, 53, 0.1));
    border: 2px solid #ffd700;
    border-radius: var(--radius);
    padding: 24px;
    margin: 30px 0;
}

.conclusion-box h3 {
    color: #b8860b;
    margin-top: 0;
}

.conclusion-box ul {
    margin: 0;
    padding-left: 20px;
}

.conclusion-box li {
    margin-bottom: 8px;
}

/* Related Articles */
.related-articles {
    padding: 40px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
}

.related-articles h3 {
    margin-bottom: 24px;
    color: var(--secondary-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.related-card a {
    text-decoration: none;
    color: inherit;
}

.related-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.related-card h4 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.4;
}

.related-card:hover h4 {
    color: var(--primary-color);
}

/* ===================================
   Responsive Styles
   =================================== */

@media (max-width: 768px) {
    .article-header,
    .article-body,
    .related-articles {
        padding: 24px;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .server-pros-cons {
        grid-template-columns: 1fr;
    }

    .servers-comparison-table {
        font-size: 0.85rem;
    }

    .servers-comparison-table th,
    .servers-comparison-table td {
        padding: 8px;
    }

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

    .breadcrumb-list {
        font-size: 12px;
    }
}
