/* Fortified — blog band cards, archive header, pagination, single post.
   Values sampled from _design-refs/blog-index-desktop.png and single-post-desktop.png. */

.fortified-main-band {
  background: var(--ft-color-cream);
  padding: 48px 0 64px;
  min-height: 60vh;
}

.fortified-band-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.fortified-archive-header {
  margin-bottom: 32px;
}
.fortified-archive-title {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 700;
  color: var(--ft-color-ink);
}
.fortified-archive-desc {
  color: var(--ft-color-ink-soft);
}

.fortified-no-results {
  background: var(--ft-color-card);
  padding: 32px;
  border-radius: var(--ft-radius-md);
  text-align: center;
  color: var(--ft-color-ink-soft);
}

/* Band card — Tint .post_layout_band: flat white block, no radius/shadow,
   inner padding ~36px 37px 32px, 30px gap between cards (see .fortified-band-list). */
.fortified-card-band {
  background: var(--ft-color-card);
  border-radius: 0;
  box-shadow: none;
  padding: 36px 37px 32px;
}
.fortified-card-band.has-thumb {
  display: grid;
  grid-template-columns: 247px 1fr;
  gap: 0;
  padding: 0;
  align-items: stretch;
}
.fortified-card-thumb {
  display: block;
  overflow: hidden;
}
.fortified-card-thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}
.fortified-card-band.has-thumb .fortified-card-body {
  padding: 36px 37px 32px;
  align-self: center;
}

.fortified-card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
/* Tint category pill: white text on accent red, 11px/14px bold, uppercase. */
.fortified-card-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #FFF;
  background: #D82C2B;
  padding: 6px 16px;
  text-decoration: none;
}
.fortified-card-cat:hover {
  color: #FFF;
  opacity: 0.88;
}

.fortified-card-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.5px;
  color: var(--ft-color-ink);
}
.fortified-card-title a { color: inherit; }
.fortified-card-title a:hover { color: var(--ft-color-red); }

.fortified-card-excerpt {
  color: var(--ft-color-ink-soft);
  font-size: 17px;
  line-height: 27.2px;
  margin: 17px 0 0;
}
.fortified-card-excerpt p { margin: 0; }

/* Tint shows a short dark rule above the meta row. */
.fortified-card-meta {
  font-size: 13px;
  line-height: 19.5px;
  color: #B1B1B1;
  margin-top: 23px;
}
.fortified-card-meta::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin-bottom: 20px;
  background: var(--ft-color-ink);
}
.fortified-card-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fortified-card-sep { opacity: 0.5; }
.fortified-card-meta a { color: inherit; }
.fortified-card-meta a:hover { color: var(--ft-color-ink); }

/* Pagination — Tint: 52px square buttons, accent border, current/active = dark fill. */
.fortified-pagination {
  margin-top: 48px;
}
.fortified-pagination .nav-links {
  display: flex;
  gap: 5px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.fortified-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 10px;
  background: transparent;
  color: var(--ft-color-ink);
  font-size: 17px;
  font-weight: 500;
  border: 1px solid #D7D8D9;
  border-radius: 0;
  box-shadow: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.fortified-pagination .page-numbers.current,
.fortified-pagination .page-numbers:hover {
  background: var(--ft-color-ink);
  border-color: var(--ft-color-ink);
  color: #FFF;
}
.fortified-pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

/* Single post (style-3 — used in Task 6.1) */
.fortified-single {
  background: var(--ft-color-cream);
}
/* Hero: full-bleed featured image (height 612px on Tint desktop) */
.fortified-single-hero {
  height: 612px;
  background-size: cover;
  background-position: center;
  background-color: #1A1A1A;
}

/* Card wrapper — full width with side padding; card centers inside */
.fortified-single-head {
  padding: 0 30px;
}

/* White title card floating over the bottom edge of the hero */
.fortified-single-card {
  position: relative;
  z-index: 9;
  margin: -120px auto 0;
  max-width: 1123px;
  background: #FFF;
  padding: 55px;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

/* No featured image: hero is skipped, so drop the -120px overlap and add top
   spacing so the title card sits cleanly below the header instead of over a void. */
.fortified-single--no-thumb .fortified-single-head {
  padding-top: 60px;
}
.fortified-single--no-thumb .fortified-single-card {
  margin-top: 0;
}

.fortified-single-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.fortified-single-cat {
  display: inline-block;
  color: #FFF;
  background: rgb(216, 44, 43);
  font-size: 11px;
  font-weight: 700;
  line-height: 14px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 16px;
  text-decoration: none;
}
/* No hover effect — keep the pill text white (overrides the global a:hover red). */
.fortified-single-cat:hover {
  color: #FFF;
}

.fortified-single-title {
  margin: 0 auto;
  max-width: 85%;
  font-size: 57px;
  font-weight: 700;
  line-height: 57px;
  letter-spacing: -1.8px;
  color: rgb(23, 22, 22);
}

.fortified-single-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
  font-size: 13px;
  line-height: 19.5px;
  color: rgb(177, 177, 177);
  flex-wrap: wrap;
}

.fortified-single-body {
  max-width: 893px;
  margin: 0 auto;
  padding: 48px var(--ft-container-pad) 64px;
}
.fortified-single-body h2, .fortified-single-body h3 {
  margin-top: 1.6em;
  color: var(--ft-color-ink);
}
.fortified-single-body p { margin: 1em 0; }
.fortified-single-body img {
  margin: 1em 0;
  border-radius: var(--ft-radius-sm);
}
.fortified-single-body a {
  color: var(--ft-color-red);
  text-decoration: underline;
}
.fortified-single-body ul,
.fortified-single-body ol {
  margin: 1em 0;
  padding-left: 1.4em;
}
.fortified-single-tags {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--ft-color-line);
  font-size: 14px;
}
.fortified-single-tags a { color: var(--ft-color-ink-soft); margin-right: 8px; }
.fortified-single-tags a:hover { color: var(--ft-color-red); }

