.page-landing .project-card.project-card--blog {
    height: auto;
    min-height: 260px;
    max-height: none;
    overflow: hidden;
}

@font-face {
    font-family: "FA Solid Cap";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("/css/vendor/webfonts/fa-solid-900.woff2") format("woff2");
}

.page-landing .project-card--blog .fa-graduation-cap {
    font-family: "FA Solid Cap", "Font Awesome 6 Free";
    font-weight: 900;
}

.page-landing .project-card--blog .fa-graduation-cap::before {
    content: "\f19d";
}

.page-landing .project-card-blog-split {
    display: grid;
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 18px 28px;
    align-items: start;
    flex: 1 1 auto;
    min-width: 0;
}

.page-landing .project-card--blog .project-card-bg-icon {
    z-index: -1;
}

.page-landing .project-card--blog .project-card-body {
    overflow: visible;
    flex: 0 1 auto;
}

.page-landing .project-card-blog-side {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.page-landing .project-card--blog .project-card-desc {
    -webkit-line-clamp: unset;
    display: block;
    min-height: 0;
    overflow: visible;
}

.page-landing .project-card-blog-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: stretch;
    justify-items: stretch;
    min-width: 0;
    width: 100%;
    max-width: 100%;
}

.page-landing .project-card-blog-col {
    --blog-col-pad-x: 14px;
    min-width: 0;
    max-width: 100%;
    width: 100%;
    padding: 0 var(--blog-col-pad-x);
    overflow: hidden;
    overflow-wrap: break-word;
    border-left: 0;
}

.page-landing .project-card-blog-col:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    margin-left: calc(-1 * var(--blog-col-pad-x));
    background: rgba(113, 163, 230, 0.45);
    pointer-events: none;
}

.page-landing .project-card-blog-col-title {
    margin: 0 0 8px;
    min-width: 0;
    max-width: 100%;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
}

.page-landing .project-card-blog-col-title a {
    color: #ffffff;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.page-landing .project-card-blog-col-title a:hover {
    color: #b8deff;
}

.page-landing .project-card-blog-col-title .fa-arrow-right {
    margin-left: 6px;
    font-size: 0.72rem;
    color: #8ecbff;
}

.page-landing .project-card-blog-posts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
}

