body {
    background: #f7f7f7;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
}

.box {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  background-color: transparent;
}

.comment {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

.comment-id {
    color: #888;
    font-size: 0.9em;
    margin-right: 0.3em;
}

.comment-user {
    font-weight: 600;
}

.comment-from {
    color: #666;
    font-size: 0.9em;
}

.comment-header {
    color: #999;
    font-size: 0.85em;
    margin-top: 0.2em;
}

.comment-content {
    margin-top: 0.4em;
    white-space: pre-wrap;
}

.comment:first-child {
    border-top: 1px solid #ddd;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.left-column {
    width: 300px;
    background-color: #eee;
    padding: 1em;
}

.right-column {
    width: 300px;
    background: #eee;
   padding: 1rem;
   position: sticky;
   top: 0;
   height: 100vh;
   display: flex;
   flex-direction: column; 
   align-self: flex-start;
}

.comments-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: .5rem;
}
.center-column {
    flex: 1;
    background: #fff;
    padding: 2em;
}

h1 {
    color: #000;
}

.footer {
    color: #666;
    font-size: small;
    margin-top: 40px;
    padding-top: 1px;
    border-top: 1px solid #ccc;
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

a {
    text-decoration: none;
    color: #666;
}
.admin_link {
    color: #666;
    font-size: small;
    margin-top: 40px;
    padding-top: 1px;
    position: fixed;
    bottom: 5px;
    left: 2em;
}

/* Page edit form */
.block-card {
    margin-bottom: 1rem;
}
.block-card header {
    font-weight: 600;
    margin-bottom: .4rem;
}

.block-actions {
    display:flex;
    gap:.5rem;
    margin-top:.6rem;
}

.muted {
    color:#666;
    font-size:.9em;
}

.inline-form {
    display:inline;
}

.fields-grid {
    display:grid;
    grid-template-columns: 160px 1fr;
    gap:.6rem 1rem;
    align-items:start;
}

.fields-grid label {
    align-self:center;
}

.fields-grid .full {
    grid-column: 1 / -1;
}

fieldset {
    margin-top: 5px;
}

.textarea-admin {
    width: 70ch;
    min-height: 180px;
    font-family: monospace;
}

.danger {
    border-color:#d55;
}

.btn-danger {
    background:#b31b1b;
    color:#fff;
    border:none;
    padding:.5rem .8rem;
    border-radius:.5rem;
    cursor:pointer;
}

.btn-primary {
    background:#333;
    color:#fff;
    border:none;
    padding:.5rem .8rem;
    border-radius:.5rem;
    cursor:pointer;
}

.btn-secondary {
    background:#eee;
    color:#222;
    border:1px solid #ccc;
    padding:.5rem .8rem;
    border-radius:.5rem;
    cursor:pointer;
}

.hr {
    height:1px;
    background:#e5e5e5;
    border:0;
    margin:1rem 0;
}
.fediring {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
}
