/* =====================================================
   WordPress Default Content Formatting
   Scoped inside .article-body, .comment-area, and global
   alignment / utility classes.
   Uses the theme design tokens from global.css.
   ===================================================== */

/* ------------------------------------------------------------------ */
/*  1. Content Links                                                    */
/* ------------------------------------------------------------------ */

.article-body a,
.comment-body a,
.comment-respond a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: rgba(127,182,255,.35);
  text-underline-offset: 3px;
  transition: color .3s, text-decoration-color .3s;
}
.article-body a:hover,
.comment-body a:hover,
.comment-respond a:hover {
  color: #fff;
  text-decoration-color: rgba(127,182,255,.7);
  text-shadow: 0 0 18px var(--blue-glow);
}

/* ------------------------------------------------------------------ */
/*  2. Lists                                                            */
/* ------------------------------------------------------------------ */

.article-body ul,
.article-body ol {
  padding-left: 28px;
  margin: 20px 0;
  color: var(--text);
  font-size: .98rem;
  line-height: 1.8;
}
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 8px; }
.article-body li::marker { color: var(--muted); }
.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul { margin: 4px 0 4px 20px; font-size: .95rem; }

/* ------------------------------------------------------------------ */
/*  3. Blockquotes                                                      */
/* ------------------------------------------------------------------ */

.article-body blockquote,
.wp-block-quote {
  margin: 32px 0;
  padding: 28px 28px 28px 32px;
  border-left: 3px solid var(--blue);
  background: var(--grad-panel);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.7;
  position: relative;
}
.article-body blockquote p,
.wp-block-quote p { margin-bottom: 12px; }
.article-body blockquote cite,
.wp-block-quote cite,
.wp-block-quote__citation {
  display: block;
  margin-top: 14px;
  font-family: 'Michroma',sans-serif;
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
  font-style: normal;
}
.wp-block-quote.is-style-large {
  padding: 36px 36px 36px 40px;
  font-size: 1.25rem;
}

/* ------------------------------------------------------------------ */
/*  4. Pullquotes                                                       */
/* ------------------------------------------------------------------ */

.wp-block-pullquote {
  margin: 40px 0;
  padding: 40px 0;
  border-top: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  text-align: center;
  color: #fff;
}
.wp-block-pullquote blockquote {
  border-left: none;
  background: none;
  padding: 0;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.35;
}
.wp-block-pullquote cite {
  font-family: 'Michroma',sans-serif;
  font-size: .62rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}

/* ------------------------------------------------------------------ */
/*  5. Horizontal Rules / Separators                                    */
/* ------------------------------------------------------------------ */

.article-body hr,
.wp-block-separator {
  margin: 40px 0;
  height: 1px;
  border: none;
  background: linear-gradient(90deg,transparent,var(--line-2),transparent);
}
.wp-block-separator.is-style-wide { max-width: 100%; }
.wp-block-separator.is-style-dots {
  height: auto;
  background: none;
  text-align: center;
  line-height: 1;
  color: var(--muted);
  letter-spacing: 8px;
  font-size: 1.2rem;
}
.wp-block-separator.is-style-dots::before {
  content: "· · ·";
}

/* ------------------------------------------------------------------ */
/*  6. Tables                                                           */
/* ------------------------------------------------------------------ */

.article-body table,
.wp-block-table {
  margin: 28px 0;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.article-body th,
.article-body td,
.wp-block-table th,
.wp-block-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  color: var(--text);
}
.article-body th,
.wp-block-table th {
  font-family: 'Michroma',sans-serif;
  font-size: .62rem;
  letter-spacing: .35em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 400;
  background: var(--glass);
}
.article-body tr:last-child td,
.wp-block-table tr:last-child td { border-bottom: none; }
.article-body tbody tr:hover,
.wp-block-table tbody tr:hover { background: rgba(127,182,255,.04); }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--glass); }
.wp-block-table.is-style-stripes tbody tr:nth-child(even) { background: transparent; }

/* ------------------------------------------------------------------ */
/*  7. Code & Preformatted                                              */
/* ------------------------------------------------------------------ */

.article-body code,
.wp-block-code code {
  padding: 3px 8px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: 'SF Mono','Fira Code','Consolas',monospace;
  font-size: .88rem;
  color: var(--blue);
}
.article-body pre,
.wp-block-code,
.wp-block-preformatted {
  margin: 28px 0;
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow-x: auto;
  font-family: 'SF Mono','Fira Code','Consolas',monospace;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-wrap: break-word;
}
.article-body pre code,
.wp-block-code code {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--text);
}

