/*
Theme Name: velvet
Description: The world is as soft as lace
Author: Lori
*/

/* =========================
   Fonts
   ========================= */
@font-face {
  font-family: 'LCALLIG';
  src: url("https://raw.githubusercontent.com/n30052094/blog-fonts/main/LucidaCalligraphy-Italic.woff2") format("woff2");
}
@font-face {
  font-family: 'VeniceClassic';
  src: url("https://raw.githubusercontent.com/n30052094/blog-fonts/main/VeniceClassic.woff2") format("woff2");
}
@font-face {
  font-family: 'Edward';
  src: url("https://raw.githubusercontent.com/n30052094/blog-fonts/main/EdwardianScriptITC.woff2") format("woff2");
}

/* =========================
   Body
   ========================= */
body {
  margin: 0;
  padding: 0;
  background: url("https://assets.velvetlori.cc/backgrounds/bg-red-02.jpg") center top repeat;
  background-size: 90%; /* or remove this line completely */
}

/* Force monochrome/text presentation for any emoji-capable characters */
html, body {
  font-variant-emoji: text;      /* makes them obey `color` */
}

/* Optional: centralize your emoji color */
:root { --emoji-color: #fff; }
.uses-emoji,
.askbox-card,
.ask-feed-card-wrap {
  color: var(--emoji-color);      /* hearts etc. inherit this */
}

/* =========================
   Outer Lace Frame
   ========================= */
#outer-lace {
  width: 100vw;
  max-width: 650px;
  min-width: 400px;
  margin: 0 auto;
  position: relative;
  background-color: #fff;
  min-height: 100vh;
  box-sizing: border-box;
}
#outer-lace::before,
#outer-lace::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  background: url("https://assets.velvetlori.cc/lace/vert-lace-03.png") repeat-y;
}
#outer-lace::before { left: -39px; transform: scaleX(-1); }
#outer-lace::after  { right: -39px; }

/* =========================
   Container & Header
   ========================= */
#container { width: 100%; display: flex; flex-direction: column; }

#header {
  background-image: url("https://assets.velvetlori.cc/backgrounds/bg-rw-02.gif");
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#header-text {
  font-family: 'Edward', cursive;
  font-size: 100px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 1;
  filter:
    drop-shadow(0 0 2px #93171e)
    drop-shadow(0 -1px #93171e)
    drop-shadow(0 1px #93171e)
    drop-shadow(0 0 #93171e)
    drop-shadow(0 1px #93171e);
}
#header-lace {
  background: url("https://assets.velvetlori.cc/lace/hrz-lace-08.png") repeat-x;
  background-size: auto 40px;
  height: 40px;
  width: 100%;
}

/* =========================
   Layout
   ========================= */
#content-area { display: flex; flex-direction: row; gap: 20px; padding: 20px; }
#main { flex: 1; min-width: 0; margin-top: -20px;  }
#sidebar { flex: 0 0 30%; max-width: 180px; box-sizing: border-box; }
.single #main{ margin-top: -40px; }      
.nav-hidden.single #main{ margin-top: -40px; }
/* Applies on the main blog index only; skips your Unlisted template */
/* Post previews on index + Unlisted (uses the posts-index body class) */
body.posts-index #content-area #main .post .entry-meta{
  display:block;
  margin:8px 0 10px;
}

body.posts-index #content-area #main .post .entry-content{
  display:block;
  padding-top:16px;
  padding-bottom:6px;           /* reduce space under the button */
}

body.posts-index #content-area #main .post .entry-content > p{
  margin:0 0 12px;
  text-indent:0;
}

body.posts-index #content-area #main .post .entry-content > p:first-of-type{
  margin-top:0;
}

body.posts-index #content-area #main .post .entry-content p.read-more{
  margin:11px 0 0;              /* only space above the button */
  text-align:center;
  text-indent:0;
}

body.posts-index #content-area #main .post .entry-content .more-link{
  display:inline-block;
}

/* Optional: tiny trim if there’s no Read More */
body.posts-index #content-area #main .post .entry-content > p:last-of-type{
  margin-bottom:8px;
}

 /* Unified styling for post previews on index + Unlisted */
body.posts-index #content-area #main .post .entry-meta{
  display:block;
  margin: 8px 0 10px;                 /* space around the date/comments line */
}

body.posts-index #content-area #main .post .entry-content{
  display:block;
  padding-top: 16px;                  /* top gap above first paragraph */
  padding-bottom: 16px;               /* bottom gap under excerpt */
}

body.posts-index #content-area #main .post .entry-content > p{
  margin: 0 0 14px;                   /* space between paragraphs */
  text-indent: 0;                     /* neutralize any first-line indent */
}

body.posts-index #content-area #main .post .entry-content > p:first-of-type{
  margin-top: 0;                       /* padding on container provides the top gap */
}

body.posts-index #content-area #main .post .entry-content p.read-more{
  margin: 18px 0 0;                   /* gap above the button */
  text-align: center;                 /* center button */
  text-indent: 0;
}

body.posts-index #content-area #main .post .entry-content .more-link{
  display: inline-block;              /* compact centered button */
}

/* Show "Back to top" only on single posts */
.home  #main .back-to-top,
.blog  #main .back-to-top,
.archive #main .back-to-top,
.search #main .back-to-top,
.posts-index #main .back-to-top {       /* your preview/index body class */
  display: none !important;
}

/* (optional, explicit) keep it visible on singles */
.single #main .back-to-top { display: inline-block; }

 
/* =========================
   Navigation Box
   ========================= */
#navigation {
  width: 180px;
  position: relative;
  border: 2px solid #87171d;
  background: #fff;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  border-radius: 5px;
  font-family: 'VeniceClassic', serif;
}
.nav-header {
  font-family: 'LCALLIG', cursive;
  font-size: 20px;
  padding: 8px;
  height: 33px;
  text-align: center;
  background-color: #93171e;
  color: #fff;
  position: relative;
  z-index: 1;
}
.nav-border { display: inline-block; padding: 5px 20px; border: 1px dashed #fff; border-radius: 5px; color: #fff; }

/* Decorative lace */
.nav-lace-top {
  position: absolute;
  left: -1px;
  top: 49px;
  width: 181px;
  height: 40px;
  background: url("https://assets.velvetlori.cc/lace/hrz-lace-06.png") repeat-x;
  background-size: auto 10px;
  z-index: 0;
  pointer-events: none;
}
.nav-lace {
  width: 180px;
  height: 30px;
  background: url("https://assets.velvetlori.cc/lace/hrz-lace-09.png") repeat-x;
  background-size: auto 20px;
  pointer-events: none;
}

/* Nav list */
#navigation ul.nav-list,
#navigation ul.menu {
  --nav-list-offset-y: -10px;
  --nav-row-pad-y: 6px;
  --nav-bullet-left: 4px;
  --nav-text-left: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  transform: translateY(var(--nav-list-offset-y));
}
#navigation ul.nav-list li,
#navigation ul.menu li {
  position: relative;
  border-bottom: 1px dotted #93171e;
}
#navigation ul.nav-list li a,
#navigation ul.menu li a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: var(--nav-row-pad-y) 0;
  padding-left: var(--nav-text-left);
  font-size: 28px;
  font-family: 'VeniceClassic', serif;
  color: #93171e;
  text-decoration: none;
  line-height: 1;
  box-sizing: border-box;
}
#navigation ul.nav-list li::before,
#navigation ul.menu li::before {
  content: "";
  position: absolute;
  left: var(--nav-bullet-left);
  top: 50%;
  transform: translateY(-50%);
  width: 23px;
  height: 23px;
  background-image: url("https://assets.velvetlori.cc/pixels/rose-03.png");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}
#navigation ul.nav-list li:hover::before,
#navigation ul.menu li:hover::before {
  transform: translateY(-50%) rotate(20deg);
  filter: brightness(0) saturate(100%) invert(13%) sepia(87%) saturate(7481%) hue-rotate(355deg) brightness(90%) contrast(105%);
}
#navigation ul.nav-list li:hover a,
#navigation ul.menu li:hover a { color: #da1115; }

/* Grayscale buttons */
#navigation ul.nav-list li.grayscale-btn,
#navigation ul.menu li.grayscale-btn { filter: grayscale(100%); pointer-events: none; cursor: default; }

/* Search Form */
#navigation .search-form { display: flex; gap: 4px; margin-top: -5px; padding: 10px 5px; justify-content: center; }
#navigation .search-form input {
  width: 120px; padding: 4px 6px; font-size: 12px; border: 1px solid #93171e; border-radius: 4px; box-sizing: border-box;
}
#navigation .search-form button {
  width: 50px; padding: 4px 0; font-size: 12px; background: #93171e; color: #fff; border: none; border-radius: 4px; cursor: pointer;
}
#navigation .search-form button:hover { background: #da1115; }

/* thicker red X, nudged right */
#navigation .search-form input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  cursor: pointer;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><line x1='4' y1='4' x2='16' y2='16' stroke='%2393171e' stroke-width='3' stroke-linecap='round'/><line x1='16' y1='4' x2='4' y2='16' stroke='%2393171e' stroke-width='3' stroke-linecap='round'/></svg>") no-repeat center;
}

/* ===== Blog index/site-wide numeric pager (centered across container) ===== */

