/* Shared chrome for the plugins-showcase template pages.
   Loaded after common.css and the highlight theme; page-specific rules stay inline. */

.context-banner {
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    padding: 1rem 2rem;
    text-align: center;
}

.context-banner p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: #444;
}

.context-banner a {
    color: #000;
    font-weight: 500;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero .meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: #000;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

.plugin-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9;
    border: 2px solid #000;
}

.info-item strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    opacity: 0.7;
}

h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #000;
}

.description {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.code-container {
    margin: 1.5rem 0;
}

.code-header {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 0.75rem 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border: 2px solid #000;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

code, pre, pre code, .hljs, .hljs * {
    font-family: 'Courier New', Consolas, Monaco, 'Andale Mono', monospace !important;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.feature strong {
    display: block;
    margin-bottom: 0.25rem;
}

.nav-links-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #000;
}

.nav-link {
    padding: 1rem 1.5rem;
    border: 2px solid #000;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 #000;
}

footer {
    background: #000;
    color: #fff;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 3px solid #000;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }
    .hero .meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .nav-links-bottom {
        flex-direction: column;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}
