/* Real publications retain the existing panel grid, type and chip styles. */
.atlas-home-note { display: grid; grid-template-columns: minmax(0,1fr); align-content: start; gap: 14px; min-width: 0; }
.atlas-home-note + .atlas-home-note { margin-top: 0; }
.atlas-home-note h3 { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.03em; margin: 0; }
.atlas-home-note-copy, .atlas-home-project-copy { min-width: 0; overflow-wrap: anywhere; }
.atlas-home-note h3 a, .atlas-home-project h3 a { color: #211f19; text-decoration: none; }
.atlas-home-note h3 a:is(:hover,:focus-visible), .atlas-home-project h3 a:is(:hover,:focus-visible) { color: #9c251b; text-decoration: underline; }
.atlas-home-excerpt { font-size: 13px; line-height: 1.4; margin: 7px 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.atlas-cover-main .atlas-home-cover { display: block; position: relative; background-image: none; background-color: #fff7e540; aspect-ratio: 3/2; align-self: start; overflow: hidden; }
.atlas-home-cover img { display: block; width: 100%; height: 100%; aspect-ratio: 3/2; object-fit: cover; }
.atlas-home-no-cover { position: absolute; inset: 22%; background: url('../images/icon-folder.svg') center / contain no-repeat; opacity: .5; }
/* Homepage projects only; archive and single-project styles remain independent. */
.atlas-home-projects { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding-top: 10px; margin-block: 0 !important; }
.atlas-home-projects:has(> :only-child) { grid-template-columns: minmax(0,1fr); }
.atlas-home-project { display: grid; grid-template-columns: minmax(0,1fr); align-content: start; gap: 14px; min-width: 0; }
.atlas-home-project h3 { font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -.03em; margin: 0; }
.atlas-home-project .atlas-home-cover, .atlas-home-project .atlas-home-cover img { aspect-ratio: 16/10; min-height: 0; }
.atlas-home-project .atlas-home-excerpt { font-size: 13px; line-height: 1.55; margin-block: 10px; }
.atlas-home-project-meta, .atlas-home-project-meta > span { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.atlas-home-project-meta { margin-block: 10px 7px; font: 12px/1.5 var(--atlas-sans); }
.atlas-home-project-meta a { color: #685337; text-underline-offset: 3px; }
.atlas-home-project-meta a:is(:hover,:focus-visible) { color: #9c251b; }
.atlas-home-project .atlas-project-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; }
.atlas-home-project .atlas-project-tags a { max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
.atlas-home-empty { margin-block: 10px; font: 13px/1.6 var(--atlas-sans); color: #685337; }
.atlas-home-note .atlas-home-cover, .atlas-home-note .atlas-home-cover img { aspect-ratio: 16/10; }
.atlas-home-note .atlas-home-excerpt { line-height: 1.55; margin-block: 10px; }
.atlas-home-note .atlas-note-tags { padding: 0; }
.atlas-home-note-categories { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-block: 10px 7px; font: 12px/1.5 var(--atlas-sans); }
.atlas-home-note-categories a { color: #685337; text-underline-offset: 3px; }
.atlas-home-note-categories a:is(:hover,:focus-visible) { color: #9c251b; }
.atlas-home-note .atlas-note-tags a { max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
@media (min-width: 768px) and (max-width: 1100px) {
 .atlas-home-note h3 { font-size: 18px; }
 .atlas-home-project h3 { font-size: 18px; }
 .atlas-home-projects { grid-template-columns: minmax(0,1fr); gap: 20px; }
 #notes .atlas-note-list { grid-template-columns: minmax(0,1fr); gap: 20px; }
}
@media (max-width: 767px) {
 .atlas-home-note { display: block; border: 1px solid #a2835b66; border-radius: 7px; background: #fff7e540; overflow: hidden; }
 .atlas-home-note h3 { font-size: 20px; line-height: 1.25; }
 .atlas-home-note-copy { padding: 9px 12px 10px; }
 .atlas-home-note .atlas-note-tags { padding: 0; }
 .atlas-home-note + .atlas-home-note { margin-top: 12px; }
 .atlas-home-projects { grid-template-columns: minmax(0,1fr); gap: 12px; padding: 12px 0 0; }
 .atlas-home-project { display: block; border: 1px solid #a2835b66; border-radius: 7px; background: #fff7e540; overflow: hidden; }
 .atlas-home-project-copy { padding: 9px 12px 10px; }
}