/* Make the pager span the full container (main + sidebar) and sit closer to posts/footer */
#content-area .site-wide-pagination{
  grid-column: 1 / -1;     /* span both columns of #content-area */
  display: block;
  width: 100%;
  text-align: center;
  margin: 4px 0 6px;       /* tighter above posts and above footer */
}

/* Pull the last post closer to the pager on index/archive/search */
.home  #main,
.blog  #main,
.archive:not(.post-type-archive-miniblog) #main,
.search #main{
  padding-bottom: 12px;    /* reduce large bottom padding that pushed pager down */
}
.home  #main .post:last-of-type,
.blog  #main .post:last-of-type,
.archive:not(.post-type-archive-miniblog) #main .post:last-of-type,
.search #main .post:last-of-type{
  margin-bottom: 10px;     /* closer to pager */
}

/* Numbers + arrows — larger, minimal (no boxes) */
#content-area .site-wide-pagination a,
#content-area .site-wide-pagination span{
  font-family: 'VeniceClassic', serif;
  color: #93171e;
  text-decoration: none;
  padding: 0 7px;          /* spacing only */
  margin: 0 2px;
  font-size: 22px;         /* slightly bigger */
  line-height: 1;
  border: 0 !important;    /* remove box outlines */
  background: none !important;
  outline: 0;
}

/* Current page: bold + underline */
#content-area .site-wide-pagination .current{
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  border: 0 !important;
}

/* Hover state */
#content-area .site-wide-pagination a:hover{
  color: #da1115;
  text-decoration: underline;
}

/* Ellipsis is plain text here (no popover on main index) */
#content-area .site-wide-pagination .page-numbers.dots{
  cursor: default;
}

/* Back-compat: if the nav only has .mini-pagination, center it too */
#main .mini-pagination{
  text-align: center;
  margin: 4px 0 6px;
}
#main .mini-pagination a,
#main .mini-pagination span{
  font-family: 'VeniceClassic', serif;
  color: #93171e;
  text-decoration: none;
  padding: 0 7px;
  margin: 0 2px;
  font-size: 22px;
  line-height: 1;
  border: 0 !important;
  background: none !important;
}
#main .mini-pagination .current{
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#main .mini-pagination a:hover{
  color: #da1115;
  text-decoration: underline;
}
#main .mini-pagination .page-numbers.dots{
  cursor: default;
}



/* =========================
   Music Player
   ========================= */