.page-landing .project-card-blog-posts li {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.page-landing .project-card-blog-posts a {
    display: block;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: rgba(175, 200, 228, 0.92);
    font-size: 0.84rem;
    line-height: 1.35;
    text-decoration: none;
}

.page-landing .project-card-blog-posts a:hover {
    color: #8ecbff;
}

.page-landing .project-card-blog-empty {
    margin: 0;
    color: rgba(175, 200, 228, 0.55);
    font-size: 0.82rem;
    line-height: 1.4;
}

.page-landing .project-card--blog .project-card-blog-mark {
    display: block;
    fill: currentColor;
}

.page-landing .project-card--blog .project-card-icon.project-card-blog-mark {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.12rem;
    color: #8ecbff;
}

.page-landing .project-card--blog .project-card-bg-icon.project-card-blog-mark {
    width: 7.5rem;
    height: 7.5rem;
}

.page-landing .project-card--blog .project-card-desc {
    -webkit-line-clamp: 4;
    min-height: 0;
}

.page-landing .project-card-footer--blog {
    gap: 10px 18px;
}

@media (max-width: 980px) {
    .page-landing .project-card-blog-split {
        grid-template-columns: 1fr;
    }

    .page-landing .project-card-blog-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-landing .project-card-blog-col,
    .page-landing .project-card-blog-col:first-child {
        padding: 0 var(--blog-col-pad-x);
        border-left: 0;
        border-top: 0;
    }

    .page-landing .project-card-blog-col:not(:first-child)::before {
        content: none;
    }

    .page-landing .project-card-blog-col:nth-child(2)::before {
        content: "";
    }

    .page-landing .project-card-blog-col:nth-child(n + 3) {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid transparent;
    }

    .page-landing .project-card-blog-col:nth-child(3) {
        position: relative;
    }

    .page-landing .project-card-blog-col:nth-child(3)::after {
        content: "";
        position: absolute;
        top: -1px;
        left: -24px;
        width: calc(200% + 48px);
        height: 1px;
        background: rgba(113, 163, 230, 0.45);
        pointer-events: none;
    }
}

@media (max-width: 640px) {
    .page-landing .project-card.project-card--blog {
        height: auto;
        min-height: 0;
        max-height: none;
    }

    .page-landing .project-card-blog-columns {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-landing .project-card-blog-col:nth-child(2)::before {
        content: none;
    }

    .page-landing .project-card-blog-columns > .project-card-blog-col {
        margin-top: 0;
        padding: 0;
        border-left: 0;
        border-top: 0;
    }

    .page-landing .project-card-blog-columns > .project-card-blog-col + .project-card-blog-col {
        position: relative;
        margin-top: 14px;
        padding-top: 14px;
        border-left: 0;
        border-top: 1px solid transparent;
    }

    .page-landing .project-card-blog-columns > .project-card-blog-col + .project-card-blog-col::after {
        content: "";
        position: absolute;
        top: -1px;
        left: -24px;
        right: -24px;
        width: auto;
        height: 1px;
        background: rgba(113, 163, 230, 0.45);
        pointer-events: none;
    }
}

.page-blog .blog-service {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 28px;
}

.blog-hero,
.blog-panel,
.blog-prizes,
.blog-card {
    background: linear-gradient(180deg, rgba(22, 33, 61, 0.82) 0%, rgba(16, 24, 46, 0.78) 100%);
    border: 1px solid rgba(113, 163, 230, 0.28);
    box-shadow: 0 16px 36px rgba(4, 10, 22, 0.34), inset 0 1px 0 rgba(188, 220, 255, 0.08);
}

.blog-hero,
.blog-panel,
.blog-prizes {
    padding: 20px 22px;
}

.blog-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px 24px;
}

.blog-hero__actions {
    flex: 0 0 auto;
    align-self: center;
    flex-wrap: nowrap;
    margin: 0;
}

.blog-hero__title,
.blog-read__title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}

.blog-hero__lead,
.blog-field-hint,
.blog-prizes__note,
.blog-card__excerpt,
.blog-card__meta,
.blog-read__meta {
    margin: 0;
    color: rgba(175, 200, 228, 0.82);
    line-height: 1.5;
}

.blog-hero__actions,
.blog-form-actions,
.blog-section-extra,
.blog-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.blog-hero__actions {
    flex-wrap: nowrap;
    align-self: center;
    margin: 0;
}

.blog-hero__actions--browse {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-end;
}

