* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: #fafaf8;
  color: #2a2a2a;
  line-height: 1.7;
}

.container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Masthead */
.masthead {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 28px 0 0;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: padding 0.3s;
}

.masthead.collapsed {
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.masthead-inner {
  text-align: center;
  padding-bottom: 16px;
  transition: padding 0.3s, max-height 0.3s, opacity 0.3s;
  max-height: 120px;
  overflow: hidden;
}

.masthead.collapsed .masthead-inner {
  padding: 8px 0;
  max-height: 60px;
}

.masthead.collapsed .site-title {
  font-size: 1.2rem;
}

.masthead.collapsed .site-tagline {
  display: none;
}

/* Pre-collapsed on post pages */
.masthead.post-masthead {
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.masthead.post-masthead .masthead-inner {
  padding: 8px 0;
  max-height: 60px;
}

.masthead.post-masthead .site-title {
  font-size: 1.2rem;
}

.masthead.post-masthead .site-tagline {
  display: none;
}

.masthead.post-masthead .nav {
  display: none;
}

.masthead.post-masthead .burger-btn {
  display: block;
}

.site-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
}

.site-title:hover {
  color: #333;
}

.site-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.site-dots {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-shrink: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-gold {
  background: #c0b248;
}

.dot-black {
  background: #111;
}

.title-initial {
  background: #c0b248;
  color: #111;
  padding: 0 6px;
  margin-right: 1px;
}

.title-second {
  background: #8b0000;
  color: #fff;
  padding: 0 6px;
  margin-right: 1px;
}

.site-tagline {
  font-style: italic;
  color: #c0392b;
  margin-top: 4px;
  font-size: 0.95rem;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px solid #e0e0e0;
  transition: padding 0.3s;
}

.masthead.collapsed .nav {
  display: none;
}

/* Burger menu */
.burger-btn {
  display: none;
  background: #111;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  color: #fff;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.burger-btn svg {
  width: 22px;
  height: 22px;
}

.masthead.collapsed .burger-btn {
  display: block;
}

.masthead.collapsed .container-wide {
  position: relative;
}

/* Burger dropdown */
.burger-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  min-width: 160px;
  z-index: 60;
  overflow: hidden;
}

.burger-menu.open {
  display: block;
}

.burger-menu a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  transition: background 0.2s;
}

.burger-menu a:hover {
  background: #f5f5f3;
}

.nav-link {
  text-decoration: none;
  color: #666;
  font-size: 0.78rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 7px 16px;
  border-left: 3px solid #c0b248;
  background: linear-gradient(to right, rgba(192,178,72,0.12), #fff 60%);
  transition: all 0.2s;
}

.nav-initial {
  background: #8b0000;
  color: #fff;
  padding: 0 4px;
  margin-right: 1px;
}

.nav-link::after {
  content: " \203A";
  font-size: 1.1em;
  opacity: 0.3;
  color: #8b0000;
  transition: opacity 0.2s;
}

.nav-link:hover {
  color: #111;
  background: linear-gradient(to right, rgba(192,178,72,0.18), #fff 60%);
}

.nav-link:hover::after {
  opacity: 1;
}

.nav-link.active {
  color: #111;
  background: rgba(192,178,72,0.12);
  border-left-color: #8b0000;
}

/* Tile Grid (Homepage) */
/* Shared tile basics */
.container-wide > :last-child {
  margin-bottom: 60px;
}

.tile-image {
  position: absolute;
  inset: 0;
  background: #222;
}

.tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.tile-headline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}

.tile-breaking {
  border: 4px solid #8b0000;
}

.tile-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #8b0000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 12px;
  border-radius: 3px;
  z-index: 1;
}

/* Type 1: Full-width hero */
.t1 {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  margin-top: 32px;
  background: #f5f5f2;
}

.t1 .tile-image {
  position: relative;
  aspect-ratio: 21/9;
}

.t1 .tile-headline {
  position: static;
  background: #8b0000;
  color: #fff;
  padding: 18px 24px;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
}

.t1:hover .tile-image img {
  transform: scale(1.04);
}

/* Type 2: 2/3 big text + 1/3 picture, half height of type 1 */
.t2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin-top: 14px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  background: #f5f5f2;
  border-left: 3px solid #c0b248;
  height: 280px;
}

.t2-headline {
  display: flex;
  align-items: center;
  padding: 24px 32px;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #111;
}

.t2-image {
  overflow: hidden;
}

.t2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.t2:hover {
  background: #eeeee9;
}