#player-container { width: 183px; }
.player {
  width: 180px;
  border: 2px solid #87171d;
  border-radius: 5px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.player-header {
  font-family: 'LCALLIG', cursive;
  font-size: 16px;
  padding: 4px 0;
  text-align: center;
  background-color: #87171d;
  color: #fff;
  width: 100%;
  border-radius: 3px 3px 0 0;
}
.details { padding: 8px 4px; text-align: center; }
.track-name { font-size: 0.9rem; font-weight: bold; color: #87171d; margin-bottom: 4px; }
.timeline-container { display: flex; align-items: center; gap: 4px; font-size: 0.8rem; width: 100%; }
.current-time, .total-time { width: 30px; text-align: center; color: #87171d; }
.track-timeline { width: 110px; height: 4px; border-radius: 2px; background: #87171d; cursor: pointer; -webkit-appearance: none; }
.track-timeline::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 10px; border-radius: 50%; background: #da1115; cursor: pointer; }
.buttons { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 6px; }
.buttons button { background: none; border: none; padding: 0; cursor: pointer; }
.buttons i { pointer-events: none; color: #87171d; }
.buttons button:hover i { color: #da1115; }
.playpause-track i { font-size: 2em; }

/* =========================
   Community Widget (container only)
   ========================= */

/* Card shell */
#community-widget.community-widget{
  width:180px;
  margin:20px 0;
  border:2px solid #87171d;
  border-radius:5px;
  box-shadow:2px 2px 6px rgba(0,0,0,.2);
  overflow:visible;                                /* let outer lace overhang */
  background-image: var(--comm-outer-bg, url('https://assets.velvetlori.cc/backgrounds/bg-red-07.jpg'));
  background-size: var(--comm-outer-bg-size, 112px);
  background-repeat: repeat;
  overflow: hidden;         
}

/* Header */
#community-widget .community-header{
  position:relative;
  height:33px;
  padding:8px 6px;
  text-align:center;
  color:#fff;
  font-family:'LCALLIG',cursive;
  font-size:20px;
  line-height:1;
  background-image: var(--comm-header-bg, url('https://assets.velvetlori.cc/backgrounds/bg-wr-12.jpg'));
  background-size: var(--comm-header-bg-size, 60px);
  background-repeat:repeat;
  border-bottom:2px solid #87171d;

  /* make lace sit outside the rounded corners cleanly */
  border-top-left-radius:5px;
  border-top-right-radius:5px;
  overflow:visible;
  z-index:3;
}

/* Title */
#community-widget .community-header .community-title{
  display:inline-block;
  margin-top:5px;
  font-size:23px;
  filter:
    drop-shadow(0 0 2px #93171e)
    drop-shadow(0 -1px #93171e)
    drop-shadow(0 1px #93171e)
    drop-shadow(0 0 #93171e)
    drop-shadow(0 1px #93171e);
}


/* bottom outer lace – spans the header's inner width only */
#community-widget .community-header::after{
  content: "";
  position: absolute;
  left: 0;                 /* no negative offset => no overlap with border */
  right: 0;
  height: 20px;
  bottom: -20px;           /* hangs below the header, inside the card */
  background-repeat: repeat-x;
  background-image: var(--comm-lace-bottom, url('https://assets.velvetlori.cc/lace/hrz-lace-03.png'));
  background-size: auto 20px;
  pointer-events: none;
  z-index: 4;
}

/* INNER lace bars – full width now */
#community-widget .community-header .header-trim{
  position:absolute;
  left:0;                    /* was 10px – now full width */
  right:0;
  height:5px;
  background: var(--comm-trim, url('https://assets.velvetlori.cc/lace/hrz-lace-07.png')) repeat-x center;
  background-size:auto 5px;
  pointer-events:none;
  z-index:3;
}
#community-widget .community-header .trim-top   { top:0;  transform:scaleY(-1); }
#community-widget .community-header .trim-bottom{ bottom:0; }


/* Inner panel spacing only (no background/checker) */
#community-widget .comm-inner{
  position:relative;
  z-index:1;                                        /* below header/lace */
  margin:18px 8px 10px;                             /* leaves room under bottom outer lace */
  padding:10px 6px 12px;
  border-radius:2px;
  background:none;
  border:0;
  box-shadow:none;
}

/* =========================
   Archive Box
   ========================= */
#archive-container {
  width: 186px; border: 2px solid #87171d; box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  margin: 20px 0; border-radius: 5px; padding: 0 0 10px 0; overflow: hidden; position: relative; box-sizing: border-box;
}
#archive-container .nav-header {
  font-family: 'LCALLIG', cursive; font-size: 20px; height: 33px; padding: 8px; text-align: center; background-color: #93171e; color: #fff; position: relative; z-index: 1;
}
#archive-container .nav-lace-top { width: 184px; height: 40px; background-size: auto 10px; }
#archive-container .nav-lace {
  width: 184px; height: 30px; background: url("https://assets.velvetlori.cc/lace/hrz-lace-09.png") repeat-x; background-size: auto 20px; pointer-events: none;
}
#archive-container .nav-border { display: inline-block; padding: 5px 38px; border: 1px dashed #fff; border-radius: 5px; }

/* Archive Tree */
.archive-tree, .archive-tree ul { list-style: none; margin: 0; padding: 0; width: 100%; box-sizing: border-box; }
.archive-tree { position: relative; top: -7px; left: 3px; }
.archive-tree li.year, .archive-tree li.month { font-family: 'VeniceClassic', serif; font-size: 25px; color: #93171e; margin: 0; padding: 0; line-height: 1.1em; }
.archive-tree li.month { padding-left: 10px; margin-top: -2px; }
.archive-tree .archive-toggle { display: flex; align-items: center; cursor: pointer; user-select: none; padding: 0; margin: 0; line-height: 1em; }
.archive-tree .archive-toggle .arrow::after { content: "\25B8"; display: inline-block; margin-right: 4px; margin-top: 2px; transform-origin: center; }
.archive-tree li.open > .archive-toggle > .arrow::after { transform: rotate(90deg); }
.archive-tree .archive-toggle:hover { color: #da1115; }
.archive-tree li.month > ul { margin: 0; padding: 0 0 0 10px; }
.archive-tree li.month > ul > li.post { margin: 0; padding: 2px 0; }
.archive-tree li.post a {
  display: block; width: 140px; box-sizing: border-box; margin: 0; padding-left: 0;
  font-size: 23px; color: #93171e; text-decoration: none; line-height: 1.2em; white-space: normal; text-align: left;
}
.archive-tree li.post a:hover { color: #da1115; text-decoration: underline; }
.archive-tree li > ul { margin: 0; padding-left: 0; }
.archive-tree li.collapsed > ul { display: none; }
.archive-tree li.open > ul { display: block; }
/* Archive: post-title size only (not year/month) */
#archive-container .archive-tree li.post a{
  font-size: 21px;     /* ← pick your size */
  line-height: 1.25;   /* optional: tighter spacing */
}


/* =========================
   Posts
   ========================= */
#main .post {
  margin-bottom: 30px;
  padding: 19px;
  color: #333;
  text-align: center;
  border: 0;               /* no default borders; see context rules below */
}

.entry-meta{ display:inline-flex; gap:6px; align-items:center; }
.entry-meta .meta-comments, .entry-meta a{ color:#666; text-decoration:none; }
.entry-meta .meta-comments:hover{ color:#333; text-decoration:underline; }
/* remove the dotted lines between posts */

.home   #main .post,
.blog   #main .post,
.archive#main .post,
.search #main .post{
  border: 2px solid #93171e;      /* full box border */
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  padding: 20px;
  margin: 20px 0;
}

/* In case an old rule set border-top:none or a dotted top border, force the top edge back */
.home   #main .post + .post,
.blog   #main .post + .post,
.archive#main .post + .post,
.search #main .post + .post{
  border-top: 2px solid #93171e !important;
}


/* SINGLE POST: no listing separators */
.single #main .post { border: 0; }
/* Force YouTube and video embeds to center on single posts */
.single .post .entry-content figure.wp-block-embed,
.single .post .entry-content .wp-block-embed,
.single .post .entry-content .wp-block-video,
.single .post .entry-content .wp-video {
  display: flex;
  justify-content: center;
  margin: 16px auto;
  text-align: center;
}

.single .post .entry-content figure.wp-block-embed iframe,
.single .post .entry-content .wp-block-embed iframe,
.single .post .entry-content .wp-block-video video,
.single .post .entry-content .wp-video video {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Post Title */
.post .entry-title, .post .entry-title a {
  font-size: 28px; color: #93171e; text-decoration: none; margin-bottom: 5px; display: block;
}
.post .entry-title a:hover { color: #da1115; text-decoration: underline; }

/* Metadata */
.post .entry-meta { font-size: 14px; color: #666; font-style: italic;}
.entry-meta a.to-comments { color: inherit; text-decoration: none; cursor: pointer; }
.entry-meta a.to-comments:hover { text-decoration: underline; }

/* Toggle Navigation label (hoverable) */
.toggle-nav-text { cursor: pointer; text-decoration: none; }
.toggle-nav-text:hover,
.toggle-nav-text:focus-visible { text-decoration: underline; }

/* Media */
.entry-content img, .entry-content video, .entry-content iframe { display: block; margin: 20px auto; }

/* Divider */
.post .divider {
  width: 100%; height: 20px;
  background: url("https://assets.velvetlori.cc/dividers/dvr-01.png") center/contain no-repeat;
  margin: 10px 0 20px 0;
}

/* Post content */
.post .entry-content { font-size: 18px; line-height: 1.6; margin-bottom: 15px; text-align: left; }

/* Read More */
.post .more-link {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 6px 12px;
  background: #93171e;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
}

.post .more-link:hover {
  background: #da1115;
  color: #fff; /* keep text visible on hover */
}

/* Square thumbnail box */
body.posts-index #content-area #main .post .entry-thumb{
  position: relative;
  aspect-ratio: 1 / 1;           /* square container */
  overflow: hidden;
  border-radius: 8px;
  margin: 0 0 12px;
}

/* Image covers the square, crops as needed */
body.posts-index #content-area #main .post .entry-thumb img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;   /* keeps the “interesting” top portion */
  margin: 0;
  border-radius: 0;              /* container already has rounded corners */
}


/* Lists / images */
.post ul, .post ol { margin: 10px 0 10px 20px; text-align: left; }
.post img { max-width: 100%; border-radius: 6px; }

/* Links in posts */
.entry-content a { color: #93171e; text-decoration: underline; }
.entry-content a:hover { color: #da1115; }

/* Smooth jump to anchors (nice scroll) */
html { scroll-behavior: smooth; }

/* Back-to-top pill — replaces .return-home */
/* Back-to-top button — independent of the footer row */
/* make the button larger, keep it in place */
#main .back-to-top{
  display:inline-block;
  padding: 14px 30px;   /* ← bigger pill */
  background:#93171e;
  color:#fff;
  border-radius:28px;
  text-decoration:none;
  line-height:1;
  margin: 10px auto 20px;  /* spacing above/below */
  transform:none;          /* ← stop pulling it upward */
}

.back-to-top:hover{ background:#da1115; color:#fff; }

/* More space between Miniblog and the sidebar nav */
body.post-type-archive-miniblog:not(.nav-hidden) #content-area,
body.tax-mini_tag:not(.nav-hidden) #content-area{
  column-gap: 40px;   /* try 28–32px to taste */
}

/* Miniblog: keep long words/strings inside the card */
.post-type-archive-miniblog #main article.mini-item.post,
.post-type-archive-miniblog .mini-content,
.tax-mini_tag #main article.mini-item.post,
.tax-mini_tag .mini-content{
  max-width: 100%;
  overflow-wrap: anywhere;   /* modern wrap */
  word-break: break-word;    /* fallback */
}

/* (optional) if you ever paste very long URLs */
.post-type-archive-miniblog .mini-content a{
  overflow-wrap: anywhere;
}



/* extra breathing room above the footer so they don’t collide */
#main{ padding-bottom: 48px; }

/* nice smooth jump */
html{ scroll-behavior: smooth; }


/* Extra space at the very bottom of the content area */
.single #main{ padding-bottom: 28px; }
.post-type-archive-miniblog #main{ padding-bottom: 24px; } /* if you want it on the miniblog list too */

/* (Optional) If the old button still exists, hide it */
.return-home{ display: none !important; }


/* Spoilers */
.spoiler { background-color: black; color: transparent; cursor: pointer; padding: 2px 4px; text-decoration: none; }
.spoiler:hover { background-color: transparent; color: inherit; }
.spoiler a { color: inherit; transition: none !important; }
.spoiler:hover a { color: inherit; transition: none !important; }

/* Blackout / redaction – stays hidden on hover */
.blackout{
  background:#000 !important;
  color:transparent !important;   /* hide glyphs */
  padding:0 .25em;             
  text-shadow:none !important;
  -webkit-box-decoration-break: clone; /* keep background on wraps */
  box-decoration-break: clone;
  user-select:none;                /* optional: harder to copy */
}
.blackout:hover,
.blackout:focus{
  background:#000 !important;
  color:transparent !important;    /* do NOT reveal on hover/focus */
}
/* If you already have a .spoiler that reveals on hover, this prevents leaks */
.spoiler.blackout:hover{ color:transparent !important; }

/*
   Toggle (hide nav). Keep main clamped to avoid over-wide pages. */
.nav-hidden #site-navigation,
.nav-hidden #sidebar { display: none; }
.nav-hidden #main { max-width: 620px; margin: 0 auto; }

/* ===== Velvet unified lightbox (miniblog + posts) ====================== */
/* show zoom cursor on post images */
.entry-content img,
.entry-content figure img { cursor: zoom-in; }

/* overlay (hidden until .is-open) */
.lb-ov, .mlb-ov{
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0,0,0,.92);
  display: none;                 /* shown when .is-open is added */
  /* key: stack stage + caption vertically and center them */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  box-sizing: border-box;
}
.lb-ov.is-open, .mlb-ov.is-open{
  display: flex !important;      /* beat any theme rules */
}

/* viewport box that constrains the media */
.lb-stage, .mlb-stage{
  position: relative;
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 82vh;              /* leaves room for caption */
  line-height: 0;                /* no whitespace gaps */
  overflow: hidden;
}

/* media inside overlay */
.lb-ov img, .lb-ov video,
.mlb-ov img, .mlb-ov video{
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;               /* respect the stage box */
  max-height: 100%;
  object-fit: contain;
  margin: 0;
  border: 0;
  background: transparent;
}

/* When the sidebar is visible (no .nav-hidden), use a strict 2-column grid */
body:not(.nav-hidden) #content-area{
  display: grid !important;
  grid-template-columns: 1fr 180px;  /* main | sidebar */
  column-gap: 20px;                  /* same gap you use now */
  align-items: start;
}

/* Ensure the columns don't overlay each other */
body:not(.nav-hidden) #main{ width: 100%; min-width: 0; }
body:not(.nav-hidden) #sidebar{ width: 180px; }

/* Media in the main column must never overflow */
#main .entry-content img,
#main .entry-content video,
#main .entry-content iframe,
#main .entry-content figure,
#main .entry-content .wp-caption,
#main .entry-content .wp-caption img{
  max-width: 100% !important;
  height: auto !important;
  display: block;
  box-sizing: border-box;
}

/* Keep figures/captions tidy inside main */
#main .entry-content figure,
#main .entry-content .wp-caption{
  margin: 20px auto;
}

/* Small screens: stack naturally (no sidebar overlap possible) */
@media (max-width: 600px){
  body:not(.nav-hidden) #content-area{
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}


/* caption under the image */
.lb-caption, .mlb-caption{
  max-width: 92vw;
  margin-top: 12px;
  color: #eee;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  text-shadow: 0 1px 1px rgba(0,0,0,.6);
  word-break: break-word;
}
/* links in lightbox captions */
.lb-caption a{
  color:#fff; text-decoration:underline; text-underline-offset:2px;
}
.lb-caption a:hover{ color:#ddd; }

/* controls */
.lb-btn, .mlb-nav, .mlb-close{
  position: fixed;
  z-index: 100001;               /* above overlay content */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: #222;
  color: #eee;
  border: 1px solid #444;
  cursor: pointer;
  opacity: .9;
}
.lb-close, .mlb-close{ top: 12px; right: 16px; width: 32px; height: 32px; }
.lb-prev,  .mlb-prev { top: 50%; left: 12px;  transform: translateY(-50%); }
.lb-next,  .mlb-next { top: 50%; right: 12px; transform: translateY(-50%); }

/* prevent page scroll when open */
body.lb-no-scroll, body.mlb-no-scroll{ overflow: hidden; }

/* Lightbox zoom/pan helpers */
.lb-stage{ overflow:hidden; }                  /* crop while panning */
.lb-media{ touch-action:none; cursor:grab; will-change:transform; }
.lb-media.is-panning{ cursor:grabbing; }

/* Lightbox stage crops while panning */
.lb-stage { overflow: hidden; }

/* The media element we transform (added by the script) */
.lb-media{
  touch-action: none;    /* enables pointer events for pinch/pan */
  cursor: grab;
  will-change: transform;
}
.lb-media.is-panning{ cursor: grabbing; } /* optional */

/* reset zoom button – sits left of the close X */
.lb-reset{
  position: fixed;
  top: 12px;
  right: 56px;     /* close is at right:16px; so this sits just to its left */
  width: 32px;
  height: 32px;
}

/* dim + disable clicks when not needed */
.lb-btn[disabled]{
  opacity: .45;
  cursor: default;
  pointer-events: none;
}

/* Reset-zoom button for posts AND miniblog */
.lb-reset, .mlb-reset{
  position: fixed;
  top: 12px;
  right: 56px;               /* close (X) is at 16px; this sits just left of it */
  background: #222;
  color: #eee;
  border: 1px solid #444;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .95;
  z-index: 100001;           /* above the image */
  border-radius: 4px;
  font-size: 18px;
  line-height: 1;
}
.lb-reset:hover, .mlb-reset:hover{ background:#2a2a2a; }

/* Show reset button only while zoomed */
.lb-ov.is-zoomed .lb-reset { display:inline-flex; }
.mlb-ov.is-zoomed .mlb-reset { display:inline-flex; }

/* Optional: native tooltip spacing looks nice with this */
.lb-reset[title], .mlb-reset[title]{ pointer-events:auto; }

/* when fully zoomed out, show default cursor on the image */
.lb-ov:not(.can-pan) .lb-stage img { cursor: default; }

/* ===== Velvet — Content/Spoiler Warning Modal (compact sizing) ===== */

/* prevent page scroll while open */
.cw-modal-open { overflow: hidden; }

/* overlay above site */
.cw-overlay{
  position: fixed;
  inset: 0;
  z-index: 100002;                /* above lightbox */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,.70);
  backdrop-filter: blur(2px);
}

/* card */
.cw-box{
  width: min(760px, calc(100% - 40px));
  background: #fff;               /* keep site colors */
  color: #ffffff;
  border: 2px solid #93171e;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  padding: 20px 24px;             /* compact */
  position: relative;
}

/* dashed inner frame */
.cw-box::after{
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed #93171e;
  border-radius: 6px;
  pointer-events: none;
}

/* title */
.cw-box h3{
  margin: 2px 0 8px;
  text-align: center;
  font-family: 'VeniceClassic', serif; /* keep your font */
  font-size: 38px;                     /* compact like first screenshot */
  line-height: 1.1;
  color: #93171e;
  text-shadow: 0 0 1px #fff;
}

/* message body */
#cw-msg{
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}
#cw-msg p{ margin: 0 0 .6em; }
#cw-msg ul,
#cw-msg ol{ margin: .35em 0 .6em 1.1em; }
#cw-msg a{
  color: #93171e;
  text-decoration: underline;
}
#cw-msg a:hover{ color: #da1115; }

