/* Article Detail Styles */

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
    margin-bottom: 3rem;
}

.back-link:hover { color: var(--ink); }
.back-link svg { transition: transform .2s; }
.back-link:hover svg { transform: translateX(-4px); }

.article-detail {
    padding: 3rem 0 6rem;
    padding-top: 100px;
}

.article-container {
    max-width: 56rem;
    margin: 0 auto;
}

.article-category-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ink);
    background: var(--gray-soft);
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.article-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--muted);
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: 3rem;
}

.featured-image {
    margin-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.article-body p {
    color: #333;
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-image {
    margin: 2.5rem 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: #333;
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-body li { margin-bottom: 0.75rem; }

.fan-checklist {
    list-style: none;
    padding-left: 0;
}

.fan-checklist li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #333;
    font-size: 1.05rem;
}

.fan-checklist li::before {
    content: "\2022";
    color: var(--ink);
    font-weight: 700;
}

.link-highlight {
    background-color: #fff3b0;
    padding: 0.05rem 0.25rem;
    border-radius: 0.25rem;
}

.link-highlight a {
    color: #0b5ed7;
    font-weight: 600;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--bg);
    border-left: 4px solid var(--ink);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: #333;
}

/* Products Section */
.products-section {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.products-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s ease;
    background: #fff;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.product-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ink);
    transition: color .2s;
}

.product-card:hover .product-name { color: #333; }

.product-description {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color .2s;
}

.product-link:hover { color: var(--ink); }
.product-link svg { transition: transform .2s; }
.product-link:hover svg { transform: translate(2px, -2px); }

/* Responsive */
@media (min-width: 640px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
    .article-detail-title { font-size: 3rem; }
    .article-body h2 { font-size: 2rem; }
}

@media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
}