.t2:hover .t2-image img {
  transform: scale(1.04);
}

/* Type 3: 3 small tiles in a row */
.t3-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.t3 {
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  background: #f5f5f2;
}

.t3 .tile-image {
  position: relative;
  aspect-ratio: 16/9;
}

.t3 .tile-headline {
  position: static;
  background: none;
  color: #111;
  padding: 14px 16px;
  font-size: 1.2rem;
  font-weight: 800;
}

.t3:hover .tile-image img {
  transform: scale(1.04);
}

/* Type 4: 2/3 width picture with text inside */
.t4 {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  text-decoration: none;
  aspect-ratio: 3/1;
  background: #f5f5f2;
  margin-top: 14px;
}

.t4 .tile-headline {
  font-size: 1.3rem;
  padding: 50px 24px 18px;
}

.t4:hover .tile-image img {
  transform: scale(1.04);
}

/* Type 5: Compact 2/3 text + small picture (shorter type 2) */
.t5 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  margin-top: 14px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  background: #f5f5f2;
  border-left: 3px solid #c0b248;
  height: 120px;
}

.t5-headline {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
}

.t5-image {
  overflow: hidden;
}

.t5-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.t5:hover {
  background: #eeeee9;
}

.t5:hover .t5-image img {
  transform: scale(1.04);
}

/* Article Page */
.article {
  padding: 40px 0 0;
}

.article-title {
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  background: #111;
  padding: 24px 28px;
  margin: 0 -20px 24px;
}

/* Hero Image */
.article-hero {
  margin-bottom: 24px;
  display: block;
}

.article-hero img {
  width: 100%;
  border-radius: 4px;
  display: block;
}


.article-hero figcaption,
.article-image figcaption {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: #999;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

/* Byline */
.article-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  background: #8b0000;
  margin: 0 -20px;
  border-top: none;
}

.byline-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.byline-info {
  display: flex;
  flex-direction: column;
}

.byline-author {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  color: #fff;
}

.byline-author strong {
  font-weight: 700;
}

.byline-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  margin-top: 2px;
}

.share-links {
  display: flex;
  gap: 6px;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn svg {
  width: 20px;
  height: 20px;
}

.share-btn:hover {
  background: rgba(255,255,255,0.95);
  color: #8b0000;
  transform: translateY(-2px);
}

.share-copy.copied {
  background: #fff;
  color: #27ae60;
}

/* Byline Divider */
.byline-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 32px;
}

/* Article Body */
.article-body p {
  margin-bottom: 22px;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
}

.article-body .lead {
  font-size: 1.28rem;
  color: #222;
  font-weight: 400;
  line-height: 1.7;
  border-left: 3px solid #c0392b;
  padding-left: 20px;
  margin-bottom: 36px;
}

/* Chapters */
.chapter {
  padding-top: 36px;
  margin-bottom: 8px;
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 0 0 20px;
  padding: 14px 20px;
  font-weight: 700;
  color: #111;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: -20px;
  margin-right: -20px;
  border-left: 5px solid #f1c40f;
  background: linear-gradient(to right, rgba(241,196,15,0.12), transparent 40%);
}

.chapter-number {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: #8b0000;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article-body blockquote {
  border-left: 3px solid #c0392b;
  padding: 20px 28px;
  margin: 32px 0;
  background: #fff;
}

.article-body blockquote p {
  font-size: 1.12rem;
  font-style: italic;
  color: #444;
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-body blockquote cite {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: #999;
  font-style: normal;
}

.article-image {
  margin: 32px auto;
  display: block;
  text-align: center;
}

.article-image img {
  max-width: 100%;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}


/* Related Section */
.related-section {
  background: #1e4d8c;
  margin: 0 -20px;
  padding: 32px 28px;
}

.related-section-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #f0ede8;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.2);
}

.related-group-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}

.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.related-item {
  text-decoration: none;
  color: #fff;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  transition: background 0.2s;
}

.related-item:hover {
  background: #222;
}

.related-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.related-info {
  padding: 10px 12px;
}

.related-info h3 {
  font-size: 0.88rem;
  line-height: 1.35;
  font-weight: 600;
}

/* Related Documents */
.related-docs {
  list-style: none;
  margin-bottom: 20px;
}

.related-docs li {
  border-bottom: none;
}

.related-docs li:nth-child(odd) {
  background: rgba(255,255,255,0.06);
}

.related-docs li:nth-child(even) {
  background: rgba(255,255,255,0.12);
}