/* remember checkbox row */
.cw-remember{
  display: block;
  margin: 8px 0 0;
  color: #93171e;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

/* actions */
.cw-actions{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}
.cw-actions .btn{
  appearance: none;
  display: inline-block;
  padding: 6px 12px;              /* smaller buttons */
  border-radius: 6px;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

/* primary button */
.cw-actions .btn.btn-primary{
  background: #93171e;
  color: #fff;
}
.cw-actions .btn.btn-primary:hover{ background: #da1115; }

/* secondary button */
.cw-actions .btn.btn-secondary{
  background: #fff;
  color: #93171e;
  border: 1px solid #87171d;
}
.cw-actions .btn.btn-secondary:hover{
  border-color: #da1115;
  color: #da1115;
}

/* small screens */
@media (max-width: 480px){
  .cw-box{ width: calc(100% - 28px); padding: 16px 18px; }
  .cw-box h3{ font-size: 32px; }
  #cw-msg{ font-size: 15px; }
  .cw-actions .btn{ padding: 6px 10px; font-size: 13.5px; }
}

/* keep the card white */
.cw-overlay .cw-box { background:#fff !important; }

/* ensure body text inside the card is dark/legible */
.cw-overlay .cw-box,
.cw-overlay .cw-box #cw-msg,
.cw-overlay .cw-box .cw-remember {
  color:#2b2b2b !important;
}

/* (optional) keep links in theme red, if they got dimmed */
.cw-overlay .cw-box a { color:#93171e !important; }


/* =========================
   COMMENTS — TITLE, LIST, ITEMS
   ========================= */

/* one indent for ALL replies + how far from the right to place (Edit) */
:root { --reply-indent: 32px; --edit-offset: 56px; }

/* title underline */
#comments h2.comments-title,
#comments h3.comments-title,
#comments .comments-title{
  border-bottom: 1px dotted #93171e;
  padding-bottom: 10px;
  margin-bottom: 18px;
}

/* remove bullets/margins from all wrappers */
#comments .comment-list,
#comments .comment-list ul,
#comments .comment-list ol,
#comments .comment-list .children{
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
#comments .comment-list li{ list-style: none !important; }
#comments .comment-list li::marker{ content: none; }

/* base item */
#comments .comment-list li.comment{
  margin-left: 0 !important;
  padding: 15px 0;
  border: 0;
  width: 100%;
  box-sizing: border-box;
}
#comments .comment-list .comment-body{ position: relative; }

/* --------- SEPARATORS BETWEEN THREADS (BASELINE) --------- */
/* draw a dotted rule before every top-level thread after the first */
#comments .comment-list > li.comment.depth-1 + li.comment.depth-1{
  border-top: 1px dotted #93171e;
  margin-top: 18px;
  padding-top: 18px;
}

/* Thread divider spacing */
#comments .comment-list > li.comment.depth-1.parent,
#comments .comment-list > li.comment.depth-1.thread-has-replies{
  border-bottom: 1px dotted #93171e;
  padding-bottom: 12px !important; /* space ABOVE the divider (under last reply) */
  margin-bottom: 24px !important;  /* space BELOW the divider (before next thread) */
}
#comments .comment-list > li.comment.depth-1.parent .children > li.comment:last-child,
#comments .comment-list > li.comment.depth-1.thread-has-replies .children > li.comment:last-child{
  padding-bottom: 0;
  margin-bottom: 0;
}
/* suppress the next thread’s top rule to avoid double lines */
#comments .comment-list > li.comment.depth-1.parent + li.comment.depth-1,
#comments .comment-list > li.comment.depth-1.thread-has-replies + li.comment.depth-1{
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}
/* Remove extra divider under the header */
.comments-area .comment-list{
  border-top: 0 !important;
  padding-top: 0;
  margin-top: 8px;  /* keep a little spacing below the header */
}
/* If you previously used a pseudo-element divider, hide it too */
.comments-area .comment-list::before{ content:none !important; display:none !important; }


/* --------- REPLY INDENT (SAME FOR ALL LEVELS) --------- */
/* stop margin stacking on reply <li> themselves */
#comments .comment-list li.comment:not(.depth-1){ margin-left: 0 !important; }
/* apply a single indent via the first .children only */
#comments .comment-list ol.children{ margin-left: var(--reply-indent) !important; }
#comments .comment-list ol.children ol.children{ margin-left: 0 !important; }

/* align the Reply link with its own comment */
#comments .comment .reply{ margin-left: 0 !important; margin-top: 6px; }

/* end-of-list tightening (general case) */
#comments .comment-list > li.comment:last-of-type,
#comments .comment-list .children > li.comment:last-of-type{
  padding-bottom: 8px;
  margin-bottom: 8px;
}

/* “replied to {Name}:” label (from callback) */
.reply-target{
  margin: 4px 0 8px;
  color:#93171e;
  font-style: italic;
}
.reply-target strong{ font-weight:700; }

/* Indent replies visually without moving the (Edit) link */
#comments li.comment:not(.depth-1) .comment-body{
 padding-left: 20px;   /* increase/decrease for more/less indent */
}

/* header row (author/date) with room for (Edit) */
#comments .comment .comment-meta{
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
  padding-right: calc(var(--edit-offset) + 8px); /* top-level default */
}
/* replies need less padding because (Edit) is closer */
#comments li.comment:not(.depth-1) .comment-meta{
  padding-right: 24px; /* 16px + breathing room */
}

