/* Articles — Piano Black */
body { background: #000; color: #f0f0f0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; margin: 0; }

/* Header */
.art-header { border-bottom: 1px solid #1a1a1a; padding: 0 20px; }
.art-header__inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 56px; }
.art-header__logo { color: #c46849; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.art-header__nav { display: flex; gap: 24px; }
.art-header__nav a { color: #555; text-decoration: none; font-size: .9rem; font-weight: 500; }
.art-header__nav a:hover { color: #a0a0a0; }
.art-header__nav--active { color: #f0f0f0 !important; }
.art-header__write { color: #c46849; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 8px 16px; border: 1px solid #c46849; border-radius: 6px; }
.art-header__write:hover { background: #c46849; color: #fff; }

/* Hero */
.art-hero { text-align: center; padding: 48px 20px 32px; }
.art-hero__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.4rem; font-weight: 700; color: #fff; margin: 0 0 8px; }
.art-hero__sub { color: #555; font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* Filters */
.art-filters { max-width: 1100px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.art-filters__cats { display: flex; gap: 8px; flex-wrap: wrap; }
.art-cat { background: none; border: 1px solid #1a1a1a; color: #555; padding: 6px 14px; border-radius: 20px; cursor: pointer; font-size: .85rem; }
.art-cat:hover { border-color: #333; color: #a0a0a0; }
.art-cat--active { border-color: #c46849; color: #c46849; }
.art-filters__sort select { background: #0a0a0a; border: 1px solid #1a1a1a; color: #a0a0a0; padding: 6px 12px; border-radius: 6px; font-size: .85rem; }

/* Search */
.art-search { max-width: 1100px; margin: 16px auto; padding: 0 20px; }
.art-search__input { width: 100%; background: #0a0a0a; border: 1px solid #1a1a1a; color: #f0f0f0; padding: 12px 16px; border-radius: 8px; font-size: .95rem; outline: none; box-sizing: border-box; }
.art-search__input:focus { border-color: #c46849; }
.art-search__input::placeholder { color: #333; }

/* Article List */
.art-main { min-height: 60vh; }
.art-list { max-width: 1100px; margin: 24px auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.art-empty { color: #555; text-align: center; grid-column: 1/-1; padding: 40px; }
.art-loading { color: #555; text-align: center; grid-column: 1/-1; padding: 40px; }
.art-load-more { text-align: center; padding: 24px; }
.art-load-more__btn { background: none; border: 1px solid #1a1a1a; color: #808080; padding: 10px 24px; border-radius: 6px; cursor: pointer; font-size: .9rem; }
.art-load-more__btn:hover { border-color: #c46849; color: #c46849; }

/* Article Card */
.art-card { display: block; background: #0a0a0a; border: 1px solid #1a1a1a; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s; }
.art-card:hover { border-color: #222; }
.art-card__cover { width: 100%; height: 180px; object-fit: cover; }
.art-card__body { padding: 20px; }
.art-card__cat { font-size: .75rem; color: #c46849; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; margin-bottom: 8px; }
.art-card__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; font-weight: 700; color: #f0f0f0; margin: 0 0 8px; line-height: 1.3; }
.art-card__abstract { font-size: .9rem; color: #808080; line-height: 1.5; margin: 0 0 12px; }
.art-card__meta { display: flex; align-items: center; gap: 8px; font-size: .8rem; color: #555; margin-bottom: 8px; }
.art-card__avatar { width: 24px; height: 24px; border-radius: 50%; }
.art-card__author { color: #a0a0a0; font-weight: 500; }
.art-card__dot { color: #333; }
.art-card__stats { display: flex; gap: 12px; font-size: .8rem; color: #555; }
.art-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.art-tag { font-size: .75rem; color: #808080; background: #111; padding: 2px 8px; border-radius: 4px; }

/* Article Reader */
.art-reader { max-width: 720px; margin: 0 auto; padding: 0 20px; }
.art-reader__container { padding: 32px 0 60px; }
.art-reader__cover { width: 100%; max-height: 400px; object-fit: cover; border-radius: 12px; margin-bottom: 32px; }
.art-reader__header { margin-bottom: 32px; }
.art-reader__cat { font-size: .8rem; color: #c46849; text-transform: uppercase; letter-spacing: .5px; font-weight: 600; margin-bottom: 12px; }
.art-reader__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: #fff; line-height: 1.2; margin: 0 0 16px; }
.art-reader__abstract { font-size: 1.1rem; color: #808080; line-height: 1.6; font-style: italic; margin: 0 0 24px; }
.art-reader__byline { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-bottom: 24px; border-bottom: 1px solid #1a1a1a; }
.art-reader__author { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.art-reader__author-avatar { width: 48px; height: 48px; border-radius: 50%; }
.art-reader__author-name { display: block; font-weight: 600; color: #f0f0f0; }
.art-reader__author-bio { display: block; font-size: .8rem; color: #555; }
.art-reader__date { font-size: .8rem; color: #555; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.art-reader__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }

/* Article Body */
.art-reader__body { font-size: 1.05rem; line-height: 1.8; color: #d0d0d0; }
.art-reader__body p { margin: 0 0 1.2em; }
.art-reader__body .bible-ref { color: #c46849; text-decoration: none; font-weight: 500; border-bottom: 1px dotted #c46849; }
.art-reader__body .bible-ref:hover { opacity: .8; }

/* Actions */
.art-reader__actions { display: flex; gap: 12px; padding: 24px 0; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; flex-wrap: wrap; }
.art-action { background: none; border: 1px solid #1a1a1a; color: #808080; padding: 8px 16px; border-radius: 20px; cursor: pointer; font-size: .85rem; transition: all .2s; }
.art-action:hover { border-color: #333; color: #a0a0a0; }
.art-action--active { border-color: #c46849; color: #c46849; background: rgba(196,104,73,.1); }

/* Comments */
.art-comments { padding: 32px 0; }
.art-comments__title { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; color: #fff; margin: 0 0 20px; }
.art-comments__form { margin-bottom: 24px; }
.art-comments__input { width: 100%; background: #0a0a0a; border: 1px solid #1a1a1a; color: #f0f0f0; padding: 12px; border-radius: 8px; font-size: .95rem; resize: vertical; font-family: inherit; outline: none; box-sizing: border-box; }
.art-comments__input:focus { border-color: #c46849; }
.art-comments__input::placeholder { color: #333; }
.art-comments__submit { margin-top: 8px; background: #c46849; color: #fff; border: none; padding: 8px 20px; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: .9rem; }
.art-comments__submit:hover { background: #d4785a; }
.art-comment { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid #0a0a0a; }
.art-comment__avatar { width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; }
.art-comment__body { flex: 1; }
.art-comment__author { font-weight: 600; color: #f0f0f0; font-size: .9rem; }
.art-comment__text { color: #a0a0a0; font-size: .9rem; line-height: 1.5; margin-top: 4px; }

/* Write/Editor */
.write-main { max-width: 720px; margin: 0 auto; padding: 32px 20px; }
.write-editor { display: flex; flex-direction: column; gap: 0; }
.write-cover { border: 1px dashed #1a1a1a; border-radius: 12px; min-height: 120px; display: flex; align-items: center; justify-content: center; cursor: pointer; margin-bottom: 24px; overflow: hidden; position: relative; }
.write-cover:hover { border-color: #333; }
.write-cover__placeholder { color: #333; font-size: .9rem; }
.write-cover__img { width: 100%; max-height: 300px; object-fit: cover; }
.write-title { background: none; border: none; color: #fff; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; font-weight: 700; width: 100%; resize: none; outline: none; overflow: hidden; padding: 0; margin-bottom: 12px; }
.write-title::placeholder { color: #222; }
.write-abstract { background: none; border: none; color: #808080; font-size: 1rem; width: 100%; resize: none; outline: none; overflow: hidden; padding: 0; margin-bottom: 20px; }
.write-abstract::placeholder { color: #222; }
.write-toolbar { display: flex; align-items: center; gap: 4px; padding: 8px 0; border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; margin-bottom: 16px; }
.write-toolbar button { background: none; border: none; color: #555; cursor: pointer; padding: 4px 8px; font-size: .9rem; border-radius: 4px; }
.write-toolbar button:hover { background: #111; color: #a0a0a0; }
.write-toolbar__sep { width: 1px; height: 16px; background: #1a1a1a; margin: 0 8px; }
.write-toolbar__count { font-size: .8rem; color: #333; margin-left: auto; }
.write-content { background: none; border: none; color: #d0d0d0; font-size: 1.05rem; line-height: 1.8; width: 100%; resize: vertical; outline: none; min-height: 400px; font-family: inherit; padding: 0; box-sizing: border-box; }
.write-content::placeholder { color: #222; }
.write-meta { border-top: 1px solid #1a1a1a; padding-top: 24px; margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.write-meta__field label { display: block; color: #555; font-size: .85rem; margin-bottom: 6px; }
.write-meta__field select, .write-meta__field input { background: #0a0a0a; border: 1px solid #1a1a1a; color: #f0f0f0; padding: 10px 12px; border-radius: 6px; width: 100%; font-size: .9rem; outline: none; box-sizing: border-box; }
.write-meta__field input:focus, .write-meta__field select:focus { border-color: #c46849; }
.write-meta__field input::placeholder { color: #333; }

.write-header__actions { display: flex; gap: 8px; }
.write-btn { padding: 8px 16px; border-radius: 6px; font-size: .9rem; font-weight: 600; cursor: pointer; border: none; }
.write-btn--ghost { background: none; border: 1px solid #1a1a1a; color: #808080; }
.write-btn--ghost:hover { border-color: #333; color: #a0a0a0; }
.write-btn--primary { background: #c46849; color: #fff; }
.write-btn--primary:hover { background: #d4785a; }

/* Footer */
.art-footer { text-align: center; padding: 24px 20px; border-top: 1px solid #0a0a0a; }
.art-footer p { color: #333; font-size: .85rem; }
.art-footer a { color: #555; text-decoration: none; }

@media (max-width: 600px) {
  .art-list { grid-template-columns: 1fr; }
  .art-filters { flex-direction: column; }
  .art-reader__byline { flex-direction: column; }
  .art-reader__date { align-items: flex-start; }
}