.related-docs li:first-child {
  border-radius: 4px 4px 0 0;
}

.related-docs li:last-child {
  border-radius: 0 0 4px 4px;
}

.related-docs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.related-docs a:hover {
  color: #fff;
}

.related-docs .doc-badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.tags-label {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.5);
  margin-right: 4px;
}

.tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: #111;
  text-decoration: none;
  padding: 5px 14px;
  background: #f0ede8;
  border: none;
  border-radius: 20px;
  transition: all 0.2s;
}

.tag:hover {
  background: #fff;
  color: #000;
}

/* Floating Comment Button */
.comment-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all 0.3s;
  z-index: 100;
}

.comment-fab:hover {
  background: #444;
  transform: scale(1.05);
}

.comment-fab.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.fab-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #c0392b;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Comments */
.comments-section {
  border-top: 1px solid #e0e0e0;
  padding: 36px 0 60px;
}

.comments-title {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #111;
}

.comments-initial {
  background: #8b0000;
  color: #fff;
  padding: 0 4px;
  margin-right: 1px;
}

.comments-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #999;
  margin-left: 4px;
}

.comments-list {
  margin-top: 24px;
  margin-bottom: 28px;
}

.comment {
  position: relative;
  background: linear-gradient(to right, rgba(192,178,72,0.08), #fff 60%);
  border: 1px solid #e0e0e0;
  border-left: 3px solid #c0b248;
  border-radius: 4px;
  padding: 16px 20px;
  margin-bottom: 16px;
  max-width: 80%;
}

.comment:last-child {
  margin-bottom: 0;
}

.comment-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-author {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #111;
}


.comment-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  color: #bbb;
}