/* author bold + keep author/date links red */
#comments .comment .comment-author .fn,
#comments .comment .comment-author .fn a,
#comments .comment .comment-author .fn a:link,
#comments .comment .comment-author .fn a:visited{
  color:#93171e !important;
  text-decoration:none;
  font-weight:700;
}
#comments .comment .comment-metadata time,
#comments .comment .comment-metadata a,
#comments .comment .comment-metadata a:link,
#comments .comment .comment-metadata a:visited{
  color:#93171e !important;
  text-decoration:none;
}

/* Make #comments land nicely at the top when you jump to it */
#comments{ scroll-margin-top: 12px; }

/* When the nav is hidden we can tuck it a touch tighter */
.nav-hidden #comments{ scroll-margin-top: 0; }


/* (Edit) link position — relative to .comment-body for stability */
#comments .comment .comment-body .edit-link,
#comments .comment .comment-body a.comment-edit-link{
  position:absolute; top:0; right:var(--edit-offset);
  white-space:nowrap; font-size:0.9rem;
  color:#93171e; text-decoration:none;
}
/* replies pull (Edit) closer to text (fixed spot) */
#comments li.comment:not(.depth-1) .comment-body .edit-link,
#comments li.comment:not(.depth-1) .comment-body a.comment-edit-link{
  right:16px;
}
#comments .comment .edit-link a{ color:inherit; text-decoration:none; }
#comments .comment .edit-link a:hover,
#comments .comment a.comment-edit-link:hover{ color:#da1115; text-decoration:underline; }

/* links in the comments area */
#comments a{ color:#93171e; text-decoration:none; }
#comments a:hover{ color:#da1115; text-decoration:underline; }

/* cancel reply */
#cancel-comment-reply-link{ display:block; margin-top:4px; font-size:0.9rem; }

/* =========================
   COMMENTS — FORM
   ========================= */
#respond{ width:100%; max-width:740px; margin:0 auto 24px; }
#respond #reply-title,
#respond .comment-notes,
#respond .logged-in-as{ text-align:center; }
#respond form.comment-form{ align-items:stretch; }
#respond .comment-form input[type="text"],
#respond .comment-form input[type="email"],
/* Keep the comment form inside the content column */
#respond,
.comments-area{
  max-width: 100%;
}

/* Make every field fit the parent and include padding/border in the width */
#respond .comment-form textarea,
#respond .comment-form input[type="text"],
#respond .comment-form input[type="email"],
#respond .comment-form input[type="url"],
#respond .comment-form input[type="password"],
#respond .comment-form input[type="search"]{
  display: block;
  width: 100% !important;     /* never exceed the column */
  max-width: 100% !important; /* belt + suspenders */
  box-sizing: border-box;     /* padding/border stay inside */
}

/* Optional: nice default height and a little breathing room */
#respond .comment-form textarea{
  min-height: 280px;
}

/* If your layout hides the sidebar (.nav-hidden), nothing changes, but this keeps it tidy */
.nav-hidden #respond,
.nav-hidden .comments-area{
  max-width: 100%;
}

/* =========================================================
   VELVETLORI — MINIBLOG (archive + tag only)
   ========================================================= */

/* ---------- Title (works on Posts + Media with/without .minihead) ---------- */
.minihead .mini-title,
.post-type-archive-miniblog #main h1,
.tax-mini_tag              #main h1,
#main h1.mini-title,
#main h1#miniblog-title,
#main h1:has(+ p a){
  font-family: 'LCALLIG', cursive;
  font-size: 39px;
  line-height: 1;
  color: #93171e;
  text-align: center;
  margin: 0 0 -5px;
  text-shadow: 0 0 1px #fff;
}
.mini-tabs a:last-child{
  position: relative;
  margin-left: 5px; 
}
/* Optional header card */
.minihead{
  background:#fff;
  border:1px solid #87171d;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,.12);
  text-align:center;
  padding:16px 14px 12px;
  margin:0 0 14px;
  position:relative;
}

/* ---------- Tabs row (and fallback <h1> + <p>) ---------- */
.mini-tabs,
.post-type-archive-miniblog #main h1 + p,
.tax-mini_tag              #main h1 + p{
  display:inline-flex;
  align-items:center;
  gap:16px;
  margin:-6px 0 12px;
  padding:0;
  background:transparent;
  border:0;
}

.mini-tabs a,
.post-type-archive-miniblog #main h1 + p a,
.tax-mini_tag              #main h1 + p a{
  position:relative;
  font-family:'VeniceClassic', serif;
  font-size:26px;
  line-height:1;
  color:#93171e;
  text-decoration:none;
  padding:0 2px;
}
.mini-tabs a:hover,
.post-type-archive-miniblog #main h1 + p a:hover{ color:#da1115; }

.mini-tabs a.is-active,
.mini-tabs a[aria-current="page"],
.post-type-archive-miniblog #main h1 + p a.is-active,
.post-type-archive-miniblog #main h1 + p a[aria-current="page"],
.tax-mini_tag              #main h1 + p a.is-active,
.tax-mini_tag              #main h1 + p a[aria-current="page"]{
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:2px;
}

/* ✦ separator (never underlined) */
.mini-tabs a + a::before,
.post-type-archive-miniblog #main h1 + p a + a::before,
.tax-mini_tag              #main h1 + p a + a::before{
  content:"✦";
  position:absolute;
  left:-16px;
  top:58%;
  transform:translateY(-50%);
  font-size:13px;
  line-height:1;
  color:#93171e;
  pointer-events:none;
}

/* Neutralize any old border-bottom underline rules */
.post-type-archive-miniblog #main h1 + p a,
.tax-mini_tag              #main h1 + p a{
  border-bottom:none !important;
  padding-bottom:0 !important;
}

/* ---------- Outer outline around Miniblog area (wider posts via smaller gutters) ---------- */
.post-type-archive-miniblog #main,
.tax-mini_tag              #main{
  background:#fff;
  border:2px solid #93171e;
  border-radius:6px;
  box-shadow:0 2px 6px rgba(0,0,0,.10);
  /* narrower L/R padding makes cards look wider; bottom kept snug */
  padding:12px 8px 8px;
  margin-top:0px; /* align with sidebar header */
}
.post-type-archive-miniblog #main > h1,
.tax-mini_tag              #main > h1{ margin-top:8px; }

/* ---------- Card, header, and content spacing ---------- */
.post-type-archive-miniblog #main article.mini-item.post,
.tax-mini_tag              #main article.mini-item.post{
  background:#fff;
  border:2px solid #93171e;
  border-radius:0;
  /* restored comfy inner padding, slightly tighter on top */
  padding:1px 16px 14px;
  margin:16px 0 12px;  /* space between cards */
  text-align:left;
}

/* REQUIRED: tighten gap under byline (author/date row) */
.post-type-archive-miniblog .mini-header,
.tax-mini_tag              .mini-header{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:-15px !important;
}

.post-type-archive-miniblog .mini-avatar,
.tax-mini_tag              .mini-avatar{ line-height:0; }
.post-type-archive-miniblog .mini-avatar img,
.tax-mini_tag              .mini-avatar img,
.post-type-archive-miniblog .mini-avatar-img,
.tax-mini_tag              .mini-avatar-img{
  width:32px; height:32px;
  border-radius:50% !important;
  border:1px solid #93171e;
  object-fit:cover; display:block; background:#fff;
}

.post-type-archive-miniblog .mini-byline,
.tax-mini_tag              .mini-byline{
  display:flex; align-items:baseline; gap:.5rem; line-height:1.1;
}
.post-type-archive-miniblog .mini-byline .mini-author,
.tax-mini_tag              .mini-byline .mini-author{
  font-family:'VeniceClassic', serif;
  font-size:19px;
  color:#93171e;
}
.post-type-archive-miniblog .mini-time,
.tax-mini_tag              .mini-time{ font-size:13px; color:#6b6b6b; }

/* Body text */
.post-type-archive-miniblog .mini-content,
.tax-mini_tag              .mini-content{
  color:#2b2b2b;
  font-size:17px;
  line-height:1.5;
}
.post-type-archive-miniblog .mini-content p,
.tax-mini_tag              .mini-content p{ margin:0 0 8px; }

/* First thing after header sits close */
.post-type-archive-miniblog .mini-header + .mini-media,
.tax-mini_tag              .mini-header + .mini-media,
.post-type-archive-miniblog .mini-header + .mini-content,
.tax-mini_tag              .mini-header + .mini-content{
  margin-top:2px;
}

/* Trim global image spacing inside Miniblog only */
.post-type-archive-miniblog .mini-content img,
.tax-mini_tag              .mini-content img{ margin:8px auto !important; }
.post-type-archive-miniblog #main .entry-thumb{
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 0 12px;
  border: 2px solid #93171e;
}

.post-type-archive-miniblog #main .entry-thumb img,
.post-type-archive-miniblog #main .entry-thumb video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  border-radius: 0;
  display: block;
}

/* The last element in a card shouldn’t push the bottom */
.post-type-archive-miniblog #main article.mini-item.post > :last-child,
.tax-mini_tag              #main article.mini-item.post > :last-child{
  margin-bottom:0 !important;
}

