/**
 * SBO Media Kit — Styles
 *
 * Uses CSS custom properties from the theme's :root for color theming.
 * No build step required — plain CSS.
 */

/* ── Section Nav ── */
.mk-nav {
    backdrop-filter: blur(8px);
}

.mk-nav__list {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mk-nav__list::-webkit-scrollbar {
    display: none;
}

.mk-nav__link {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
    border: 1px solid currentColor;
    opacity: 0.6;
    white-space: nowrap;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.mk-nav__link:hover,
.mk-nav__link:focus {
    opacity: 1;
}

.mk-nav__link.is-active {
    opacity: 1;
    background-color: var(--sbo-colors-primary, #333);
    color: var(--sbo-colors-white, #fff);
    border-color: var(--sbo-colors-primary, #333);
}

/* ── Buttons ── */
.mk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    color: inherit;
}

.mk-btn:hover {
    opacity: 0.85;
}

.mk-btn:active {
    transform: scale(0.98);
}

.mk-btn--outline {
    border: 1px solid currentColor;
    background: transparent;
}

.mk-btn--primary {
    background-color: var(--sbo-colors-primary, #333);
    color: var(--sbo-colors-white, #fff);
    border: 1px solid transparent;
}

/* ── Cards ── */
.mk-card {
    transition: box-shadow 0.2s ease;
}

.mk-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ── Logo Preview ── */
.mk-logo-preview {
    min-height: 8rem;
    background-image:
        linear-gradient(45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(-45deg, #f0f0f0 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #f0f0f0 75%),
        linear-gradient(-45deg, transparent 75%, #f0f0f0 75%);
    background-size: 16px 16px;
    background-position: 0 0, 0 8px, 8px -8px, -8px 0px;
}

/* ── Gallery Download Overlay ── */
.mk-gallery-item {
    position: relative;
}

.mk-download-overlay {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    text-decoration: none;
}

.mk-gallery-item:hover .mk-download-overlay {
    opacity: 1;
}

/* ── Press List ── */
.mk-press-item:first-child {
    padding-top: 0;
}

/* ── Press Release Content ── */
.mk-press-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.mk-press-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.mk-press-content p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.mk-press-content img {
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.mk-press-content blockquote {
    border-left: 3px solid var(--sbo-colors-primary, #333);
    padding-left: 1.25rem;
    margin: 1.5rem 0;
    font-style: italic;
    opacity: 0.85;
}

/* ── Copy Button Toast ── */
.mk-copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(1rem);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 9999;
}

.mk-copy-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Color Swatches ── */
.mk-color-swatch {
    flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .mk-nav__link {
        font-size: 0.75rem;
        padding: 0.25rem 0.625rem;
    }

    .mk-logo-preview {
        min-height: 6rem;
    }
}
