.content-page { min-height: 100vh; padding: 18rem 0 10rem; background: #141516; color: #c5c5c5; }
.content-page__header { max-width: 900px; margin-bottom: 7rem; }
.content-page__title { color: #fff; margin-top: 1rem; }
.content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
.content-card { display: block; padding: 3rem; border: 1px solid rgba(255,255,255,.12); color: inherit; transition: border-color .25s ease, transform .25s ease; }
.content-card:hover { border-color: #cf9f58; transform: translateY(-4px); }
.content-card__image { width: 100%; aspect-ratio: 16/9; object-fit: cover; margin-bottom: 2.5rem; }
.content-card__title { color: #fff; margin: 0 0 1rem; }
.content-card__meta { color: #cf9f58; font-size: 1.4rem; letter-spacing: .08em; text-transform: uppercase; }
.content-article { max-width: 900px; }
.content-article__image { width: 100%; max-height: 560px; object-fit: cover; margin: 3rem 0 5rem; }
.content-article__body { color: #d7d7d7; }
.content-article__body h2, .content-article__body h3, .content-article__body h4 { color: #fff; margin-top: 4rem; }
.content-back { display: inline-block; margin-bottom: 3rem; color: #cf9f58; }
.empty-state { padding: 4rem; border: 1px solid rgba(255,255,255,.12); }
@media screen and (max-width: 800px) { .content-page { padding-top: 12rem; } .content-grid { grid-template-columns: 1fr; } }

.article-share {
    margin-top: 7rem;
    padding: 3.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.025);
}

.article-share__heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: baseline;
    margin-bottom: 2.4rem;
}

.article-share__heading p {
    margin: 0;
}

.article-share__heading > p:last-child {
    color: rgba(255, 255, 255, 0.52);
    font-size: 1.4rem;
}

.article-share__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.article-share__button {
    display: inline-flex;
    min-height: 4.8rem;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin: 0;
    padding: 0.9rem 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-family: var(--font-1);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: none;
    transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.article-share__button:hover,
.article-share__button:focus {
    border-color: #c99f5d;
    background: #c99f5d;
    color: #111;
    transform: translateY(-2px);
}

.article-share__button i {
    font-size: 1.7rem;
}

.article-share__x-mark {
    font-size: 1.7rem;
    line-height: 1;
}

.article-share__feedback {
    min-height: 2rem;
    margin: 1.4rem 0 0;
    color: #c99f5d;
    font-size: 1.3rem;
}

@media screen and (max-width: 600px) {
    .article-share {
        padding: 2.4rem;
    }

    .article-share__heading {
        display: block;
    }

    .article-share__heading > p:last-child {
        margin-top: 0.8rem;
    }

    .article-share__buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .article-share__button--copy {
        grid-column: 1 / -1;
    }
}

.error-page {
    display: flex;
    min-height: calc(100vh - 28rem);
    align-items: center;
    padding: 4rem 0 10rem;
}

.error-page__layout {
    align-items: center;
}

.error-page__code {
    color: rgba(255, 255, 255, 0.04);
    font-family: var(--font-2);
    font-size: clamp(15rem, 24vw, 34rem);
    font-weight: 700;
    line-height: 0.72;
    letter-spacing: -0.08em;
    user-select: none;
}

.error-page__content {
    position: relative;
    z-index: 1;
    max-width: 72rem;
}

.error-page__content .content-page__title {
    margin-bottom: 2rem;
    font-size: clamp(4.4rem, 7vw, 8.8rem);
    line-height: 1;
}

.error-page__message {
    max-width: 62rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: clamp(1.8rem, 2vw, 2.2rem);
    line-height: 1.65;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: 3.6rem;
}

.error-page__actions .btn {
    margin: 0;
}

.error-page__shortcuts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
    margin-top: 4rem;
    padding-top: 2.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 1.4rem;
}

.error-page__shortcuts span {
    width: 100%;
    margin-bottom: 0.4rem;
    color: rgba(255, 255, 255, 0.48);
}

.error-page__shortcuts a {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: rgba(201, 159, 93, 0.55);
    text-underline-offset: 0.5rem;
}

.error-page__shortcuts a:hover,
.error-page__shortcuts a:focus {
    color: #c99f5d;
}

@media screen and (max-width: 900px) {
    .error-page {
        padding-top: 0;
    }

    .error-page__code {
        margin-bottom: 6rem;
        font-size: clamp(13rem, 45vw, 24rem);
    }
}

@media screen and (max-width: 600px) {
    .error-page__actions {
        display: grid;
    }

    .error-page__actions .btn {
        width: 100%;
    }
}