/* Keep the very bottom of the outline snug */
.post-type-archive-miniblog #main article.mini-item.post:last-of-type,
.tax-mini_tag              #main article.mini-item.post:last-of-type{
  margin-bottom:4px;
}
.post-type-archive-miniblog #main > *:last-child,
.tax-mini_tag              #main > *:last-child{
  margin-bottom:0 !important;
}

/* ---------- Media grid (square tiles that fill, no hover zoom) ---------- */
.post-type-archive-miniblog .mini-media,
.tax-mini_tag              .mini-media{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:10px;
  margin-top:8px;
  margin-bottom:0; /* avoid extra space under last tile */
}
.post-type-archive-miniblog .mini-media .mini-img,
.tax-mini_tag              .mini-media .mini-img{
  position:relative;
  display:block;
  overflow:hidden;
  aspect-ratio:1/1;
  border:2px solid #ac2d34;
  background:#fff;
  line-height:0; font-size:0;
  text-decoration:none;
}
/* Fill the square exactly; no sub-pixel gap at the bottom — IMG + VIDEO */
.post-type-archive-miniblog #main .mini-media .mini-img img,
.post-type-archive-miniblog #main .mini-media .mini-img video,
.tax-mini_tag              #main .mini-media .mini-img img,
.tax-mini_tag              #main .mini-media .mini-img video{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  margin: 0 !important;
  border-radius: 0 !important;
  vertical-align: top !important;
}

.post-type-archive-miniblog .mini-media > .mini-img:only-child,
.tax-mini_tag              .mini-media > .mini-img:only-child{
  grid-column:1 / -1;
}

/* ---------- Pagination ---------- */
.post-type-archive-miniblog .mini-pagination,
.tax-mini_tag              .mini-pagination{
  text-align:center;
  margin:8px 0 0; /* snug to bottom edge of outline */
}
.post-type-archive-miniblog .mini-pagination a,
.post-type-archive-miniblog .mini-pagination span,
.tax-mini_tag              .mini-pagination a,
.tax-mini_tag              .mini-pagination span{
  font-family:'VeniceClassic', serif;
  color:#93171e; text-decoration:none;
  border:1px solid transparent; border-radius:0;
  padding:2px 4px; margin:0 2px; font-size:19px;
}
.post-type-archive-miniblog .mini-pagination .current,
.tax-mini_tag              .mini-pagination .current{ border-color:#93171e; }
.post-type-archive-miniblog .mini-pagination a:hover,
.tax-mini_tag              .mini-pagination a:hover{ border-color:#93171e; color:#da1115; }



/* MINIBLOG PAGER ONLY (numbers tighter, no boxes) */
.post-type-archive-miniblog #main nav.mini-pagination .mini-page-list,
.tax-mini_tag              #main nav.mini-pagination .mini-page-list{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;

  /* inline + font-size:0 removes whitespace gaps */
  display:block !important;
  text-align:center;
  font-size:0;
}

.post-type-archive-miniblog #main nav.mini-pagination .mini-page-list > li,
.tax-mini_tag              #main nav.mini-pagination .mini-page-list > li{
  display:inline-block;
  margin:0;
  padding:0;
  font-size:20px;                /* restore size for children */
  line-height:1;
}

/* the ONLY spacing between numbers — tweak to taste */
.post-type-archive-miniblog #main nav.mini-pagination .mini-page-list > li + li,
.tax-mini_tag              #main nav.mini-pagination .mini-page-list > li + li{
  margin-left:6px;               /* try 4px for tighter */
}

.post-type-archive-miniblog #main nav.mini-pagination .page-numbers,
.tax-mini_tag              #main nav.mini-pagination .page-numbers{
  color:#93171e;
  text-decoration:none;

  /* nuke boxy styles from older rules */
  padding:0 !important;
  margin:0 !important;
  border:0 !important;
  background:none !important;
  border-radius:0 !important;
}

.post-type-archive-miniblog #main nav.mini-pagination .page-numbers.current,
.tax-mini_tag              #main nav.mini-pagination .page-numbers.current{
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}

.post-type-archive-miniblog #main nav.mini-pagination a.page-numbers:hover,
.tax-mini_tag              #main nav.mini-pagination a.page-numbers:hover{
  text-decoration:underline;
}

.post-type-archive-miniblog #main .mini-tabs,
.post-type-archive-miniblog #main h1 + p,
.tax-mini_tag              #main .mini-tabs,
.tax-mini_tag              #main h1 + p{
  margin-bottom: 4px !important;   /* was ~12px */
}
/* ===== Miniblog thumbnail gap fix (isolate from index.php rules) ===== */
.post-type-archive-miniblog #main .mini-media .mini-img,
.tax-mini_tag              #main .mini-media .mini-img{
  position: relative !important;
  display: block !important;
  line-height: 0 !important;   /* kills inline baseline gap */
  font-size: 0 !important;
  overflow: hidden !important;
}

/* If you still see extra space under the grid, make sure the grid has no bottom margin */
.post-type-archive-miniblog #main .mini-media,
.tax-mini_tag              #main .mini-media{
  margin-bottom: 0 !important;
}

/* =========================
   COMPOSE — “New Mini Post”
   (page-template-compose.php and template-miniblog-compose)
   ========================= */

/* layout */
.page-template-compose-php #content-area,
.page-template-template-miniblog-compose #content-area{
  display:flex; gap:20px; padding:20px;
}
.page-template-compose-php #main,
.page-template-template-miniblog-compose #main{
  flex:1; min-width:0; order:1;
}
.page-template-compose-php #sidebar,
.page-template-template-miniblog-compose #sidebar{
  flex:0 0 30%; max-width:180px; order:2; box-sizing:border-box;
}

/* compose card */
.page-template-compose-php #main .mini-compose-wrap.post,
.page-template-template-miniblog-compose #main .mini-compose-wrap.post{
  background:#fff;
  border:2px solid #93171e !important;
  border-radius:8px;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  padding:24px;
  margin:20px 0;
}

/* title */
.page-template-compose-php .mini-compose-wrap .post-title,
.page-template-template-miniblog-compose .mini-compose-wrap .post-title{
  font-family:'Edward',cursive;
  font-size:56px; line-height:1;
  color:#93171e; text-align:center;
  margin:0 0 18px;
}

/* small notice */
.page-template-compose-php .mini-notice,
.page-template-template-miniblog-compose .mini-notice{
  background:#fff7f8; color:#93171e;
  border:1px solid #93171e; border-radius:6px;
  padding:10px 12px; margin:0 0 14px;
}

/* form basics */
.page-template-compose-php .mini-compose *,
.page-template-template-miniblog-compose .mini-compose *{ box-sizing:border-box; }
.page-template-compose-php .mini-compose .entry-content > * + *,
.page-template-template-miniblog-compose .mini-compose .entry-content > * + *{ margin-top:12px; }

.page-template-compose-php .mini-compose label,
.page-template-template-miniblog-compose .mini-compose label{
  font-family:'VeniceClassic',serif; color:#93171e;
}

/* textarea + text inputs (VERTICAL RESIZE ONLY) */
.page-template-compose-php .mini-compose textarea,
.page-template-template-miniblog-compose .mini-compose textarea,
.page-template-compose-php .mini-compose input[type="text"],
.page-template-template-miniblog-compose .mini-compose input[type="text"]{
  width:100%; max-width:620px;
  background:#fff; color:#333;
  border:1px solid #93171e; border-radius:6px;
  padding:10px 12px; font-size:16px; line-height:1.45;
  outline:none;
}
.page-template-compose-php .mini-compose textarea,
.page-template-template-miniblog-compose .mini-compose textarea{
  min-height:140px; resize:vertical; overflow:auto; /* ← vertical only */
}
.page-template-compose-php .mini-compose textarea:focus,
.page-template-template-miniblog-compose .mini-compose textarea:focus,
.page-template-compose-php .mini-compose input[type="text"]:focus,
.page-template-template-miniblog-compose .mini-compose input[type="text"]:focus{
  border-color:#da1115; box-shadow:0 0 0 2px rgba(218,17,21,.15);
}

/* tags input */
.page-template-compose-php #mini-tags,
.page-template-template-miniblog-compose #mini-tags{
  max-width:620px !important;
  background:#fff !important; color:#333 !important;
  border:1px solid #93171e !important; border-radius:6px !important;
  padding:10px 12px !important;
}
.page-template-compose-php #mini-tags::placeholder,
.page-template-template-miniblog-compose #mini-tags::placeholder{ color:#777; }