.fortified-page-links {
  margin: 24px 0;
  font-size: 14px;
}

/* ── Comments ─────────────────────────────────────────────────────────────────
   Comments render full-width and unstyled by default; constrain them to the
   article column and theme the list + reply form. */
.fortified-comments {
  max-width: 893px;
  margin: 0 auto;
  padding: 0 var(--ft-container-pad) 80px;
}
.fortified-comments-title,
.fortified-comments .comment-reply-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ft-color-ink);
  margin: 0 0 24px;
}

/* Existing comments list */
.fortified-comment-list {
  list-style: none;
  margin: 0 0 48px;
  padding: 0;
}
.fortified-comment-list .children {
  list-style: none;
  margin: 24px 0 0;
  padding-left: 32px;
}
.fortified-comment-list .comment-body {
  margin: 0 0 24px;
  padding: 24px;
  border: 1px solid var(--ft-color-line);
  border-radius: var(--ft-radius-sm);
  background: #fff;
}
.fortified-comment-list .comment-author {
  font-weight: 700;
  color: var(--ft-color-ink);
}
.fortified-comment-list .comment-author .avatar {
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}
.fortified-comment-list .comment-metadata {
  margin: 4px 0 12px;
  font-size: 13px;
  color: var(--ft-color-ink-soft);
}
.fortified-comment-list .comment-metadata a { color: inherit; }
.fortified-comment-list .reply a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #D82C2B;
}

/* Reply form */
.fortified-comments .comment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fortified-comments .comment-form p { margin: 0; }
.fortified-comments .comment-notes,
.fortified-comments .logged-in-as {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ft-color-ink-soft);
}
.fortified-comments .comment-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ft-color-ink);
}
.fortified-comments .comment-form input[type="text"],
.fortified-comments .comment-form input[type="email"],
.fortified-comments .comment-form input[type="url"],
.fortified-comments .comment-form textarea {
  width: 100%;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid var(--ft-color-line);
  border-radius: var(--ft-radius-sm);
  padding: 12px 14px;
  font-family: var(--ft-font);
  font-size: 16px;
  color: var(--ft-color-ink);
  outline: none;
  transition: border-color 0.2s ease;
}
.fortified-comments .comment-form input:focus,
.fortified-comments .comment-form textarea:focus { border-color: #D82C2B; }
.fortified-comments .comment-form textarea {
  min-height: 140px;
  resize: vertical;
  display: block;
}
.fortified-comments .form-submit { margin: 0; }
.fortified-comments .comment-form .submit,
.fortified-comments #submit {
  display: inline-block;
  width: auto;
  background: #D82C2B;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 14px 34px;
  font-family: var(--ft-font);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.fortified-comments .comment-form .submit:hover,
.fortified-comments #submit:hover { background: #B9241F; }
.fortified-comments-closed { color: var(--ft-color-ink-soft); }