/* Verse */
.wp-block-verse {
  margin: 28px 0;
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: 'Space Grotesk',system-ui,sans-serif;
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text);
  white-space: pre-wrap;
}

/* ------------------------------------------------------------------ */
/*  8. Image Alignment                                                  */
/* ------------------------------------------------------------------ */

/* WordPress classic alignment */
.alignleft {
  float: left;
  margin: 8px 28px 20px 0;
  max-width: 50%;
}
.alignright {
  float: right;
  margin: 8px 0 20px 28px;
  max-width: 50%;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Gutenberg wide/full alignment — constrain inside .article-body wrapper */
.article-body .alignwide {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.article-body .alignfull {
  max-width: 100vw;
  margin-left: calc(-1 * (100vw - 760px) / 2);
  margin-right: calc(-1 * (100vw - 760px) / 2);
}

/* Clear floats after aligned images */
.article-body::after {
  content: "";
  display: table;
  clear: both;
}

/* ------------------------------------------------------------------ */
/*  9. Image Captions                                                   */
/* ------------------------------------------------------------------ */

.wp-caption,
figure.wp-block-image,
figure.wp-block-video,
figure.wp-block-audio,
figure.wp-block-embed {
  margin: 28px 0;
  max-width: 100%;
}
.wp-caption img,
.wp-block-image img {
  display: block;
  border-radius: var(--radius);
}
.wp-caption-text,
.wp-block-image figcaption,
.wp-block-video figcaption,
.wp-block-audio figcaption,
.wp-block-embed figcaption {
  margin-top: 10px;
  font-family: 'Michroma',sans-serif;
  font-size: .6rem;
  letter-spacing: .25em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/*  10. WordPress Native Gallery                                        */
/* ------------------------------------------------------------------ */

.gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin: 32px 0;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease),filter .8s;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.12);
}
.gallery-caption {
  padding: 10px 12px;
  font-family: 'Michroma',sans-serif;
  font-size: .55rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
  text-align: center;
  background: rgba(0,0,0,.4);
}
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2,1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4,1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5,1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6,1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7,1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8,1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9,1fr); }

/* ── Homepage Gallery Masonry (#gallery) ── */
/* JS masonry engine handles positioning via shortest-column */
/* placement into an absolutely-positioned layout.            */
/* Also handles Gutenberg .wp-block-gallery output.          */
#gallery .gallery-masonry {
  position: relative;
}
#gallery .gallery,
#gallery .wp-block-gallery {
  display: block;
  margin: 0;
  position: static; /* let children look up to .gallery-masonry */
}
#gallery .gallery-item,
#gallery .wp-block-image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
#gallery .gallery-item img,
#gallery .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s var(--ease), filter .8s;
}
#gallery .gallery-item:hover img,
#gallery .wp-block-image:hover img {
  transform: scale(1.06);
  filter: brightness(1.12);
}

/* ------------------------------------------------------------------ */
/*  11. Gutenberg Blocks                                                */
/* ------------------------------------------------------------------ */

/* ── Buttons ── */
.wp-block-button { margin: 20px 0; }
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: 'Michroma',sans-serif;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--glass-strong);
  border: 1px solid var(--line-2);
  color: #fff;
  backdrop-filter: blur(14px);
  transition: all .35s var(--ease);
}
.wp-block-button__link:hover {
  border-color: rgba(127,182,255,.5);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--text);
}
.is-style-outline .wp-block-button__link:hover {
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 20px var(--blue-glow);
}

/* ── Cover ── */
.wp-block-cover {
  margin: 32px 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.wp-block-cover__inner-container {
  padding: 60px 40px;
}
.wp-block-cover__inner-container h2 {
  font-size: 1.6rem;
  letter-spacing: .15em;
  color: #fff;
}
.wp-block-cover__inner-container p { color: var(--text); }

/* ── Columns ── */
.wp-block-columns {
  margin: 28px 0;
  gap: 28px;
}
.wp-block-column { flex: 1; }
.wp-block-column > *:first-child { margin-top: 0; }
.wp-block-column > *:last-child { margin-bottom: 0; }

/* ── Media & Text ── */
.wp-block-media-text {
  margin: 32px 0;
  gap: 28px;
}
.wp-block-media-text__media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; }

