.warning {
    color: orange;
    font-weight: bold;
    text-align: center;
}

.article-list {
    margin: auto;
    width: 75%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
    gap: 16px;
    padding: 16px;
}

.article-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    color: rgb(170, 192, 134);
    background-color: rgb(44, 114, 38);
    border-radius: 16px;
    padding: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    color: rgb(221, 221, 221);
    background-color: rgb(180, 180, 180);
}

.article-title {
    font-size: 32px; /* 标题更大 */
    font-weight: bold;
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-time {
    white-space: nowrap;
    color: rgb(221, 221, 221);
    font-size: 14px;
    align-self: flex-end;
}

.copyleft {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-align: center;
    color: grey;
    font-size: 14px;
    z-index: 1000;
}

.bordered-background {
    margin: 20px auto; /* 上下外边距和水平居中 */
    max-width: 60%; /* 最大宽度 */
}

.align-center-text {
    text-align: center;
}

.button:hover {
    background-color: rgb(22, 134, 22);
}

body {
    background-color: rgb(23, 23, 37);
}

blockquote {
    margin: 1em 0;
    padding: 0.25em 1em;
    border-left: 6px solid #bbb; /* 左边引用条 */
    background-color: rgb(27, 31, 35);
    border-radius: 8px;
    position: relative;
}

code {
    font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.92em;
    background-color: rgba(122, 122, 122, 0.5); /* 行内代码浅灰背景 */
    color: rgba(221, 221, 221); /* GitHub 文字颜色 */
    padding: 0.2em 0.4em;
    border-radius: 3px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

h1, h2, h3, h4, h5 {
    color: rgb(221, 221, 221);
}

a {
    color: lightgrey;
    text-decoration: none;
}

a:hover {
    color: rgb(221, 221, 221);
    text-decoration: none;
}

p {
    color: rgb(187, 187, 187);
    text-decoration: none;
}

.compact-heading {
  line-height: 0.8;
  margin: 0;
  padding: 0;
  padding-bottom: 0.6em;
}

.compact-heading .date {
  color: lightgrey;
  line-height: 1;
}

.back-button {
    position: fixed;
    width: 32px;
    height: 32px;
    left: 10%;
    bottom: 10%;
}

.back-button svg {
    width: 32px;
    height: 32px;
    padding: 16px 16px;
    background-color: rgb(44, 114, 38);
    border-radius: 32px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.back-button svg:hover {
    color: rgb(44, 114, 38);
    background-color: rgb(180, 180, 180);
}

.giscus {
    margin: auto auto;
    max-width: 60%;
}