/* file input → use the label as the visible button */
.page-template-compose-php .mini-compose input[type="file"],
.page-template-template-miniblog-compose .mini-compose input[type="file"]{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); border:0;
}
.page-template-compose-php .mini-upload-label span,
.page-template-template-miniblog-compose .mini-upload-label span{
  display:inline-block; cursor:pointer; user-select:none;
  background:#93171e; color:#fff; border:1px solid #87171d;
  border-radius:6px; padding:8px 12px; font-size:14px;
}
.page-template-compose-php .mini-upload-label span:hover,
.page-template-template-miniblog-compose .mini-upload-label span:hover{ background:#da1115; }
.page-template-compose-php .mini-upload-help,
.page-template-template-miniblog-compose .mini-upload-help{ margin:.4rem 0 1rem; color:#333; }

/* actions / submit */
.page-template-compose-php .mini-compose-actions .mini-btn,
.page-template-template-miniblog-compose .mini-compose-actions .mini-btn,
.page-template-compose-php .mini-compose-actions [type="submit"],
.page-template-template-miniblog-compose .mini-compose-actions [type="submit"]{
  display:inline-block; background:#93171e; color:#fff;
  border:0; padding:8px 14px; border-radius:6px; cursor:pointer; font-size:14px;
}
.page-template-compose-php .mini-compose-actions .mini-btn:hover,
.page-template-template-miniblog-compose .mini-compose-actions .mini-btn:hover,
.page-template-compose-php .mini-compose-actions [type="submit"]:hover,
.page-template-template-miniblog-compose .mini-compose-actions [type="submit"]:hover{
  background:#da1115;
}

/* previews grid */
.page-template-compose-php #mini-previews,
.page-template-template-miniblog-compose #mini-previews{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(140px, 1fr));
  column-gap:12px; row-gap:8px;
  max-width:660px; margin-top:4px; margin-bottom:20px;
}
.page-template-compose-php #mini-previews .mini-thumb,
.page-template-template-miniblog-compose #mini-previews .mini-thumb{ position:relative; }
.page-template-compose-php #mini-previews .mini-thumb img,
.page-template-template-miniblog-compose #mini-previews .mini-thumb img{
  display:block; width:100%; height:140px; object-fit:cover;
  background:#fff; border:1px solid #93171e; border-radius:6px; margin:0;
}
.page-template-compose-php #mini-previews .mini-remove-x,
.page-template-template-miniblog-compose #mini-previews .mini-remove-x{
  position:absolute; top:8px; right:6px;
  width:22px; height:22px; line-height:20px; text-align:center;
  border-radius:999px; font-weight:700; cursor:pointer;
  background:rgba(147,23,30,.95); color:#fff; border:1px solid #6f0f14;
}
.page-template-compose-php #mini-previews .mini-remove-x:hover,
.page-template-template-miniblog-compose #mini-previews .mini-remove-x:hover{ background:#da1115; }
.page-template-compose-php #mini-previews .mini-ctl,
.page-template-template-miniblog-compose #mini-previews .mini-ctl{ margin-top:4px; padding-bottom:8px; }
.page-template-compose-php #mini-previews .sens-ctl,
.page-template-template-miniblog-compose #mini-previews .sens-ctl{
  display:inline-flex; align-items:center; gap:6px;
  line-height:1; font-size:13px; color:#93171e; margin-top:0;
}
.page-template-compose-php #mini-previews .sens-ctl .sens-type,
.page-template-template-miniblog-compose #mini-previews .sens-ctl .sens-type{
  background:#fff; color:#93171e; border:1px solid #87171d;
  border-radius:4px; padding:2px 6px;
}

/* Compose page: push the "Post" button to the right */
.page-template-compose-php .mini-compose-actions,
.page-template-template-miniblog-compose .mini-compose-actions{
  display: flex;
  justify-content: flex-end;   /* → right side */
  gap: 8px;                    /* if you add more buttons later */
}

/* ========= VELVET — Askbox (form + feed + success) ========= */
/* Tweak these to change outline thickness */
:root{
  --ask-outer: 2px;  /* outer border on Ask form card + Recent Asks card */
  --ask-inner: 1px;  /* inner borders on individual Q&A items           */

  /* palette */
  --velvet-red:#93171e;
  --velvet-red-dark:#6f0f14;
  --velvet-ink:#5b0a0f;
  --velvet-rose:#fff6f7;
  --velvet-card:#ffffff;
}

/* ---------- Card wrappers (form/success + recent asks) ---------- */
#main .post.askbox-card,
#main .post.ask-feed-card-wrap{
  background:var(--velvet-card);
  border:var(--ask-outer) solid var(--velvet-red) !important;
  border-radius:8px;
  box-shadow:
    0 2px 6px rgba(0,0,0,.08),
    inset 0 0 0 1px var(--velvet-red);
  padding:18px 18px 16px;
  margin:20px 0;
}

/* Titles */
.post.askbox-card .entry-header,
.post.ask-feed-card-wrap .entry-header{
  margin:0 0 12px; text-align:center; border:0; padding:0;
}
.post.askbox-card .entry-title,
.post.ask-feed-card-wrap .entry-title{
  font-family:'Edward', cursive;
  font-size:56px; line-height:1;
  color:var(--velvet-red); text-shadow:0 0 1px #fff; margin:0;
}

/* ---------- Ask form ---------- */
.askbox-form{ margin-top:4px; }
.askbox-form .askbox-grid{
  display:grid; grid-template-columns:1fr 1fr; gap:14px 18px; margin-bottom:10px;
}
@media (max-width:760px){ .askbox-form .askbox-grid{ grid-template-columns:1fr; } }