/* ── Embeds ── */
.wp-block-embed {
  margin: 28px 0;
}
.wp-block-embed iframe {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  max-width: 100%;
}
.wp-block-embed__wrapper {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── File ── */
.wp-block-file {
  margin: 20px 0;
  padding: 18px 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .9rem;
}
.wp-block-file__button {
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--grad-chrome);
  color: #0a0d12;
  font-family: 'Michroma',sans-serif;
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.wp-block-file__button:hover {
  box-shadow: 0 0 20px var(--blue-glow);
  text-decoration: none;
}

/* ── Group ── */
.wp-block-group {
  margin: 28px 0;
}
.wp-block-group.has-background {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ── Audio / Video ── */
.wp-block-audio audio,
.wp-block-video video {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

/* ── Latest Posts / Comments (block widgets) ── */
.wp-block-latest-posts,
.wp-block-latest-comments {
  padding-left: 0;
  list-style: none;
}
.wp-block-latest-posts li,
.wp-block-latest-comments li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.wp-block-latest-posts li:last-child,
.wp-block-latest-comments li:last-child { border-bottom: none; }
.wp-block-latest-posts a,
.wp-block-latest-comments a {
  color: var(--text);
  text-decoration: none;
  transition: color .3s;
}
.wp-block-latest-posts a:hover,
.wp-block-latest-comments a:hover { color: var(--blue); }
.wp-block-latest-posts__post-date,
.wp-block-latest-comments__comment-date {
  font-family: 'Michroma',sans-serif;
  font-size: .58rem;
  letter-spacing: .25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
  display: block;
}

/* ── Tag Cloud ── */
.wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.wp-block-tag-cloud a {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: 'Michroma',sans-serif;
  font-size: .58rem !important;
  letter-spacing: .25em;
  color: var(--muted);
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s;
}
.wp-block-tag-cloud a:hover {
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 16px var(--blue-glow);
}

/* ── Social Links ── */
.wp-block-social-links { display: flex; gap: 10px; padding-left: 0; list-style: none; margin: 20px 0; }
.wp-block-social-link a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .3s;
}
.wp-block-social-link a:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px var(--blue-glow);
  transform: translateY(-2px);
}

/* ── Categories / Archives List ── */
.wp-block-categories,
.wp-block-archives {
  padding-left: 0;
  list-style: none;
}
.wp-block-categories li,
.wp-block-archives li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.wp-block-categories a,
.wp-block-archives a {
  color: var(--text);
  text-decoration: none;
  transition: color .3s;
}
.wp-block-categories a:hover,
.wp-block-archives a:hover { color: var(--blue); }

/* ------------------------------------------------------------------ */
/*  12. Text Utilities                                                  */
/* ------------------------------------------------------------------ */

.has-text-align-left   { text-align: left; }
.has-text-align-center { text-align: center; }
.has-text-align-right  { text-align: right; }

.has-small-font-size   { font-size: .85rem; }
.has-medium-font-size  { font-size: 1.15rem; }
.has-large-font-size   { font-size: 1.4rem; }
.has-x-large-font-size { font-size: 1.8rem; }

.has-drop-cap::first-letter {
  float: left;
  font-family: 'Orbitron',sans-serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: .7;
  color: #fff;
  margin: 8px 14px 0 0;
  text-transform: uppercase;
}

/* Inline text styles */
.has-text-color { color: inherit; }
.has-background  { background: inherit; }

/* ── Background color palette support ── */
.has-black-background-color            { background-color: #000; }
.has-white-background-color            { background-color: #fff; }
.has-pale-pink-background-color        { background-color: #f78da7; }
.has-vivid-red-background-color        { background-color: #cf2e2e; }
.has-luminous-vivid-orange-background-color { background-color: #ff6900; }
.has-luminous-vivid-amber-background-color { background-color: #fcb900; }
.has-light-green-cyan-background-color { background-color: #7bdcb5; }
.has-vivid-green-cyan-background-color { background-color: #00d084; }
.has-pale-cyan-blue-background-color   { background-color: #8ed1fc; }
.has-vivid-cyan-blue-background-color  { background-color: #0693e3; }
.has-vivid-purple-background-color     { background-color: #9b51e0; }

/* ------------------------------------------------------------------ */
/*  13. Forms (Comment, Search)                                         */
/* ------------------------------------------------------------------ */

/* Restore borders & backgrounds stripped by reset.css */
.article-body input[type="text"],
.article-body input[type="email"],
.article-body input[type="url"],
.article-body input[type="password"],
.article-body input[type="search"],
.article-body textarea,
.article-body select,
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
  padding: 14px 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #fff;
  font-size: .92rem;
  font-family: 'Space Grotesk',system-ui,sans-serif;
  width: 100%;
  transition: border-color .3s;
}
.article-body input:focus,
.article-body textarea:focus,
.article-body select:focus,
.comment-respond input:focus,
.comment-respond textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 12px rgba(127,182,255,.15);
  outline: none;
}
.article-body input[type="submit"],
.article-body button[type="submit"],
.comment-respond input[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Michroma',sans-serif;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  background: var(--grad-chrome);
  color: #0a0d12;
  border: 1px solid rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .35s var(--ease);
  width: auto;
}
.article-body input[type="submit"]:hover,
.article-body button[type="submit"]:hover,
.comment-respond input[type="submit"]:hover {
  box-shadow: 0 10px 30px rgba(127,182,255,.35);
  transform: translateY(-2px);
}
.article-body label,
.comment-respond label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Michroma',sans-serif;
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
}
.article-body fieldset,
.comment-respond fieldset {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin: 20px 0;
}
.article-body legend,
.comment-respond legend {
  font-family: 'Michroma',sans-serif;
  font-size: .65rem;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 0 10px;
}

/* ------------------------------------------------------------------ */
/*  14. Comments                                                        */
/* ------------------------------------------------------------------ */

.comments-area {
  max-width: 760px;
  margin: 60px auto;
  padding: 0 28px;
}
.comments-title {
  font-family: 'Orbitron',sans-serif;
  font-size: 1.2rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

/* ── Comment List ── */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comment {
  margin-bottom: 24px;
}
.comment-body {
  padding: 28px;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  position: relative;
}
.comment-body::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-stroke);
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Nested children indent */
.comment .children {
  list-style: none;
  padding-left: 36px;
  margin-top: 24px;
}

/* ── Comment Author ── */
.comment-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.comment-author .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.comment-author .fn {
  font-family: 'Orbitron',sans-serif;
  font-size: .9rem;
  letter-spacing: .1em;
  color: #fff;
  text-transform: uppercase;
  font-style: normal;
}
.comment-author .says { display: none; }

/* ── Comment Meta ── */
.comment-meta {
  margin-bottom: 14px;
}
.comment-meta a {
  font-family: 'Michroma',sans-serif;
  font-size: .58rem;
  letter-spacing: .25em;
  color: var(--muted);
  text-transform: uppercase;
  text-decoration: none;
  transition: color .3s;
}
.comment-meta a:hover { color: var(--blue); }

/* ── Comment Content ── */
.comment-content {
  color: var(--text);
  font-size: .95rem;
  line-height: 1.75;
}
.comment-content p { margin-bottom: 14px; }
.comment-content p:last-child { margin-bottom: 0; }

/* ── Reply Link ── */
.comment-reply-link {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: 'Michroma',sans-serif;
  font-size: .58rem;
  letter-spacing: .25em;
  color: var(--muted);
  text-transform: uppercase;
  text-decoration: none;
  transition: all .3s;
}
.comment-reply-link:hover {
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 16px var(--blue-glow);
  text-decoration: none;
}

/* By post author badge */
.bypostauthor .comment-body {
  border-color: rgba(127,182,255,.25);
}

/* ── Comment Respond Form ── */
.comment-respond {
  margin-top: 40px;
  padding: 32px;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px);
  position: relative;
}
.comment-respond::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad-stroke);
  -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.comment-reply-title {
  font-family: 'Orbitron',sans-serif;
  font-size: 1rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.comment-reply-title small {
  margin-left: 14px;
  font-size: .65rem;
}
.comment-reply-title a {
  color: var(--muted);
  text-decoration: none;
  font-family: 'Michroma',sans-serif;
  letter-spacing: .2em;
  transition: color .3s;
}
.comment-reply-title a:hover { color: var(--blue); }

.comment-form p { margin-bottom: 16px; }
.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 10px;
}
.comment-form .comment-form-cookies-consent label {
  font-family: 'Space Grotesk',system-ui,sans-serif;
  font-size: .82rem;
  letter-spacing: .02em;
  color: var(--muted);
  text-transform: none;
  margin-bottom: 0;
}

/* ── Comment Navigation ── */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin: 24px 0;
  font-family: 'Michroma',sans-serif;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.comment-navigation a {
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.comment-navigation a:hover { color: var(--blue); }

/* ── No Comments Message ── */
.no-comments {
  text-align: center;
  color: var(--muted);
  font-family: 'Michroma',sans-serif;
  font-size: .62rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding: 40px 0;
}

/* ── Logged-in as ── */
.comment-notes,
.logged-in-as {
  font-family: 'Michroma',sans-serif;
  font-size: .58rem;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.logged-in-as a {
  color: var(--blue);
  text-decoration: none;
}
.logged-in-as a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------ */
/*  Accessibility                                                       */
/* ------------------------------------------------------------------ */

.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: var(--bg-2);
  border-radius: 4px;
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: var(--text);
  display: block;
  font-size: .9rem;
  height: auto;
  left: 8px;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  top: 8px;
  width: auto;
  z-index: 100000;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  padding: 10px 20px;
  background: var(--bg-2);
  border: 1px solid var(--blue);
  border-radius: 8px;
  color: var(--blue);
  font-family: 'Michroma',sans-serif;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  z-index: 100001;
  transition: top .3s;
}
.skip-link:focus { top: 10px; }

/* ------------------------------------------------------------------ */
/*  Sticky Post                                                        */
/* ------------------------------------------------------------------ */

.sticky .result-card,
.sticky.article-body {
  border-color: rgba(127,182,255,.3);
  box-shadow: 0 0 30px rgba(127,182,255,.08);
}

/* ------------------------------------------------------------------ */
/*  Post Password Form                                                 */
/* ------------------------------------------------------------------ */

.post-password-form {
  padding: 32px;
  background: var(--grad-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 500px;
  margin: 60px auto;
}
.post-password-form p {
  color: var(--text);
  font-size: .95rem;
  margin-bottom: 16px;
}
.post-password-form label {
  display: block;
  margin-bottom: 14px;
  font-family: 'Michroma',sans-serif;
  font-size: .62rem;
  letter-spacing: .3em;
  color: var(--muted);
  text-transform: uppercase;
}
.post-password-form input[type="password"] {
  padding: 14px 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #fff;
  font-size: .92rem;
  margin-top: 8px;
  width: 100%;
  max-width: 300px;
  transition: border-color .3s;
}
.post-password-form input[type="password"]:focus {
  border-color: var(--blue);
  outline: none;
}
.post-password-form input[type="submit"] {
  padding: 14px 28px;
  border-radius: 999px;
  font-family: 'Michroma',sans-serif;
  font-size: .7rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  background: var(--grad-chrome);
  color: #0a0d12;
  border: 1px solid rgba(255,255,255,.5);
  cursor: pointer;
  transition: all .35s var(--ease);
}
.post-password-form input[type="submit"]:hover {
  box-shadow: 0 10px 30px rgba(127,182,255,.35);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------ */
/*  Responsive Adjustments for WordPress Content                       */
/* ------------------------------------------------------------------ */

@media (max-width:820px) {
  .comments-area { padding: 0 22px; margin: 50px auto; }
  .comment-body { padding: 22px; }
  .comment .children { padding-left: 22px; }
  .comment-respond { padding: 24px; }
  .gallery { grid-template-columns: repeat(2,1fr); gap: 10px; }
  .gallery-columns-4,
  .gallery-columns-5,
  .gallery-columns-6,
  .gallery-columns-7,
  .gallery-columns-8,
  .gallery-columns-9 { grid-template-columns: repeat(2,1fr); }
  .wp-block-columns { flex-wrap: wrap; }
  .wp-block-media-text { grid-template-columns: 1fr !important; }
  .wp-block-media-text .wp-block-media-text__media { grid-row: 1; }
  .alignleft,
  .alignright { float: none; margin: 20px auto; max-width: 100%; display: block; }
}

@media (max-width:520px) {
  .comments-area { padding: 0 14px; margin: 40px auto; }
  .comment-body { padding: 18px; }
  .comment .children { padding-left: 16px; }
  .comment-author .avatar { width: 36px; height: 36px; }
  .gallery { grid-template-columns: 1fr; gap: 8px; }
  .gallery-columns-2,
  .gallery-columns-3,
  .gallery-columns-4,
  .gallery-columns-5,
  .gallery-columns-6,
  .gallery-columns-7,
  .gallery-columns-8,
  .gallery-columns-9 { grid-template-columns: 1fr; }
  .wp-block-cover__inner-container { padding: 36px 24px; }
  .wp-block-pullquote blockquote { font-size: 1.15rem; }
}