.comment-body {
  font-size: 0.92rem;
  color: #333;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Comment Form */
.comment-form-wrapper {
  background: linear-gradient(to right, rgba(192,178,72,0.08), #fff 60%);
  border: 1px solid #e0e0e0;
  border-left: 3px solid #c0b248;
  border-radius: 4px;
  padding: 24px;
  margin-top: 24px;
}

.comment-form-title {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #111;
}

.comment-notice {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
  margin-bottom: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.form-input,
.form-textarea,
.form-select {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  width: 100%;
  transition: border-color 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #bbb;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #c0b248;
}

.form-textarea {
  resize: vertical;
  margin-bottom: 12px;
}

.form-submit {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 24px;
  background: #8b0000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #a00;
}

.comment-success {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  color: #111;
  padding: 16px;
  background: rgba(192,178,72,0.1);
  border-radius: 4px;
  margin-top: 12px;
}

/* Reactions */
.comment-reactions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.reaction-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: #f5f5f3;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s;
}

.reaction-btn:hover {
  background: #eee;
  border-color: #ccc;
}

.reaction-btn.reacted {
  background: rgba(192,178,72,0.15);
  border-color: #c0b248;
}

.reaction-icon {
  font-size: 0.85rem;
  line-height: 1;
}

.reaction-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.7rem;
  color: #999;
}

.reaction-btn.reacted .reaction-count {
  color: #111;
  font-weight: 600;
}

/* Reply button */
.comment-reply-btn {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #8b0000;
  background: none;
  border: none;
  cursor: pointer;
  margin-top: 10px;
  padding: 0;
  transition: color 0.2s;
}

.comment-reply-btn:hover {
  color: #111;
}

/* Reply form inside comment */
.comment-reply-form {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e0e0e0;
}

.comment-reply-form .form-row-3 {
  margin-bottom: 10px;
}

.comment-reply-form .form-textarea {
  margin-bottom: 10px;
}

.reply-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.reply-cancel {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: #999;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.reply-cancel:hover {
  color: #111;
}

/* Nested replies */
.comment-replies {
  margin-top: 14px;
  padding-left: 20px;
  border-left: 2px solid rgba(192,178,72,0.3);
}

.comment-nested {
  background: linear-gradient(to right, rgba(192,178,72,0.04), #fff 60%);
  border-color: #eee;
  max-width: 100%;
}

/* Archive Page */
.archive-section {
  padding: 40px 0 60px;
}

.archive-title {
  font-size: 2rem;
  margin-bottom: 6px;
}

.archive-description {
  color: #888;
  font-size: 1rem;
  margin-bottom: 36px;
}

.archive-group-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #999;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #222;
}

/* Archive File List */
.file-list {
  list-style: none;
  margin-bottom: 40px;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

.file-item:last-child {
  border-bottom: none;
}

.file-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.file-link:hover {
  color: #555;
}

.file-link .file-icon {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #f0f0f0;
  color: #666;
  padding: 5px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
}

.file-link .file-info {
  display: flex;
  flex-direction: column;
}

.file-link .file-name {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
}

.file-link .file-size {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  color: #aaa;
}

.file-date {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: #bbb;
}

/* Archive Story List */
.archive-list {
  list-style: none;
}

.archive-item {
  border-bottom: 1px solid #eee;
}

.archive-item:last-child {
  border-bottom: none;
}

.archive-item a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.archive-item a:hover {
  color: #555;
}

.archive-item time {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  color: #aaa;
  flex-shrink: 0;
  width: 120px;
}

.archive-item-title {
  font-size: 1.05rem;
  font-weight: 600;
}

/* Contact Page */
/* About Page */
.about-section {
  padding: 40px 0 60px;
}

.about-title {
  font-size: 2rem;
  margin-bottom: 24px;
}

.about-body {
  max-width: 700px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.about-body p {
  margin-bottom: 18px;
}

/* Contact Page */
.contact-section {
  padding: 40px 0 60px;
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 6px;
}

.contact-description {
  color: #888;
  font-size: 1rem;
  margin-bottom: 32px;
}

.contact-form {
  max-width: 600px;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-input,
.contact-textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  width: 100%;
  transition: border-color 0.2s;
  margin-bottom: 14px;
}

.contact-row .contact-input {
  margin-bottom: 0;
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: #bbb;
}

.contact-input:focus,
.contact-textarea:focus {
  outline: none;
  border-color: #f1c40f;
}

.contact-textarea {
  resize: vertical;
}

.contact-submit {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 28px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-submit:hover {
  background: #333;
}

.contact-success {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  color: #27ae60;
  padding: 16px;
  background: #f0faf5;
  border-radius: 6px;
  margin-top: 14px;
}

/* Footer */
.footer {
  border-top: 1px solid #e0e0e0;
  padding: 28px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #bbb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

.footer-subscribe {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-email {
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  font-family: inherit;
  width: 220px;
}

.footer-subscribe-btn {
  padding: 8px 20px;
  background: #8b0000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.8rem;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.footer-subscribe-btn:hover {
  background: #a00;
}

.comments-title .site-dots {
  margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .site-title {
    font-size: 2rem;
  }

  .article-title {
    font-size: 1.8rem;
  }

  .article-body .lead {
    font-size: 1.1rem;
  }

  .related-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .related-item {
    display: grid;
    grid-template-columns: 90px 1fr;
  }

  .related-info {
    display: flex;
    align-items: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .archive-item a {
    flex-direction: column;
    gap: 4px;
  }

  .archive-item time {
    width: auto;
  }

  .comment-fab {
    bottom: 20px;
    right: 20px;
  }

  .t1 {
    margin-top: 16px;
  }

  .t1 .tile-image {
    aspect-ratio: 16/9;
  }

  .t1 .tile-headline {
    font-size: 1.3rem;
    padding: 14px 16px;
  }

  .t2 {
    height: 140px;
  }

  .t2 {
    height: 180px;
  }

  .t2-headline {
    font-size: 1.5rem;
    padding: 16px 18px;
  }

  .t3-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .t4 {
    aspect-ratio: 16/9;
  }

  .t4 .tile-headline {
    font-size: 1rem;
  }

  .t5 {
    height: 100px;
  }

  .t5-headline {
    font-size: 0.9rem;
    padding: 12px 16px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .site-brand {
    gap: 8px;
  }

  .site-dots {
    gap: 3px;
  }

  .dot {
    width: 7px;
    height: 7px;
  }

  .site-title {
    font-size: 1.6rem;
  }

  .title-initial {
    padding: 0 4px;
  }

  .title-second {
    padding: 0 4px;
  }

  .site-tagline {
    font-size: 0.75rem;
    margin-top: 2px;
  }

  .nav {
    gap: 4px;
    padding: 8px 0;
  }

  .nav-link {
    font-size: 0.65rem;
    padding: 5px 10px;
    letter-spacing: 1px;
  }

  .nav-initial {
    padding: 0 3px;
    font-size: 0.6rem;
  }

  .masthead.collapsed .site-title,
  .masthead.post-masthead .site-title {
    font-size: 1rem;
  }

  .burger-btn {
    padding: 6px;
    right: 12px;
  }

  .burger-btn svg {
    width: 18px;
    height: 18px;
  }
}
