
:root {
    --black: #000000;
    --white: #ffffff;
    --bg: #141414;
    --card: #f5f5f5;
    --card-border: #ebebeb;
    --text-muted: #a6a6a6;
    
    font-size: 18px;
}

html {
    height: -webkit-fill-available;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background: var(--white);
    color: var(--black);
    background: linear-gradient(45deg, #f5f5f5, transparent);
}

p {
    font-weight: 400;
}

.site-header {
    padding: 2rem 0 1rem;
}

.site-header a {
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.filters-wrapper {
    justify-content: space-between;
}

.tag-filter {
    border-radius: 999px;
}

.logo {
    color: var(--black);
    font-size: 2.25rem;
    margin-right: 0.5rem;
    transition: all 0.12s ease;
}

.logo:hover {
    opacity: 0.8;
}

.btn {
    /*border-radius: 9px;*/
    border-radius: 999px;
    height: fit-content;
    transition: all 0.12s ease;
    border: none;
    font-size: 0.725rem;
}

.btn.btn-outline-light {
    color: var(--text-muted);
    /*border-color: var(--black);*/
    font-weight: bold;
}

.btn:hover,
.btn:active,
.btn:focus {
    color: var(--text-muted);
    background: var(--card-border);
}

.btn.active {
    color: var(--white) !important;
    background: var(--black) !important;
    /*border-color: var(--black);*/
    font-weight: bold;
}

.editor-card {
    height: 100%;
    background: transparent;
    /*border: 1px solid var(--card-border);*/
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.12s ease;
}

.is-hidden {
    display: none !important;
}

.editor-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.editor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.editor-card:hover .editor-image {
    transform: scale(1.04);
}

.editor-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 1rem;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72),
        rgba(0, 0, 0, 0.18) 45%,
        rgba(0, 0, 0, 0)
    );

    opacity: 0.8;
    transition: opacity 0.18s ease;
}

.editor-card:hover .editor-overlay {
    opacity: 1;
}

.editor-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    margin-bottom: 0.55rem;
}

.editor-icon {
    width: 28px;
    height: 28px;
    border-radius: 0.45rem;
    object-fit: contain;
    flex: 0 0 auto;
}

.editor-name {
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
    min-width: 0;
}

.editor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.editor-tag {
    font-size: 0.725rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 0.25rem 0.45rem;
    background: rgba(0, 0, 0, 0.28);
}

.editor-card:hover .editor-overlay,
.editor-card:focus-within .editor-overlay {
    opacity: 1;
}

.editor-card:hover .editor-image,
.editor-card:focus-within .editor-image {
    transform: scale(1.04);
}

.site-footer {
    padding: 2rem 0 2rem;
    color: var(--black);
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--black);
    border-bottom: 1px solid transparent;
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover {
    color: var(--black);
    border-bottom: 1px solid var(--black);
}