.blog-search {
    flex: 0 1 240px;
    width: min(240px, 100%);
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.blog-search__input {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto;
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    color: #e8f4ff;
    background: rgba(8, 14, 28, 0.72);
    border: 1px solid rgba(113, 163, 230, 0.28);
    border-radius: 0;
    box-shadow: none;
    outline: none;
    font: inherit;
    line-height: inherit;
    text-decoration: none;
    -webkit-appearance: none;
    appearance: none;
}

.blog-search__input::placeholder {
    color: rgba(175, 200, 228, 0.55);
    text-decoration: none;
}

.blog-search__input:hover,
.blog-search__input:focus {
    color: #e8f4ff;
    background: rgba(8, 14, 28, 0.9);
    border: 1px solid rgba(113, 163, 230, 0.28);
    border-radius: 0;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.blog-search__input::-webkit-search-decoration,
.blog-search__input::-webkit-search-cancel-button,
.blog-search__input::-webkit-search-results-button,
.blog-search__input::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.blog-btn,
.blog-chip,
.blog-text-link {
    color: #8ecbff;
    text-decoration: none;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid rgba(142, 203, 255, 0.45);
    background: rgba(20, 42, 74, 0.9);
    color: #e8f4ff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.blog-btn--ghost {
    background: transparent;
}

.blog-btn--danger {
    border-color: rgba(255, 138, 138, 0.7);
    background: rgba(92, 28, 32, 0.9);
    color: #ffe8e8;
}

.blog-btn--danger:hover {
    border-color: #ff8a8a;
    color: #fff;
}

.blog-btn[hidden] {
    display: none;
}

.blog-btn:disabled {
    opacity: 0.55;
    cursor: default;
}

.blog-card__actions,
.blog-read__edit {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin: 10px 0 0;
}

.blog-sections {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(113, 163, 230, 0.45);
    border-left: 1px solid rgba(113, 163, 230, 0.45);
    background: rgba(12, 20, 38, 0.35);
    box-shadow: 0 16px 36px rgba(4, 10, 22, 0.34), inset 0 1px 0 rgba(188, 220, 255, 0.08);
}

.blog-section-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 52px;
    padding: 12px 14px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: break-word;
    background: rgba(12, 20, 38, 0.55);
    border: 0;
    border-right: 1px solid rgba(113, 163, 230, 0.45);
    border-bottom: 1px solid rgba(113, 163, 230, 0.45);
}

.blog-section-card:hover {
    background: rgba(20, 36, 64, 0.82);
    color: #e8f4ff;
}

.blog-section-card span,
.blog-chip {
    color: rgba(175, 200, 228, 0.82);
    font-size: 0.92rem;
}

.blog-section-card.is-active,
.blog-chip.is-active {
    border-color: rgba(142, 203, 255, 0.8);
    box-shadow: inset 0 0 0 1px rgba(142, 203, 255, 0.35);
}

.blog-section-card.is-active,
.blog-section-card.is-active:hover {
    border-color: rgba(113, 163, 230, 0.45);
    background: rgba(28, 58, 102, 0.78);
    box-shadow: inset 0 0 0 1px rgba(142, 203, 255, 0.9);
    color: #8ecbff;
}

.blog-chip {
    padding: 8px 12px;
    border: 1px solid rgba(113, 163, 230, 0.28);
}

.blog-prizes__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    flex-wrap: wrap;
}

.blog-prizes__head h2,
.blog-card__title {
    margin: 0;
    color: #fff;
}

.blog-prizes__week {
    margin: 0;
    color: #8ecbff;
}

.blog-prizes__note {
    margin-top: 10px;
}

.blog-prizes__grid,
.blog-list {
    display: grid;
    gap: 12px;
}

.blog-list {
    position: relative;
}

.blog-list[hidden] {
    display: none;
}

.blog-list-sentinel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.blog-list--tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    min-width: 0;
    max-width: 100%;
}

.blog-list--tiles > .blog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
}

.blog-list--tiles .blog-card__link,
.blog-list--tiles .blog-card__link:hover,
.blog-list--tiles .blog-card__link:focus,
.blog-list--tiles .blog-card__link:focus-visible,
.blog-list--tiles .blog-card__link:active {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-list--tiles .blog-card__media {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(165deg, rgba(42, 64, 104, 0.55) 0%, rgba(12, 20, 38, 0.92) 100%);
}

.blog-list--tiles .blog-card__media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
}

.blog-list--tiles .blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 14px 14px;
}

.blog-list--tiles .blog-card__title,
.blog-list--tiles .blog-card__title a,
.blog-list--tiles .blog-card__title a:hover,
.blog-list--tiles .blog-card__title a:focus,
.blog-list--tiles .blog-card__title a:focus-visible,
.blog-list--tiles .blog-card__link:hover .blog-card__title,
.blog-list--tiles .blog-card__link:focus .blog-card__title,
.blog-list--tiles .blog-card__link:focus-visible .blog-card__title {
    margin: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.blog-list--tiles .blog-card__section,
.blog-list--tiles .blog-card__excerpt,
.blog-list--tiles .blog-card__meta {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.blog-list--tiles .blog-card__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}

.blog-list--tiles .blog-card__meta {
    margin-top: auto;
    padding-top: 4px;
    font-size: 0.84rem;
}

.blog-list--tiles .blog-card:hover,
.blog-list--tiles .blog-card:focus-within {
    border-color: rgba(142, 203, 255, 0.62);
}

@media (max-width: 1100px) {
    .blog-list--tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-list--tiles {
        grid-template-columns: minmax(0, 1fr);
    }
}

.blog-prizes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
}

