/* Article Specific Styles for Bad News Bears */

/* Article Layout */
.article-main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .article-main {
        grid-template-columns: 1fr;
    }
}

/* Article Content */
.article-content {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-header {
    margin-bottom: 2rem;
}

.article-title {
    font-size: 2.5rem;
    color: #004080;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-image {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: 10px;
    overflow: hidden;
}

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

.article-summary {
    background-color: #e6f7ff;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 5px solid #0066cc;
}

.article-summary h2 {
    color: #004080;
    margin-bottom: 0.5rem;
    border-bottom: none;
}

.article-section {
    margin-bottom: 2.5rem;
}

.article-section h2 {
    color: #004080;
    margin-bottom: 1rem;
    border-bottom: 2px solid #99d6ff;
    padding-bottom: 0.5rem;
}

/* Code Snippet */
.code-snippet {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-snippet h3 {
    margin-bottom: 1rem;
    color: #004080;
}

.code-snippet pre {
    background-color: #282c34;
    color: #abb2bf;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

.code-caption {
    font-style: italic;
    margin-top: 0.5rem;
    color: #666;
}

/* Timeline */
.timeline {
    list-style: none;
    padding-left: 0;
}

.timeline li {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1.5rem;
    border-left: 2px solid #99d6ff;
    margin-left: 1rem;
}

.timeline li:last-child {
    border-left: none;
}

.timeline li:before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background-color: #0066cc;
    border-radius: 50%;
}

.timeline-date {
    font-weight: bold;
    color: #004080;
    display: block;
    margin-bottom: 0.5rem;
}

/* Address Lists */
.address-list {
    list-style: none;
    padding-left: 0;
}

.address-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem;
    border-bottom: 1px solid #e6f7ff;
    word-break: break-all;
}

.address-list li:last-child {
    border-bottom: none;
}

.address-amount {
    font-weight: bold;
    color: #cc0000;
    white-space: nowrap;
    margin-left: 1rem;
}

/* Transaction Details */
.transaction-details {
    margin-top: 2rem;
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 10px;
}

.transaction-details h3 {
    margin-bottom: 1rem;
    color: #004080;
}

.transaction-details img {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.transaction-caption {
    font-style: italic;
    margin-top: 0.5rem;
    color: #666;
}

/* Project Response */
.project-response {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #0066cc;
    font-style: italic;
    margin: 1.5rem 0;
}

/* Lessons List */
.lessons-list {
    padding-left: 1.5rem;
}

.lessons-list li {
    margin-bottom: 0.8rem;
}

/* Meme */
.article-meme {
    text-align: center;
    margin: 2rem 0;
}

.article-meme img {
    max-width: 100%;
    border-radius: 10px;
}

.meme-caption {
    font-style: italic;
    margin-top: 0.5rem;
    color: #666;
}

/* Sources */
.sources-list {
    padding-left: 1.5rem;
}

.sources-list li {
    margin-bottom: 0.5rem;
}

/* Sidebar */
.article-sidebar {
    align-self: start;
    position: sticky;
    top: 2rem;
}

.related-articles, .share-article {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.related-articles h3, .share-article h3 {
    color: #004080;
    margin-bottom: 1rem;
    border-bottom: 2px solid #99d6ff;
    padding-bottom: 0.5rem;
}

.related-articles ul {
    list-style: none;
    padding-left: 0;
}

.related-articles li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e6f7ff;
}

.related-articles li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.social-share {
    display: flex;
    justify-content: space-around;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.social-share a:hover {
    background-color: #004080;
}

/* Tags */
.access-control {
    background-color: #ff6600;
}

.smart-contract {
    background-color: #009933;
}

.social-engineering {
    background-color: #9900cc;
}

.rug-pull {
    background-color: #cc0000;
}

.flash-loan {
    background-color: #ff6600;
}

.bridge {
    background-color: #9900cc;
}