.askbox-form label{
  display:block; margin:0 0 6px; color:var(--velvet-red);
  font-size:20px; font-family:'VeniceClassic', serif; line-height:1.1;
}
.askbox-form input[type="text"],
.askbox-form textarea{
  width:100%; background:#fff; color:#333;
  border:1px solid var(--velvet-red); border-radius:6px;
  padding:10px 12px; font-size:16px; line-height:1.45; outline:none; box-sizing:border-box;
}
.askbox-form textarea{ min-height:260px; resize:vertical; }
.askbox-form input:focus,
.askbox-form textarea:focus{ border-color:#da1115; box-shadow:0 0 0 2px rgba(218,17,21,.15); }

.askbox-actions{ text-align:right; margin-top:12px; }
.askbox-submit{
  display:inline-block; background:var(--velvet-red); color:#fff; border:0;
  padding:10px 18px; border-radius:8px; font-size:16px; cursor:pointer; text-decoration:none;
}
.askbox-submit:hover{ background:#da1115; }
.askbox-submit:active{ transform:translateY(1px); }
@media (max-width:760px){ .askbox-actions{ text-align:center; } .askbox-submit{ width:100%; } }

.askbox-message{ text-align:center; margin-top:10px; }
.askbox-error{ color:#b8252e; }

/* ---------- Success (published) ---------- */
.ask-success{ text-align:center; color:#2b2b2b; font-size:18px; line-height:1.55; }
.ask-success p{ margin:0 0 12px; }

/* Center the “Back” button printed inside .askbox-flash */
.askbox-flash .askbox-actions{ text-align:center; margin-top:8px; }
.askbox-flash .askbox-actions .askbox-submit{
  padding:6px 12px;       /* thinner vertically */
  border-radius:6px;
  font-size:14px; line-height:1; min-width:84px;
}

/* ---------- Recent Asks list ---------- */
.ask-list{ display:grid; gap:12px; margin-top:12px; }

/* Each Q&A item */
.ask-feed-card{
  background:#fff;
  border:var(--ask-inner) solid var(--velvet-red);
  border-radius:6px;
  overflow:hidden;
  padding:0;
}

/* Top red banner */
.ask-q-bubble{ background:var(--velvet-red); color:#fff; margin:0; border:0; padding:10px 14px; }
.ask-asker{ color:#fff; font-weight:700; margin:0 0 4px; line-height:1.2; }
.ask-question p{ margin:0; color:#fff; line-height:1.25; }
.ask-question p + p{ margin-top:.45rem; }

/* Answer box — align left edge with .ask-meta (date) */
.ask-a-bubble{
  background:#fff;
  border:0;                 /* remove inner border that was pushing text in */
  border-radius:6px;
  margin:6px 0 10px;        /* no side margin; we’ll pad inside instead */
  padding:8px 0;            /* vertical padding only */
}

.ask-a-bubble .ask-answer{
  color:#2b2b2b;
  line-height:1.35;
  padding:0 14px;           /* ⬅ match .ask-meta { padding-left:14px } */
  text-indent:0;
}

.ask-a-bubble .ask-answer p{
  margin:0 0 6px;
}

.ask-a-bubble .ask-answer p:last-child{
  margin-bottom:0;
}

/* Meta row */
.ask-meta{
  padding:0 14px 10px; margin-top:2px;
  font-size:.95rem; color:#7d0f15; opacity:.9; line-height:1.2;
}

/* Pagination */
.pagination.ask-pagination{ display:flex; justify-content:center; gap:6px; margin-top:10px; }
.pagination.ask-pagination .page-numbers{
  display:inline-block; padding:4px 10px; background:#fff;
  border:1px solid var(--velvet-red); color:var(--velvet-ink); text-decoration:none; line-height:1;
}
.pagination.ask-pagination .current{ background:var(--velvet-rose); border-color:var(--velvet-red); font-weight:700; }
.pagination.ask-pagination a:hover{ background:#fff7f8; }

/* Small screens */
@media (max-width:600px){
  #main .post.askbox-card,
  #main .post.ask-feed-card-wrap{ padding:16px; }
  .ask-q-bubble{ padding:10px 12px; }
  .ask-a-bubble{ margin:6px 12px 10px; }
  .ask-meta{ padding:0 12px 10px; }
}

/* Ask success — force Back button text to show */
.askbox-flash .askbox-actions .askbox-submit,
.ask-success .ask-back-btn,
.post.askbox-card .entry-content a.askbox-submit {
  display:inline-block;
  background:#93171e;
  color:#fff !important;                 /* beat .entry-content a */
  text-decoration:none !important;
  padding:6px 12px;
  border-radius:6px;
  line-height:1;
  font-size:14px !important;             /* reset any font-size:0 */
  text-indent:0 !important;              /* reset any text-indent hacks */
}

/* Hover */
.askbox-flash .askbox-actions .askbox-submit:hover,
.ask-success .ask-back-btn:hover,
.post.askbox-card .entry-content a.askbox-submit:hover {
  background:#da1115;
}

/* Fallback if the link somehow renders empty */
.askbox-flash .askbox-actions .askbox-submit:empty::after,
.ask-success .ask-back-btn:empty::after {
  content:"Back";
  color:#fff;
}


/* ======================================================
 Velvet Footer (row sits under the dotted line, not flush to bottom)
 ====================================================== */
#site-footer{
  border-top: 1px dotted #93171e;  /* dotted rule above */
  background: #fff;
  padding: 10px 0 20px;            /* ↑ top space | ↓ bottom lift */
}

#site-footer .footer-inner{
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #93171e;
  line-height: 1;
  font-size: 16px;

  /* ensure no previous offsets affect it */
  position: static;
  transform: none;
}

/* site name link */
#site-footer .footer-home:link,
#site-footer .footer-home:visited{
  color: #93171e;
  text-decoration: underline;
  text-underline-offset: 2px;
}
#site-footer .footer-home:hover,
#site-footer .footer-home:focus-visible{ color:#da1115; }

/* ✦ separator */
#site-footer .footer-sep{
  margin: 0 6px;
  font-size: 16px;
  color: #93171e;
}

/* RSS badge */
#site-footer .rss-link{ display:inline-flex; align-items:center; }
#site-footer .rss-link img{
  height: 15px; width: auto; display:block;
  transition: filter .15s ease;
}
#site-footer .rss-link:hover img,
#site-footer .rss-link:focus-visible img{
  filter: brightness(1.2) saturate(125%) contrast(105%);
}

/* small screens */
@media (max-width:480px){
  #site-footer .footer-inner{ gap:8px; font-size:15px; }
}

/* MISC */
/* Hide inline captions under images, but keep them for the lightbox */
.entry-content figure.wp-caption > figcaption,
.entry-content .wp-caption > .wp-caption-text{
  /* option A: fully hide */
  display: none !important;
  margin: 0 !important;
}

/* (keeps layout tidy when the caption is hidden) */
.entry-content figure.wp-caption,
.entry-content .wp-caption{
  margin: 20px auto;            /* your usual gap */
}
.entry-content figure.wp-caption img,
.entry-content .wp-caption img{
  display: block;
  margin: 0;
}

/* === Square media tiles — fill perfectly, no bars, no rounding === */

/* The square box itself */
.post-type-archive-miniblog .mini-media .mini-img,
.tax-mini_tag              .mini-media .mini-img,
.about-entry .about-gallery .about-thumb{
  position: relative !important;
  aspect-ratio: 1 / 1 !important;   /* real square; no ::before shim */
  overflow: hidden !important;
  background: transparent !important; /* was #000 -> shows through as a bar */
  border-radius: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Media must *overfill* slightly to avoid any 1px letterboxing */
.post-type-archive-miniblog .mini-media .mini-img > img,
.post-type-archive-miniblog .mini-media .mini-img > video,
.tax-mini_tag              .mini-media .mini-img > img,
.tax-mini_tag              .mini-media .mini-img > video,
.about-entry .about-gallery .about-thumb > img{
  display: block !important;
  width: 100% !important;
  height: calc(100% + 1px) !important;  /* overfill by 1px vertically */
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  /* nudge up to hide any fractional bottom seam on some GPUs */
  transform: translateY(-0.5px) translateZ(0);
  -webkit-backface-visibility: hidden;
}

/* If you previously used the ::before square shim, kill it */
.post-type-archive-miniblog .mini-media .mini-img::before,
.tax-mini_tag              .mini-media .mini-img::before,
.about-entry .about-gallery .about-thumb::before{
  content: none !important;
  display: none !important;
}
/* ==== Gallery: force true squares, fill completely, beat #main img rules ==== */
#main .about-entry .about-gallery{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:12px;
}

#main .about-entry .about-gallery > *{
  position:relative;
  display:block;
  width:100%;
  aspect-ratio:1 / 1;          /* square tile */
  overflow:hidden;
  border-radius:0 !important;
  line-height:0;
  font-size:0;
  float:none;                   /* kill alignleft/right if present */
}

#main .about-entry .about-gallery img,
#main .about-entry .about-gallery video{
  position:absolute;
  inset:0;
  display:block;
  width:100% !important;        /* override global max-width/height rules */
  height:100% !important;
  object-fit:cover !important;  /* crop to fill the square */
  object-position:center !important;
  margin:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}
/* Prevent magnifying glass or pointer hover on header image */
.about-header.no-lightbox,
.about-header[data-no-lightbox] {
  cursor: default !important;
  pointer-events: none !important;
}

/* =============== Q&A toggle ([qa]) — question + short answer =============== */

/* each question block */
.vl-qa {
  margin: 0.2em 0 0.45em;   /* smaller TOP margin, same-ish bottom */
  padding: 0;
  border: 0;
  background: none;
}

/* question line — works for both <button class="vl-qa__toggle"> and <summary> */
.vl-qa__toggle,
.vl-qa summary {
  all: unset;
  display: inline-flex;
  align-items: baseline;
  cursor: pointer;
  font: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

/* hide native marker if you ever use <summary> */
.vl-qa summary::-webkit-details-marker {
  display: none;
}

/* little red triangle */
.vl-qa__chevron {
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #93171e;
  margin-right: .4em;
}

/* italicize ONLY the question text + make it red */
.vl-qa__question {
  font-style: italic !important;
  font-weight: normal;
  color: #93171e !important;
}

/* also make links inside the question red */
.vl-qa__question a {
  color: #93171e !important;
  text-decoration: underline;
}
.vl-qa__question a:hover {
  color: #da1115 !important;
}

/* force answers to stay non-italic and normal color */
.vl-qa__short,
.vl-qa__short *,
.vl-qa__answer,
.vl-qa__answer * {
  font-style: normal !important;
  color: inherit !important;
}

/* short answer — starts under the question text */
.vl-qa__short {
  margin: 0.05em 0 0.15em 0.8em;
  line-height: 1.5;
}

/* detailed answer — same horizontal alignment as short answer */
.vl-qa__answer {
  margin: 0.1em 0 0.35em 0.8em;
  line-height: 1.5;
}

/* paragraph spacing */
.vl-qa__short p,
.vl-qa__answer p {
  margin: 0 0 0.3em;
}
.vl-qa__answer p:last-child {
  margin-bottom: 0;
}

/* Links in posts (including Q&A, song list), but NOT the Read More button */
.post .entry-content a:not(.more-link),
.post .entry-content a:not(.more-link):link,
.post .entry-content a:not(.more-link):visited {
  color: #93171e !important;
  text-decoration: underline;
}

.post .entry-content a:not(.more-link):hover {
  color: #da1115 !important;
}
/* Read More button styling */
.post .more-link,
.post .more-link:link,
.post .more-link:visited {
  display: block;
  width: fit-content;
  margin: 10px auto 0;
  padding: 6px 12px;
  background: #93171e;
  color: #fff !important;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: none !important;
  text-align: center;
}

.post .more-link:hover {
  background: #da1115;
  color: #fff !important;
  text-decoration: none !important;
}

/* ===== Tighten space between section header and first Q&A ===== */

/* Work for both h2 and h3 */
.post .entry-content h2,
.post .entry-content h3 {
  margin-bottom: 0.25em;        /* smaller gap under the header */
}

/* If a Q&A block comes directly after the header */
.post .entry-content h2 + .vl-qa,
.post .entry-content h3 + .vl-qa {
  margin-top: 0.05em;
}
/* Miniblog — make <video> tiles big, square, and full-width */
.post-type-archive-miniblog #main .mini-media:has(.mini-video-el),
.tax-mini_tag              #main .mini-media:has(.mini-video-el){
  /* when a video is present, treat the grid as a single wide column */
  grid-template-columns: 1fr;
  max-width: 360px;
  margin: 10px auto 0;     /* center inside the card */
}

.post-type-archive-miniblog #main .mini-media .mini-video,
.tax-mini_tag              #main .mini-media .mini-video{
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;     /* square frame */
  border: 2px solid #ac2d34;
  background: #fff;
  overflow: hidden;
}

.post-type-archive-miniblog #main .mini-media .mini-video-el,
.tax-mini_tag              #main .mini-media .mini-video-el{
  display: block;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;    /* override .entry-content video margin */
}

/* Headings inside post content – red + tight spacing */
#main .post .entry-content h2,
#main .post .entry-content h3 {
  color: #93171e !important;   /* force same red as links */
  margin-bottom: 0.25em;       /* smaller gap under the heading */
}

/* If there are child tags inside the heading (em, span, etc.), force them red too */
#main .post .entry-content h2 *,
#main .post .entry-content h3 * {
  color: #93171e !important;
}

/* First paragraph right after a heading */
#main .post .entry-content h2 + p,
#main .post .entry-content h3 + p {
  margin-top: 0;
}