.blog-prize {
    padding: 14px;
    background: rgba(8, 14, 28, 0.45);
    border: 1px solid rgba(113, 163, 230, 0.22);
}

.blog-prize--1 { border-color: rgba(255, 208, 92, 0.7); }
.blog-prize--2 { border-color: rgba(198, 214, 232, 0.55); }
.blog-prize--3 { border-color: rgba(214, 156, 108, 0.6); }

.blog-prize__place,
.blog-prize__gold,
.blog-prize__article,
.blog-card__section {
    margin: 0 0 6px;
}

.blog-prize__gold {
    color: #ffd98a;
    font-size: 1.25rem;
    font-weight: 700;
}

.blog-prize__article a,
.blog-card__title a,
.blog-crumbs a,
.blog-text-link {
    color: #8ecbff;
}

.blog-prize__empty { color: rgba(175, 200, 228, 0.7); }

.blog-card {
    padding: 16px 18px;
}

.blog-card__section {
    color: #8ecbff;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-card__title {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.blog-status,
.blog-reject {
    margin: 0;
    padding: 10px 12px;
}

.blog-status--pending { color: #ffd966; }
.blog-status--approved { color: #a5d6a7; }
.blog-status--rejected,
.blog-reject { color: #ffb4b4; }
.blog-status--draft,
.blog-status--hidden { color: #c5cdd6; }

.blog-crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: rgba(175, 200, 228, 0.7);
}

.blog-read__title { font-size: 2rem; }

.blog-article {
    margin-top: 18px;
    color: #e7eef8;
    font-size: 1.05rem;
    line-height: 1.65;
    overflow-x: auto;
}

.blog-article > *:first-child { margin-top: 0; }
.blog-article h2,
.blog-article h3,
.blog-article h4 { color: #fff; line-height: 1.3; }
.blog-article a { color: #8ecbff; }
.blog-article img { max-width: 100%; height: auto; }
.blog-article figure.blog-img { display: block; width: 100%; max-width: 100%; margin: 12px 0; }
.blog-article figure.blog-img img { display: block; max-width: 100%; height: auto; }
.blog-article figure.blog-img figcaption {
    display: block;
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    text-align: left;
}
.blog-article figure.blog-img.blog-cap--left figcaption,
.blog-article figure.blog-img figcaption.blog-cap--left { text-align: left; }
.blog-article figure.blog-img.blog-cap--center figcaption,
.blog-article figure.blog-img figcaption.blog-cap--center { text-align: center; }
.blog-article figure.blog-img.blog-cap--right figcaption,
.blog-article figure.blog-img figcaption.blog-cap--right { text-align: right; }
.blog-article table { width: 100%; border-collapse: collapse; margin: 12px 0; }
.blog-article th,
.blog-article td { border: 1px solid rgba(142, 203, 255, 0.35); padding: 8px 10px; vertical-align: top; }
.blog-article blockquote { margin: 12px 0; padding-left: 12px; border-left: 3px solid rgba(142, 203, 255, 0.45); }
.blog-article .blog-align-center { text-align: center; }
.blog-article .blog-align-right { text-align: right; }

.blog-author-card {
    margin-top: 22px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(22, 33, 61, 0.82) 0%, rgba(16, 24, 46, 0.78) 100%);
    border: 1px solid rgba(113, 163, 230, 0.45);
    box-shadow: 0 16px 36px rgba(4, 10, 22, 0.34), inset 0 1px 0 rgba(188, 220, 255, 0.08);
}

.blog-author-card__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    min-width: 0;
}

.blog-author-card__id {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1 1 auto;
}

.blog-author-card__kicker {
    margin: 0 0 2px;
    color: #8ecbff;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-author-card__name {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.blog-author-card__bio {
    margin: 8px 0 0;
    color: #e7eef8;
    font-size: 1rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.blog-author-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.blog-author-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 6px 12px;
    color: #e8f4ff;
    text-decoration: none;
    background: rgba(20, 42, 74, 0.9);
    border: 1px solid rgba(142, 203, 255, 0.45);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.blog-author-card__link:hover,
.blog-author-card__link:focus-visible {
    color: #fff;
    text-decoration: none;
    border-color: rgba(142, 203, 255, 0.85);
    background: rgba(30, 58, 98, 0.95);
}

.blog-author-card__avatar {
    display: block;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    object-fit: cover;
    border: 1px solid rgba(113, 163, 230, 0.45);
    background: rgba(8, 14, 28, 0.72);
    box-sizing: border-box;
}

.blog-author-card__avatar--placeholder {
    display: grid;
    place-items: center;
    color: #8ecbff;
    font-size: 1.45rem;
    line-height: 1;
}

.blog-form { display: grid; gap: 12px; }
.blog-field { display: grid; gap: 6px; color: #d5e4f5; }
.blog-field input,
.blog-field select,
.profile-publics-form input {
    width: 100%;
    box-sizing: border-box;
    min-height: 42px;
    padding: 8px 10px;
    color: #fff;
    background: rgba(8, 14, 28, 0.65);
    border: 1px solid rgba(113, 163, 230, 0.35);
    font: inherit;
}

.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.blog-tool {
    min-height: 34px;
    padding: 6px 8px;
    color: #e8f4ff;
    background: rgba(20, 36, 64, 0.9);
    border: 1px solid rgba(113, 163, 230, 0.35);
    font: inherit;
    font-size: 0.82rem;
    cursor: pointer;
}

.blog-editor {
    min-height: 280px;
    padding: 12px;
    color: #e7eef8;
    background: rgba(8, 14, 28, 0.72);
    border: 1px solid rgba(113, 163, 230, 0.35);
    overflow-x: auto;
    line-height: 1.55;
}

.blog-editor:empty:before {
    content: attr(data-placeholder);
    color: rgba(175, 200, 228, 0.45);
}

.blog-editor table { border-collapse: collapse; width: 100%; }
.blog-editor td { border: 1px solid rgba(142, 203, 255, 0.35); min-width: 48px; padding: 6px; }
.blog-editor img { max-width: 100%; height: auto; }

.blog-files { margin: 0; padding-left: 18px; color: rgba(175, 200, 228, 0.82); }
.blog-form-status { margin: 0; color: #a5d6a7; }
.blog-form-status.is-error { color: #ffb4b4; }

.profile-publics-form { display: grid; gap: 12px; }
.profile-publics-hint { margin: 0 0 12px; color: rgba(175, 200, 228, 0.82); line-height: 1.45; }

@media (max-width: 900px) {
    .blog-sections,
    .blog-prizes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .blog-hero { flex-direction: column; align-items: stretch; }
    .blog-hero__actions--browse {
        flex-wrap: wrap;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
    }
    .blog-search {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .blog-sections,
    .blog-prizes__grid { grid-template-columns: 1fr; }
    .blog-hero,
    .blog-panel,
    .blog-prizes { padding: 16px; }
    .blog-read__title { font-size: 1.45rem; }
    .blog-toolbar { gap: 4px; }
}

.blog-section-pick {
    margin: 0;
    padding: 0;
    border: 0;
}

.blog-section-pick legend {
    margin-bottom: 8px;
    color: #d5e4f5;
}

.blog-section-pick__row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-section-pick__item {
    position: relative;
    flex: 1 1 160px;
    margin: 0;
}

.blog-section-pick__item input {
    position: absolute;
    opacity: 0;
    inset: 0;
}

.blog-section-pick__item span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(113, 163, 230, 0.35);
    background: rgba(8, 14, 28, 0.55);
}

.blog-section-pick__item input:checked + span,
.blog-section-pick__item input:focus-visible + span {
    border-color: rgba(142, 203, 255, 0.9);
    box-shadow: inset 0 0 0 1px rgba(142, 203, 255, 0.45);
    color: #8ecbff;
}

.blog-editor-wrap {
    min-width: 0;
    border: 1px solid rgba(113, 163, 230, 0.35);
    background: rgba(8, 14, 28, 0.72);
}

.blog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 6px;
    background: rgba(12, 20, 38, 0.96);
    border: 0;
    border-bottom: 1px solid rgba(113, 163, 230, 0.28);
}

.page-blog .blog-toolbar .blog-tool.is-on,
.page-blog .blog-toolbar .blog-tool.is-on:hover {
    color: #8ecbff;
    border-color: #8ecbff;
    background: rgba(20, 40, 72, 0.95);
}

.blog-tool-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-right: 8px;
    margin-right: 4px;
    border-right: 1px solid rgba(113, 163, 230, 0.25);
}

.blog-tool {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    min-width: 36px;
    justify-content: center;
}

.blog-tool-group:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.blog-tool--select {
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: 36px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    min-width: 0;
    min-height: 0;
    box-shadow: none;
}

.page-blog .blog-toolbar .blog-tool--select select,
.page-blog .blog-toolbar .blog-tool--select select:hover,
.page-blog .blog-toolbar .blog-tool--select select:focus {
    height: 36px;
    min-height: 36px;
    max-height: 36px;
    width: auto;
    margin: 0;
    padding: 0 26px 0 10px;
    box-sizing: border-box;
    line-height: 34px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e8f4ff;
    background-color: rgba(20, 36, 64, 0.9);
    background-image: linear-gradient(45deg, transparent 50%, #8ecbff 50%), linear-gradient(135deg, #8ecbff 50%, transparent 50%);
    background-position: calc(100% - 14px) 16px, calc(100% - 9px) 16px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    border: 1px solid rgba(113, 163, 230, 0.35);
    border-radius: 0;
    box-shadow: none;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.page-blog .blog-form input,
.page-blog .blog-form select,
.page-blog .blog-editor,
.page-blog .blog-section-pick__item span,
.page-blog .blog-tool,
.page-blog .blog-cover {
    transition: none;
}

.page-blog .blog-form input:hover,
.page-blog .blog-form select:hover,
.page-blog .blog-form input:focus,
.page-blog .blog-form select:focus,
.page-blog .blog-editor:hover,
.page-blog .blog-editor:focus,
.page-blog .blog-section-pick__item:hover span,
.page-blog .blog-tool:hover {
    background-color: rgba(8, 14, 28, 0.9);
    color: #e8f4ff;
    border-color: rgba(142, 203, 255, 0.4);
    box-shadow: none;
    outline: none;
}

.blog-tool__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.blog-cover,
.page-blog .blog-cover,
.page-blog .blog-cover:hover,
.page-blog .blog-cover:focus {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 16px;
    align-items: center;
    background: transparent;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
}

.blog-cover h3 { margin: 0 0 6px; color: #fff; }
.blog-cover p { margin: 0; color: rgba(175, 200, 228, 0.82); }
.blog-cover__buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

.blog-cover__frame {
    margin: 0;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    border: 1px solid rgba(142, 203, 255, 0.35);
    background: #0b1220;
}

.blog-cover__frame img {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
}

.blog-cover__frame figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 28px 14px 12px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(180deg, transparent, rgba(6, 10, 20, 0.88));
}

.blog-attach { display: grid; gap: 8px; }
.blog-attach__hint { margin: 0; color: rgba(175, 200, 228, 0.75); }
.blog-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.blog-files li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid rgba(113, 163, 230, 0.28);
}
.blog-file-remove {
    border: 0;
    background: transparent;
    color: #ffb4b4;
    cursor: pointer;
    font: inherit;
}

@media (max-width: 720px) {
    .blog-cover,
    .page-blog .blog-cover,
    .page-blog .blog-cover:hover,
    .page-blog .blog-cover:focus { grid-template-columns: 1fr; }
}

.blog-editor-wrap .blog-editor {
    min-height: 320px;
    margin: 0;
    padding: 16px 18px 18px;
    border: 0;
    background: transparent;
}

.page-blog .blog-editor-wrap .blog-editor,
.page-blog .blog-editor-wrap .blog-editor:hover,
.page-blog .blog-editor-wrap .blog-editor:focus {
    background: transparent;
    background-color: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #e7eef8;
}

.blog-editor figure.blog-img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 14px 0;
    clear: both;
    line-height: 1.45;
}

.blog-editor .blog-img__frame {
    position: relative;
    display: block;
    max-width: 100%;
    line-height: 0;
}

.blog-editor figure.blog-img--center .blog-img__frame {
    margin-left: auto;
    margin-right: auto;
}

.blog-editor figure.blog-img img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.blog-editor figure.blog-img.is-selected .blog-img__frame {
    outline: 1px solid rgba(142, 203, 255, 0.95);
    outline-offset: 0;
}

.blog-editor .blog-img__handle,
.blog-editor .blog-cap__tools {
    display: none;
}

.blog-editor figure.blog-img.is-selected .blog-img__handle {
    display: block;
}

.blog-editor figure.blog-img.is-selected .blog-cap__tools {
    display: flex;
}

.blog-editor .blog-img__handle {
    position: absolute;
    z-index: 3;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    margin: 0;
    padding: 0;
    background: #f4fbff;
    border: 1px solid #2f6fad;
    touch-action: none;
    user-select: none;
}

.blog-editor .blog-img__handle--nw { top: -7px; left: -7px; cursor: nwse-resize; }
.blog-editor .blog-img__handle--ne { top: -7px; right: -7px; cursor: nesw-resize; }
.blog-editor .blog-img__handle--se { right: -7px; bottom: -7px; cursor: nwse-resize; }
.blog-editor .blog-img__handle--sw { bottom: -7px; left: -7px; cursor: nesw-resize; }
.blog-editor .blog-img__handle--n,
.blog-editor .blog-img__handle--s {
    width: 36px;
    height: 10px;
    left: calc(50% - 18px);
    cursor: ns-resize;
}
.blog-editor .blog-img__handle--n { top: -5px; }
.blog-editor .blog-img__handle--s { bottom: -5px; }
.blog-editor .blog-img__handle--e,
.blog-editor .blog-img__handle--w {
    width: 10px;
    height: 36px;
    top: calc(50% - 18px);
    cursor: ew-resize;
}
.blog-editor .blog-img__handle--e { right: -5px; }
.blog-editor .blog-img__handle--w { left: -5px; }

.blog-editor figure.blog-img figcaption {
    display: block;
    width: 100%;
    margin: 12px 0 0;
    padding: 0;
    color: #e7eef8;
    font-size: 0.95rem;
    line-height: 1.45;
    text-align: left;
    cursor: text;
    overflow-wrap: anywhere;
}

.blog-editor figure.blog-img.blog-cap--left figcaption { text-align: left; }
.blog-editor figure.blog-img.blog-cap--center figcaption { text-align: center; }
.blog-editor figure.blog-img.blog-cap--right figcaption { text-align: right; }

.blog-editor figure.blog-img:not(.is-selected) figcaption:empty {
    display: none;
    margin: 0;
}

.blog-editor figure.blog-img.is-selected figcaption {
    min-height: 36px;
    padding: 6px 8px;
    box-sizing: border-box;
    border: 1px dashed rgba(142, 203, 255, 0.45);
    background: rgba(8, 14, 28, 0.45);
}

.blog-editor figure.blog-img.is-selected figcaption:focus {
    border-color: #8ecbff;
    outline: none;
}

.blog-editor figure.blog-img.is-selected figcaption:empty::before {
    content: attr(data-placeholder);
    color: rgba(175, 200, 228, 0.45);
    pointer-events: none;
}

.blog-editor .blog-cap__tools {
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.blog-editor .blog-cap__sep {
    width: 1px;
    align-self: stretch;
    min-height: 18px;
    margin: 0 2px;
    background: rgba(113, 163, 230, 0.35);
}

.blog-editor .blog-cap__label {
    color: rgba(175, 200, 228, 0.78);
    font-size: 12px;
    line-height: 1;
}

.blog-editor .blog-img__center,
.blog-editor .blog-cap__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 32px;
    min-width: 32px;
    margin: 0;
    padding: 0 8px;
    border: 1px solid rgba(142, 203, 255, 0.55);
    background: rgba(8, 18, 36, 0.92);
    color: #e8f4ff;
    font: inherit;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
}

.blog-editor .blog-img__center.is-on,
.blog-editor .blog-cap__btn.is-on {
    color: #8ecbff;
    border-color: #8ecbff;
    box-shadow: inset 0 0 0 1px rgba(142, 203, 255, 0.35);
}
