:root {
  --bg: #1a1a2e;
  --bg-alt: #16213e;
  --panel: #0f3460;
  --accent: #e94560;
  --text: #eaeaea;
  --muted: #a5afc4;
  --border: rgba(233, 69, 96, 0.35);
  --radius: 14px;
  --font-ui: "Open Sans", "Segoe UI", sans-serif;
  --font-display: "Luckiest Guy", "Trebuchet MS", cursive;
  --subu-sticky-header-offset: 92px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

/* Mobile safety reset:
   prevents inherited/custom CSS from shrinking the full page rendering */
@media (max-width: 860px) {
  html {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }

  body {
    min-width: 0;
    overflow-x: hidden;
  }
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.site-wrap {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(8px);
}

.site-header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.site-logo img {
  display: block;
  width: auto;
  height: 52px;
  max-width: 320px;
}

.site-logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-nav {
  margin-left: auto;
}

.site-nav .menu,
.menu-fallback {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a,
.menu-fallback a {
  color: var(--text);
  font-weight: 600;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.menu-fallback a.is-active,
.menu-fallback a:hover {
  color: var(--accent);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
}

.mobile-hire-top {
  display: none !important;
}

.site-main {
  min-height: 70vh;
}

.hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(180deg, rgba(15, 52, 96, 0.28), rgba(26, 26, 46, 1));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero h1,
h1,
h2,
h3 {
  line-height: 1.2;
}

.hero h1,
h1,
.entry-header h1 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0 0 0.75rem;
}

.hero p {
  color: var(--muted);
  max-width: 55ch;
}

.hero-panel {
  background: linear-gradient(145deg, rgba(15, 52, 96, 0.75), rgba(22, 33, 62, 0.92));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  overflow: hidden;
}

.hero-panel h2 {
  margin-top: 0;
}

.hero-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 3rem 0;
}

.frontpage-custom-content {
  padding-top: 1.25rem;
}

.section-alt {
  background: rgba(15, 52, 96, 0.16);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-head h1,
.section-head h2 {
  margin: 0;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form input,
.search-form button,
.subu-contact-form input,
.subu-contact-form textarea,
.subu-contact-form button {
  font: inherit;
}

.search-form input,
.subu-contact-form input,
.subu-contact-form textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
}

.search-form button,
.subu-contact-form button,
.btn {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.625rem 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: 0.2s ease;
}

.btn-primary,
.search-form button,
.subu-contact-form button {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover,
.search-form button:hover,
.subu-contact-form button:hover {
  filter: brightness(0.9);
  text-decoration: none;
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: rgba(15, 52, 96, 0.5);
  text-decoration: none;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid-posts {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.card-grid-comics {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.card {
  background: linear-gradient(170deg, rgba(15, 52, 96, 0.6), rgba(22, 33, 62, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.card-link {
  color: inherit;
  display: block;
  height: 100%;
}

.card-link:hover {
  text-decoration: none;
}

.card-media {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 0.9rem 1rem 1.1rem;
}

.card-body h3 {
  margin: 0.35rem 0;
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.single-entry .narrow,
.narrow {
  width: min(760px, calc(100% - 2rem));
}

.entry-header {
  margin-bottom: 1rem;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--muted);
  margin: 0;
}

.entry-content {
  color: #d8deee;
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8rem;
}

.entry-content h2[id] {
  scroll-margin-top: var(--subu-sticky-header-offset);
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-top: 0;
  margin-bottom: 1rem;
}

.subu-toc {
  background: #16213e;
  border-left: 4px solid #e94560;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  border-radius: 8px;
  font-family: inherit;
}

.subu-toc-title {
  color: #eaeaea;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.subu-toc-list {
  list-style: decimal;
  padding-left: 1.5rem;
  margin: 0;
}

.subu-toc-list li {
  margin-bottom: 0.5rem;
}

.subu-toc-list a {
  color: #eaeaea;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.subu-toc-list a:hover {
  color: #e94560;
  text-decoration: underline;
}

.subu-no-form-panel {
  background: linear-gradient(145deg, #16213e, #0f3460);
  border: 2px solid #e94560;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  color: #eaeaea;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, opacity 0.45s ease;
}

.subu-no-form-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(233, 69, 96, 0.2);
  border-color: #e94560;
}

.subu-no-form-panel h2 {
  margin: 0 0 0.75rem;
  color: #eaeaea;
  font-family: var(--font-display);
  line-height: 1.04;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.subu-no-form-panel p {
  margin: 0 0 0.55rem;
  color: #eaeaea;
}

.subu-no-form-panel p:last-child {
  margin-bottom: 0;
}

.subu-no-form-panel a {
  color: #e94560;
  font-weight: 700;
  text-decoration: none;
}

.subu-no-form-panel a:hover {
  color: #eaeaea;
  text-decoration: underline;
}

.subu-no-form-panel--center {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.subu-no-form-panel--compact {
  padding: 1.1rem 1.2rem;
}

.subu-no-form-panel--compact h2 {
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.subu-no-form-reveal {
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.subu-no-form-reveal.is-ready {
  opacity: 0;
  transform: translateY(24px);
}

.subu-no-form-reveal.is-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subu-author-box {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 3rem;
  padding: 2rem;
  background: #16213e;
  border-radius: 14px;
  border-left: 4px solid #ff3b30;
}

.subu-author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #ff3b30;
}

.subu-author-title {
  margin: 0 0 0.4rem;
  color: #f3f4f6;
}

.subu-author-subtitle {
  margin: 0 0 0.8rem;
  color: #e0e5f1;
}

.subu-author-content p {
  color: #dce3f0;
}

.subu-author-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.85rem;
}

.subu-author-list li {
  margin-bottom: 0.45rem;
  color: #f3f4f6;
}

.subu-author-cta {
  margin-bottom: 0;
}

.subu-author-cta a {
  color: #ff3b30;
  font-weight: 700;
  text-decoration: none;
}

.subu-author-cta a:hover {
  text-decoration: underline;
}

.legacy-page-content {
  background: linear-gradient(165deg, rgba(15, 52, 96, 0.45), rgba(22, 33, 62, 0.6));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.legacy-page-content .wp-block-group,
.legacy-page-content .wp-block-cover,
.legacy-page-content .wp-block-columns {
  margin-bottom: 1rem;
}

.featured-media {
  margin: 1.1rem 0 1.5rem;
}

.featured-media img {
  border-radius: var(--radius);
}

/* Single comic featured image zoom / lightbox */
body.single-comic .wp-post-image,
body.single-comic .post-image img,
body.single-comic .featured-image img,
body.single-comic .featured-media.comic-media img {
  cursor: zoom-in;
}

.subu-comic-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.subu-comic-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.subu-comic-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.95);
}

.subu-comic-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.subu-comic-lightbox-image {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.subu-comic-lightbox.is-open .subu-comic-lightbox-image {
  transform: scale(1);
}

.subu-comic-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(233, 69, 96, 0.7);
  background: rgba(15, 52, 96, 0.75);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.subu-comic-lightbox-close:hover,
.subu-comic-lightbox-close:focus-visible {
  background: rgba(233, 69, 96, 0.95);
  border-color: rgba(233, 69, 96, 0.95);
  outline: none;
}

body.subu-comic-lightbox-open {
  overflow: hidden;
}

.comic-media {
  position: relative;
}

.subu-comic-zoom-hint {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  margin: 0;
  padding: 0.34rem 0.55rem;
  border-radius: 999px;
  background: rgba(26, 26, 46, 0.78);
  border: 1px solid rgba(233, 69, 96, 0.45);
  color: #eaeaea;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

@media (max-width: 768px) {
  .subu-comic-zoom-hint {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-link {
  color: var(--muted);
}

.cta-box {
  margin-top: 2rem;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(15, 52, 96, 0.35);
}

.related-posts {
  margin-top: 2rem;
}

.term-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.term-pill {
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.92rem;
}

.term-pill.is-active,
.term-pill:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
}

.subu-contact-form {
  display: grid;
  gap: 0.5rem;
}

.notice {
  border-radius: 8px;
  padding: 0.75rem;
}

.notice.success {
  background: rgba(30, 135, 80, 0.2);
  border: 1px solid rgba(30, 135, 80, 0.4);
}

.notice.error {
  background: rgba(184, 58, 58, 0.2);
  border: 1px solid rgba(184, 58, 58, 0.45);
}

.pagination-wrap {
  margin-top: 1rem;
}

.pagination-wrap .page-numbers {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  display: inline-block;
  margin-right: 0.35rem;
}

.pagination-wrap .page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.post-nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.single-share-layout {
  width: min(980px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.single-share-content.narrow {
  width: 100%;
}

/* Single blog post reading mode (default: light) */
body.single-post {
  background: #eaeaea;
  color: #1a1a2e;
  overflow-x: hidden;
  transition: background 0.2s ease, color 0.2s ease;
}

body.single-post .single-entry {
  background: transparent;
}

body.single-post .back-link,
body.single-post .entry-meta,
body.single-post .entry-header p,
body.single-post .entry-content > :not(.subu-toc):not(.subu-author-box) {
  color: #1a1a2e;
}

body.single-post .entry-header h1,
body.single-post .entry-content > h1,
body.single-post .entry-content > h2,
body.single-post .entry-content > h3,
body.single-post .entry-content > h4,
body.single-post .entry-content > h5,
body.single-post .entry-content > h6,
body.single-post .entry-footer h2 {
  color: #1a1a2e;
  overflow-wrap: anywhere;
}

body.single-post .entry-content {
  color: #1a1a2e;
}

body.single-post .entry-content > ul li,
body.single-post .entry-content > ol li {
  color: #1a1a2e;
}

body.single-post .back-link,
body.single-post .entry-meta-author {
  color: #0f3460;
  text-decoration: none;
}

body.single-post .entry-meta-author:hover,
body.single-post .entry-meta-author:focus-visible,
body.single-post .back-link:hover,
body.single-post .back-link:focus-visible {
  text-decoration: underline;
}

body.single-post .entry-content > p a,
body.single-post .entry-content > ul a,
body.single-post .entry-content > ol a,
body.single-post .entry-content > blockquote a {
  color: #008080;
  text-decoration: none;
}

body.single-post .entry-content > p a:hover,
body.single-post .entry-content > p a:focus-visible,
body.single-post .entry-content > ul a:hover,
body.single-post .entry-content > ul a:focus-visible,
body.single-post .entry-content > ol a:hover,
body.single-post .entry-content > ol a:focus-visible,
body.single-post .entry-content > blockquote a:hover,
body.single-post .entry-content > blockquote a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

/* Single blog post: terminal-style code snippet blocks */
body.single-post .entry-content .wp-block-code {
  margin: 1.6rem 0;
}

body.single-post .entry-content .wp-block-code pre {
  margin: 0;
}

body.single-post .entry-content pre {
  position: relative;
  margin: 1.6rem 0;
  padding: 3.75rem 1.2rem 1.2rem;
  border-radius: 12px;
  border: 1px solid #cfd8e8;
  background: #f5f7fb;
  color: #1a1a2e;
  box-shadow: 0 10px 24px rgba(15, 52, 96, 0.12);
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: pre;
  line-height: 1.65;
  font-size: 0.98rem;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

body.single-post .entry-content pre::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  border-bottom: 1px solid #d7dfec;
  background-image:
    radial-gradient(circle at 18px 19px, #ff5f57 0 5px, transparent 5.5px),
    radial-gradient(circle at 38px 19px, #febc2e 0 5px, transparent 5.5px),
    radial-gradient(circle at 58px 19px, #28c840 0 5px, transparent 5.5px),
    linear-gradient(180deg, #ffffff 0%, #eff3f9 100%);
  pointer-events: none;
}

body.single-post .entry-content pre::after {
  content: "source code";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  color: #4b5f7d;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
}

body.single-post .entry-content pre[data-code-title]::after {
  content: attr(data-code-title);
}

body.single-post .entry-content pre code {
  display: block;
  background: transparent;
  color: inherit;
  padding: 0;
  border: 0;
  border-radius: 0;
  font: inherit;
  white-space: inherit;
}

/* Force readable code text in light mode (overrides generic entry-content color rules). */
body.single-post .entry-content > pre,
body.single-post .entry-content > pre code,
body.single-post .entry-content > pre code *,
body.single-post .entry-content .wp-block-code pre,
body.single-post .entry-content .wp-block-code pre code,
body.single-post .entry-content .wp-block-code pre code * {
  color: #1a1a2e !important;
  opacity: 1;
}

body.single-post .entry-content :not(pre) > code {
  background: rgba(15, 52, 96, 0.12);
  color: #0f3460;
  border: 1px solid rgba(15, 52, 96, 0.2);
  border-radius: 6px;
  padding: 0.08rem 0.4rem;
  font-size: 0.95em;
  font-family: "JetBrains Mono", "Fira Code", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

body.single-post .entry-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
}

body.single-post .entry-meta-sep {
  color: rgba(26, 26, 46, 0.6);
  font-weight: 700;
}

body.single-post .entry-meta-updated {
  color: var(--accent);
  font-weight: 700;
}

body.single-post .subu-inline-reading-toggle {
  margin-left: auto;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(15, 52, 96, 0.35);
  background: #ffffff;
  color: #0f3460;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.single-post .subu-inline-reading-toggle:hover,
body.single-post .subu-inline-reading-toggle:focus-visible {
  background: #f4f6fb;
  border-color: rgba(15, 52, 96, 0.55);
  outline: none;
}

body.single-post .subu-reading-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.single-post .subu-reading-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  shape-rendering: geometricPrecision;
}

body.single-post .subu-reading-icon-sun {
  display: none;
}

body.single-post .subu-reading-icon-moon {
  display: inline-flex;
}

/* Keep footer unchanged (dark) in both reading modes */
body.single-post .site-footer {
  background: var(--bg);
  color: var(--text);
}

body.single-post .site-footer a,
body.single-post .footer-links-list a,
body.single-post .footer-copy,
body.single-post .footer-copy p {
  color: var(--muted);
}

body.single-post .footer-links-title {
  color: var(--text);
}

body.single-post .footer-tagline {
  color: var(--accent);
}

body.single-post .entry-header-divider {
  margin: 0.85rem 0 1.1rem;
  border: 0;
  border-top: 1px solid rgba(15, 52, 96, 0.24);
}

body.single-post .cta-box {
  background: rgba(15, 52, 96, 0.08);
  border-color: rgba(15, 52, 96, 0.22);
}

/* Preserve TOC + author box visual style in both reading modes */
body.single-post .subu-toc {
  background: #16213e;
  border-left-color: #e94560;
}

body.single-post .subu-toc-title,
body.single-post .subu-toc-list a {
  color: #eaeaea;
}

body.single-post .subu-toc-list a:hover {
  color: #e94560;
}

body.single-post .subu-author-box {
  background: #16213e;
  border-left-color: #ff3b30;
}

body.single-post .subu-author-avatar {
  border-color: #ff3b30;
}

body.single-post .subu-author-title,
body.single-post .subu-author-list li {
  color: #f3f4f6;
}

body.single-post .subu-author-subtitle {
  color: #e0e5f1;
}

body.single-post .subu-author-content p {
  color: #dce3f0;
}

body.single-post .subu-author-cta a {
  color: #ff3b30;
}

body.single-post .subu-share-message {
  color: #1a1a2e;
}

/* More to Read cards: readable in light mode + hover in both modes */
body.single-post .related-posts .post-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

body.single-post .related-posts .post-card:hover,
body.single-post .related-posts .post-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(15, 52, 96, 0.24);
  border-color: rgba(15, 52, 96, 0.38);
}

body.single-post .related-posts .post-card:hover .card-media img,
body.single-post .related-posts .post-card:focus-within .card-media img {
  transform: scale(1.03);
}

body.single-post .related-posts .post-card .card-media img {
  transition: transform 0.25s ease;
}

body.single-post .related-posts .post-card {
  background: #dfe3ea;
  border-color: rgba(15, 52, 96, 0.18);
}

body.single-post .related-posts .post-card .card-body h3,
body.single-post .related-posts .post-card .card-body h3 a,
body.single-post .related-posts .post-card .card-body p,
body.single-post .related-posts .post-card .eyebrow {
  color: #1a1a2e;
}

body.single-post .related-posts .post-card .card-body h3 a:hover,
body.single-post .related-posts .post-card .card-body h3 a:focus-visible {
  color: #0f3460;
}

/* Dark mode for blog post reading view */
body.single-post.subu-reading-dark {
  background: var(--bg);
  color: var(--text);
}

body.single-post.subu-reading-dark .back-link,
body.single-post.subu-reading-dark .entry-meta {
  color: var(--muted);
}

body.single-post.subu-reading-dark .entry-meta-sep {
  color: rgba(234, 234, 234, 0.55);
}

body.single-post.subu-reading-dark .entry-meta-updated {
  color: var(--accent);
}

body.single-post.subu-reading-dark .entry-meta-author,
body.single-post.subu-reading-dark .back-link {
  color: var(--muted);
}

body.single-post.subu-reading-dark .entry-header h1,
body.single-post.subu-reading-dark .entry-content > h1,
body.single-post.subu-reading-dark .entry-content > h2,
body.single-post.subu-reading-dark .entry-content > h3,
body.single-post.subu-reading-dark .entry-content > h4,
body.single-post.subu-reading-dark .entry-content > h5,
body.single-post.subu-reading-dark .entry-content > h6,
body.single-post.subu-reading-dark .entry-footer h2 {
  color: var(--text);
}

body.single-post.subu-reading-dark .entry-content,
body.single-post.subu-reading-dark .entry-content > :not(.subu-toc):not(.subu-author-box),
body.single-post.subu-reading-dark .entry-content > ul li,
body.single-post.subu-reading-dark .entry-content > ol li {
  color: #d8deee;
}

body.single-post.subu-reading-dark .entry-content > p a,
body.single-post.subu-reading-dark .entry-content > ul a,
body.single-post.subu-reading-dark .entry-content > ol a,
body.single-post.subu-reading-dark .entry-content > blockquote a {
  color: #008080;
}

body.single-post.subu-reading-dark .entry-content pre {
  background: #040b18;
  border-color: rgba(92, 116, 156, 0.44);
  color: #e5eeff;
  box-shadow: 0 18px 36px rgba(1, 6, 15, 0.48);
}

body.single-post.subu-reading-dark .entry-content pre::before {
  border-bottom-color: rgba(97, 125, 172, 0.42);
  background-image:
    radial-gradient(circle at 18px 19px, #ff5f57 0 5px, transparent 5.5px),
    radial-gradient(circle at 38px 19px, #febc2e 0 5px, transparent 5.5px),
    radial-gradient(circle at 58px 19px, #28c840 0 5px, transparent 5.5px),
    linear-gradient(180deg, #111a2d 0%, #0b1423 100%);
}

body.single-post.subu-reading-dark .entry-content pre::after {
  color: #92a5c5;
}

body.single-post.subu-reading-dark .entry-content > pre,
body.single-post.subu-reading-dark .entry-content > pre code,
body.single-post.subu-reading-dark .entry-content > pre code *,
body.single-post.subu-reading-dark .entry-content .wp-block-code pre,
body.single-post.subu-reading-dark .entry-content .wp-block-code pre code,
body.single-post.subu-reading-dark .entry-content .wp-block-code pre code * {
  color: #e5eeff !important;
  opacity: 1;
}

body.single-post.subu-reading-dark .entry-content :not(pre) > code {
  background: rgba(15, 52, 96, 0.44);
  border-color: rgba(233, 69, 96, 0.34);
  color: #eaf0ff;
}

body.single-post.subu-reading-dark .entry-header-divider {
  border-top-color: rgba(255, 255, 255, 0.16);
}

body.single-post.subu-reading-dark .cta-box {
  background: rgba(15, 52, 96, 0.35);
  border-color: var(--border);
}

body.single-post.subu-reading-dark .subu-inline-reading-toggle {
  border-color: rgba(233, 69, 96, 0.45);
  background: #16213e;
  color: #eaeaea;
}

body.single-post.subu-reading-dark .subu-inline-reading-toggle:hover,
body.single-post.subu-reading-dark .subu-inline-reading-toggle:focus-visible {
  background: rgba(233, 69, 96, 0.85);
  border-color: rgba(233, 69, 96, 0.95);
}

body.single-post.subu-reading-dark .subu-reading-icon-sun {
  display: inline-flex;
}

body.single-post.subu-reading-dark .subu-reading-icon-moon {
  display: none;
}

body.single-post.subu-reading-dark .subu-share-message {
  color: #fff;
}

body.single-post.subu-reading-dark .related-posts .post-card {
  background: linear-gradient(165deg, #102f56 0%, #202f53 55%, #1a2342 100%);
  border-color: var(--border);
}

body.single-post.subu-reading-dark .related-posts .post-card .card-body h3,
body.single-post.subu-reading-dark .related-posts .post-card .card-body h3 a {
  color: var(--text);
}

body.single-post.subu-reading-dark .related-posts .post-card .card-body p {
  color: #c1cbe0;
}

body.single-post.subu-reading-dark .related-posts .post-card .eyebrow {
  color: #b3bfd7;
}

body.single-post.subu-reading-dark .related-posts .post-card:hover,
body.single-post.subu-reading-dark .related-posts .post-card:focus-within {
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.42);
  border-color: rgba(233, 69, 96, 0.5);
}

.subu-share-sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  display: grid;
  gap: 0.7rem;
}

.subu-share-message {
  margin: 0;
  display: grid;
  gap: 0.22rem;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}

.subu-share-message span {
  display: block;
}

.subu-share-actions {
  display: grid;
  gap: 0.44rem;
}

.subu-share-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(233, 69, 96, 0.5);
  background: rgba(15, 52, 96, 0.5);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.subu-share-btn:hover,
.subu-share-btn:focus-visible {
  transform: translateY(-1px);
  background: rgba(233, 69, 96, 0.85);
  border-color: rgba(233, 69, 96, 0.95);
  outline: none;
}

.subu-share-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.subu-share-icon svg {
  width: 100%;
  height: 100%;
}

.subu-share-btn .icon-copied {
  display: none;
}

.subu-share-btn.is-copied .icon-default {
  display: none;
}

.subu-share-btn.is-copied .icon-copied {
  display: inline-flex;
}

.subu-share-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-size: 0.72rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: rgba(7, 12, 26, 0.96);
  border: 1px solid rgba(233, 69, 96, 0.6);
  border-radius: 6px;
  padding: 0.42rem 0.5rem;
  transition: opacity 0.18s ease;
  z-index: 4;
}

.subu-share-btn:hover::after,
.subu-share-btn:focus-visible::after {
  opacity: 1;
}

.subu-mobile-share-bar {
  display: none;
}

.subu-mobile-share-actions {
  width: min(520px, calc(100% - 1rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0 0.2rem;
}

.subu-share-toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  background: rgba(7, 12, 26, 0.95);
  border: 1px solid rgba(233, 69, 96, 0.7);
  color: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.86rem;
  line-height: 1.2;
  font-weight: 700;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.subu-share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.subu-back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(233, 69, 96, 0.5);
  background: #16213e;
  color: #eaeaea;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 9990;
  opacity: 0.88;
  pointer-events: auto;
  transform: translateY(0);
  box-shadow: 0 12px 26px rgba(3, 8, 20, 0.28);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.subu-back-to-top:hover,
.subu-back-to-top:focus-visible {
  background: #e94560;
  border-color: #e94560;
  color: #fff;
  outline: none;
}

.subu-back-to-top.is-visible {
  opacity: 1;
}

.subu-section-jump {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  width: min(320px, calc(100vw - 2rem));
  z-index: 9989;
  isolation: isolate;
}

.subu-section-jump[data-state="hidden"] {
  display: none;
}

.subu-section-jump-toggle {
  width: 100%;
  border: 1px solid rgba(233, 69, 96, 0.5);
  border-radius: 999px;
  background: #16213e;
  color: #eaeaea;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  list-style: none;
}

.subu-section-jump-toggle::-webkit-details-marker {
  display: none;
}

.subu-section-jump-toggle:hover,
.subu-section-jump-toggle:focus-visible {
  border-color: #e94560;
  background: rgba(233, 69, 96, 0.18);
  outline: none;
}

.subu-section-jump-caret {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.subu-section-jump[open] .subu-section-jump-caret {
  transform: rotate(180deg);
}

.subu-section-jump-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 0.45rem);
  margin-top: 0;
  background: #16213e;
  border: 1px solid rgba(233, 69, 96, 0.4);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(3, 8, 20, 0.3);
  max-height: min(58vh, 360px);
  overflow: auto;
}

.subu-section-jump-list {
  margin: 0;
  padding: 0.35rem;
  list-style: none;
}

.subu-section-jump-item a {
  display: block;
  border-radius: 8px;
  color: #eaeaea;
  text-decoration: none;
  line-height: 1.35;
  font-size: 0.93rem;
  padding: 0.45rem 0.55rem;
}

.subu-section-jump-item.is-h3 a {
  padding-left: 1.25rem;
  font-size: 0.9rem;
  color: #c9d3ea;
}

.subu-section-jump-item a:hover,
.subu-section-jump-item a:focus-visible {
  background: rgba(233, 69, 96, 0.18);
  color: #fff;
  text-decoration: none;
  outline: none;
}

/* Floating nav controls in single-post light reading mode */
body.single-post:not(.subu-reading-dark) .subu-back-to-top {
  background: #ffffff;
  color: #1a1a2e;
  border-color: #9fb0cb;
}

body.single-post:not(.subu-reading-dark) .subu-back-to-top:hover,
body.single-post:not(.subu-reading-dark) .subu-back-to-top:focus-visible {
  background: #e9eef8;
  color: #1a1a2e;
  border-color: #7d93b7;
}

body.single-post:not(.subu-reading-dark) .subu-section-jump-toggle {
  background: #ffffff;
  color: #1a1a2e;
  border-color: #9fb0cb;
}

body.single-post:not(.subu-reading-dark) .subu-section-jump-toggle:hover,
body.single-post:not(.subu-reading-dark) .subu-section-jump-toggle:focus-visible {
  background: #e9eef8;
  color: #1a1a2e;
  border-color: #7d93b7;
}

body.single-post:not(.subu-reading-dark) .subu-section-jump-menu {
  background: #ffffff;
  border-color: #c2cfdf;
  box-shadow: 0 12px 24px rgba(15, 52, 96, 0.16);
}

body.single-post:not(.subu-reading-dark) .subu-section-jump-item a {
  color: #1a1a2e;
}

body.single-post:not(.subu-reading-dark) .subu-section-jump-item.is-h3 a {
  color: #3a4e6d;
}

body.single-post:not(.subu-reading-dark) .subu-section-jump-item a:hover,
body.single-post:not(.subu-reading-dark) .subu-section-jump-item a:focus-visible {
  background: rgba(15, 52, 96, 0.12);
  color: #1a1a2e;
}

body.single-post.subu-reading-dark .subu-back-to-top,
body.single-post.subu-reading-dark .subu-section-jump-toggle {
  background: #16213e;
  border-color: rgba(233, 69, 96, 0.5);
  color: #eaeaea;
}

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.25rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr) minmax(170px, 1fr);
  gap: 1.15rem;
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  width: auto;
  height: 46px;
  max-width: 300px;
  display: block;
}

.footer-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-socials a {
  color: var(--muted);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(233, 69, 96, 0.42);
  background: rgba(15, 52, 96, 0.28);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
}

.footer-socials a:hover {
  color: var(--text);
  text-decoration: none;
  border-color: rgba(233, 69, 96, 0.85);
  background: rgba(15, 52, 96, 0.52);
  transform: translateY(-1px);
}

.footer-socials a.is-disabled,
.footer-socials a[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.footer-tagline {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.1;
  max-width: 220px;
}

.footer-links-title {
  margin: 0 0 0.45rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.footer-links-list-cases {
  display: grid;
  gap: 0.32rem;
}

.footer-links-list-cases li {
  margin: 0;
}

.footer-links-list a {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.25;
}

.footer-links-list a:hover {
  color: var(--text);
  text-decoration: none;
}

.footer-copy {
  text-align: center;
  color: var(--muted);
  display: block;
  line-height: 1.3;
  font-size: 0.92rem;
  width: 100%;
}

.footer-copy p {
  margin: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-bottom {
  margin-top: 1.4rem;
  padding: 0.95rem 0 1rem;
  border-top: 1px solid rgba(233, 69, 96, 0.25);
  display: flex;
  justify-content: center;
}

.is-clickable-case {
  cursor: pointer;
}

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 1rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

/* About page */
.subu-about-page {
  background: var(--bg);
  padding: 3.5rem 0;
}

.subu-about-wrap {
  display: grid;
  gap: 2rem;
}

.subu-panel {
  border-radius: 18px;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: 2px solid transparent;
}

.subu-panel-accent {
  background: linear-gradient(145deg, #0f3460, #1a1a2e 68%);
  border-color: rgba(233, 69, 96, 0.8);
  box-shadow: 0 26px 38px rgba(0, 0, 0, 0.35);
}

.subu-panel-secondary {
  background: linear-gradient(160deg, rgba(15, 52, 96, 0.9), rgba(26, 26, 46, 0.95));
  border-color: rgba(255, 255, 255, 0.08);
}

.subu-about-header h1,
.subu-panel-secondary h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  line-height: 1.02;
}

.subu-about-header h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.subu-about-kicker {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.subu-about-copy {
  margin-top: 1.1rem;
  color: #d5dcee;
  font-size: 1.05rem;
}

.subu-about-copy p {
  margin: 0 0 1rem;
}

.subu-about-copy strong {
  color: var(--accent);
}

.subu-about-copy code {
  background: rgba(0, 0, 0, 0.28);
  color: #73cbff;
  border-radius: 6px;
  padding: 0.15rem 0.45rem;
}

.subu-about-copy ul {
  margin: 0 0 1rem 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.subu-about-copy li {
  position: relative;
  padding-left: 1.3rem;
}

.subu-about-copy li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

.subu-about-stats {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.75rem;
}

.subu-about-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  font-weight: 700;
}

.subu-about-stat-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.subu-about-stat-icon svg {
  width: 100%;
  height: 100%;
}

.subu-about-highlight {
  color: var(--accent);
  font-weight: 700;
}

.subu-about-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.subu-about-social-follow {
  margin-top: 1.15rem;
  border-top: 1px solid rgba(233, 69, 96, 0.3);
  padding-top: 1rem;
}

.subu-about-social-title {
  margin: 0 0 0.65rem;
  color: #eaeaea;
  font-weight: 700;
}

.subu-about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.subu-about-socials a {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(233, 69, 96, 0.45);
  background: rgba(15, 52, 96, 0.35);
  color: #eaeaea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.subu-about-socials a svg {
  width: 18px;
  height: 18px;
}

.subu-about-socials a:hover {
  text-decoration: none;
  color: #fff;
  border-color: rgba(233, 69, 96, 0.95);
  background: rgba(233, 69, 96, 0.28);
  transform: translateY(-1px);
}

.subu-about-socials a.is-disabled,
.subu-about-socials a[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.subu-about-summary {
  list-style: none;
  margin: 1.3rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.subu-about-summary li {
  background: rgba(15, 52, 96, 0.42);
  border: 1px solid rgba(233, 69, 96, 0.42);
  border-radius: 10px;
  padding: 0.75rem 0.95rem;
  color: #f3f5fb;
}

.subu-about-summary li strong {
  color: var(--accent);
}

.subu-about-latest {
  margin-top: 1.4rem;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(15, 52, 96, 0.7);
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(15, 52, 96, 0.62), rgba(22, 33, 62, 0.92));
}

.subu-about-latest-head h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

.subu-about-latest-head p {
  margin: 0.5rem 0 0;
  color: #cad4e9;
}

.subu-about-carousel-controls {
  margin-top: 0.95rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.subu-about-carousel-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(233, 69, 96, 0.45);
  border-radius: 999px;
  background: #16213e;
  color: #eaeaea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.subu-about-carousel-btn svg {
  width: 18px;
  height: 18px;
}

.subu-about-carousel-btn:hover,
.subu-about-carousel-btn:focus-visible {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  outline: none;
}

.subu-about-carousel-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.subu-about-carousel {
  margin-top: 0.75rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.subu-about-carousel::-webkit-scrollbar {
  display: none;
}

.subu-about-carousel-item {
  min-width: 0;
  scroll-snap-align: start;
}

.subu-about-post-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 52, 96, 0.92);
  border-radius: 14px;
  overflow: hidden;
  background: #1a1a2e;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.subu-about-post-card:hover,
.subu-about-post-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(233, 69, 96, 0.58);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.subu-about-post-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #142240;
}

.subu-about-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subu-about-post-media--placeholder {
  background: linear-gradient(145deg, rgba(15, 52, 96, 0.65), rgba(22, 33, 62, 0.9));
}

.subu-about-post-body {
  padding: 0.9rem 0.95rem 1rem;
}

.subu-about-post-meta {
  margin: 0;
  color: #9fb0cf;
  font-size: 0.82rem;
}

.subu-about-post-body h3 {
  margin: 0.48rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.06;
  color: var(--text);
}

.subu-about-post-body p {
  margin: 0;
  color: #c5d0e6;
}

@media (max-width: 1024px) {
  .subu-about-carousel {
    grid-auto-columns: calc((100% - 0.75rem) / 2);
  }
}

/* Subuverse page */
.subuverse-page {
  background: var(--bg);
  padding: 3.5rem 0;
}

.subuverse-wrap {
  display: grid;
  gap: 2rem;
}

.subuverse-header {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.subuverse-header h1 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
}

.subuverse-header p {
  margin: 0.95rem 0 0;
  color: #d0d8ec;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
}

.subuverse-list {
  display: grid;
  gap: 2rem;
}

.subuverse-character {
  display: grid;
  grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
  gap: clamp(1.2rem, 2.3vw, 2rem);
  align-items: center;
  background: linear-gradient(155deg, rgba(15, 52, 96, 0.76), rgba(26, 26, 46, 0.94));
  border: 2px solid rgba(15, 52, 96, 0.7);
  border-radius: 16px;
  padding: clamp(1rem, 2vw, 1.45rem);
}

.subuverse-character:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
}

.subuverse-character:nth-child(even) .subuverse-character-media {
  order: 2;
}

.subuverse-character:nth-child(even) .subuverse-character-copy {
  order: 1;
}

.subuverse-character-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.subuverse-character-copy h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  line-height: 1.04;
}

.subuverse-character-copy p {
  margin: 0;
  color: #d8dff1;
  font-size: clamp(1rem, 1.5vw, 1.09rem);
  line-height: 1.55;
}

@media (max-width: 1023px) {
  .subuverse-character,
  .subuverse-character:nth-child(even) {
    grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .subuverse-page {
    padding: 2.6rem 0;
  }

  .subuverse-list {
    gap: 1.35rem;
  }

  .subuverse-character,
  .subuverse-character:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .subuverse-character:nth-child(even) .subuverse-character-media,
  .subuverse-character:nth-child(even) .subuverse-character-copy {
    order: initial;
  }
}

/* Hire page */
.subu-hire-page {
  background: var(--bg);
  padding: 3.5rem 0;
}

.subu-hire-wrap {
  display: grid;
  gap: 2.2rem;
}

.subu-hire-header {
  text-align: center;
}

.subu-hire-header h1 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.02;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.subu-hire-header h1 span {
  color: var(--accent);
}

.subu-hire-header p {
  margin: 0.75rem auto 0;
  max-width: 70ch;
  color: #d3dbec;
}

.subu-hire-services {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.subu-hire-card {
  background: linear-gradient(145deg, rgba(15, 52, 96, 0.9), rgba(26, 26, 46, 0.95));
  border: 2px solid rgba(15, 52, 96, 0.95);
  border-radius: 14px;
  padding: 1.35rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.subu-hire-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.subu-hire-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
}

.subu-hire-icon svg {
  width: 100%;
  height: 100%;
}

.subu-hire-card h2,
.subu-hire-testimonials h2,
.subu-hire-contact-box h2 {
  margin: 0.7rem 0;
  font-family: var(--font-display);
  line-height: 1.1;
}

.subu-hire-card p {
  color: #d5dcee;
  margin: 0 0 0.9rem;
}

.subu-hire-card h3 {
  margin: 0;
  color: var(--accent);
  font-size: 1rem;
}

.subu-hire-card ul {
  margin: 0.65rem 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.subu-hire-card li {
  color: #bdc8df;
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
}

.subu-hire-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.subu-hire-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.subu-hire-card-footer span {
  color: #9eaed0;
  font-size: 0.9rem;
}

.subu-hire-testimonials h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.subu-hire-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.subu-hire-testimonial {
  background: #ffffff;
  color: #1d2437;
  border-radius: 14px;
  padding: 1rem 1rem 1.5rem;
}

.subu-hire-testimonial p {
  margin: 0;
}

.subu-hire-testimonial-author {
  margin-top: 0.7rem !important;
  font-size: 0.9rem;
  font-weight: 700;
  color: #566177;
}

.subu-hire-contact {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

.subu-hire-contact-box {
  background: linear-gradient(145deg, #0f3460, #1a1a2e 68%);
  border-radius: 18px;
  border: 2px solid var(--accent);
  padding: clamp(1.3rem, 3vw, 2.2rem);
}

.subu-hire-contact-box header {
  text-align: center;
  margin-bottom: 1rem;
}

.subu-hire-contact-box header p {
  margin: 0;
  color: #d1dbef;
}

.subu-hire-form {
  display: grid;
  gap: 0.5rem;
}

.subu-hire-form label {
  color: #f3f6ff;
  font-weight: 700;
  margin-top: 0.55rem;
}

.subu-hire-form input,
.subu-hire-form textarea {
  border: 2px solid transparent;
  border-radius: 10px;
  background: #fff;
  color: #111827;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.subu-hire-form input:focus,
.subu-hire-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.subu-hire-form textarea {
  resize: vertical;
}

.subu-hire-form .btn {
  margin-top: 0.6rem;
  width: 100%;
  justify-content: center;
}

.subu-hire-form-note {
  margin: 0.2rem 0 0;
  text-align: center;
  color: #a5b4d1;
  font-size: 0.9rem;
}

/* Blog page */
.subu-blog-page {
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: 3rem;
}

.subu-blog-hero {
  padding: 3.6rem 0 2.8rem;
  border-bottom: 1px solid rgba(15, 52, 96, 0.7);
  background: linear-gradient(180deg, rgba(15, 52, 96, 0.35), rgba(26, 26, 46, 1));
}

.subu-blog-hero-inner {
  max-width: 900px;
  text-align: center;
}

.subu-blog-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.03;
}

.subu-blog-hero h1 span {
  color: var(--accent);
  display: block;
  margin-top: 0.3rem;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
}

.subu-blog-hero p {
  margin: 0.8rem auto 1.2rem;
  max-width: 65ch;
  color: #d3dbec;
  font-size: 1.12rem;
}

.subu-blog-search {
  display: flex;
  gap: 0.6rem;
  max-width: 620px;
  margin: 0 auto;
  position: relative;
}

.subu-blog-search::before {
  content: "\1F50D";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #8da0c8;
  pointer-events: none;
}

.subu-blog-search input {
  flex: 1;
  border-radius: 999px;
  border: 2px solid rgba(15, 52, 96, 0.9);
  background: #16213e;
  color: #eaeaea;
  padding: 0.8rem 1rem 0.8rem 2.6rem;
  font: inherit;
}

.subu-blog-search input:focus {
  outline: none;
  border-color: var(--accent);
}

.subu-blog-search button {
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.subu-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(260px, 0.9fr);
  gap: 1.4rem;
  align-items: start;
  padding-top: 2rem;
}

.subu-blog-main {
  width: 100%;
  min-width: 0;
}

.subu-blog-categories {
  position: sticky;
  top: 84px;
  z-index: 10;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.6rem 0 0.95rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 52, 96, 0.5);
  background: rgba(26, 26, 46, 0.96);
}

.subu-blog-categories a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 52, 96, 0.45);
  color: #cad4ea;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 700;
}

.subu-blog-categories a:hover,
.subu-blog-categories a.is-active {
  color: #fff;
  background: var(--accent);
  text-decoration: none;
}

.subu-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.4rem;
}

.subu-blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 52, 96, 0.9);
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a2e;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.subu-blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 69, 96, 0.45);
  box-shadow: 0 20px 26px rgba(0, 0, 0, 0.33);
}

.subu-blog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.subu-blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.subu-blog-card:hover .subu-blog-card-media img {
  transform: scale(1.06);
}

.subu-blog-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(15, 52, 96, 0.65), rgba(22, 33, 62, 0.92));
}

.subu-blog-card-badge {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 2;
  display: inline-flex;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
}

.subu-blog-card-body {
  padding: 1rem;
}

.subu-blog-card-meta {
  margin: 0;
  color: #99a9ca;
  font-size: 0.84rem;
}

.subu-blog-card h2 {
  margin: 0.45rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1.1;
}

.subu-blog-card h2 a {
  color: var(--text);
}

.subu-blog-card h2 a:hover {
  color: var(--accent);
  text-decoration: none;
}

.subu-blog-card p {
  margin: 0;
  color: #c2cde4;
}

.subu-blog-readmore {
  margin-top: 0.9rem;
  display: inline-flex;
  font-weight: 700;
  color: var(--accent);
}

.subu-blog-card-footer {
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 52, 96, 0.65);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
}

.subu-blog-card-footer span {
  color: #9eaed0;
  font-size: 0.9rem;
}

.subu-blog-readmore:hover {
  color: #fff;
  text-decoration: none;
}

.subu-blog-empty {
  border: 1px solid rgba(15, 52, 96, 0.8);
  border-radius: 14px;
  background: #16213e;
  color: #bec9de;
  text-align: center;
  padding: 2.3rem 1rem;
}

.subu-blog-sidebar {
  display: grid;
  align-content: start;
  gap: 1rem;
  position: sticky;
  top: 96px;
}

.subu-sidebar-box {
  border: 1px solid rgba(15, 52, 96, 0.82);
  border-radius: 14px;
  background: #16213e;
  padding: 1rem;
}

.subu-sidebar-box h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  line-height: 1.1;
  font-size: 1.45rem;
}

.subu-sidebar-box p {
  margin: 0 0 0.8rem;
  color: #c2cde4;
  font-size: 0.94rem;
}

.subu-sidebar-box form {
  display: flex;
  gap: 0.4rem;
}

.subu-sidebar-box form input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(15, 52, 96, 0.8);
  border-radius: 8px;
  background: #1a1a2e;
  color: #fff;
  padding: 0.52rem 0.6rem;
  font: inherit;
}

.subu-sidebar-box form button {
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 0.52rem 0.7rem;
  cursor: pointer;
}

.subu-popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.72rem;
}

.subu-popular-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
}

.subu-popular-list span {
  color: var(--accent);
  font-weight: 700;
}

.subu-popular-list a {
  color: #d6e0f3;
  font-size: 0.92rem;
  line-height: 1.3;
}

.subu-popular-list small {
  display: block;
  color: #99a9ca;
  margin-top: 0.25rem;
  font-size: 0.84rem;
}

.subu-popular-list a:hover {
  color: var(--accent);
  text-decoration: none;
}

.subu-comic-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.subu-comic-mini-grid a {
  display: block;
  border-radius: 9px;
  overflow: hidden;
  background: rgba(15, 52, 96, 0.48);
  aspect-ratio: 1 / 1;
}

.subu-comic-mini-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subu-comic-mini-fallback {
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0.45rem;
  color: #d6e0f3;
  font-size: 0.78rem;
  line-height: 1.25;
}

.subu-sidebar-cta {
  width: 100%;
}

.subu-sidebar-link {
  display: inline-flex;
  color: var(--accent);
  font-weight: 700;
}

.subu-sidebar-link:hover {
  color: #fff;
  text-decoration: none;
}

.wp-block-button.btn .wp-element-button,
.wp-block-button.btn .wp-block-button__link {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.625rem 0.9rem;
  font-weight: 700;
}

.wp-block-button.btn.btn-primary .wp-element-button,
.wp-block-button.btn.btn-primary .wp-block-button__link {
  background: var(--accent);
  color: #fff;
}

.wp-block-button.btn.btn-outline .wp-element-button,
.wp-block-button.btn.btn-outline .wp-block-button__link {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.subu-pattern-hero,
.subu-cta-band {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.subu-services .card {
  padding: 1rem;
}

.hide-mobile {
  display: inline-flex;
}

.legacy-frontpage-shell {
  width: 100%;
}

.legacy-frontpage-shell .alignfull,
.legacy-frontpage-shell .wp-block-cover.alignfull,
.legacy-frontpage-shell .wp-block-group.alignfull {
  margin-left: 0;
  margin-right: 0;
}

.legacy-frontpage-shell svg.subu-icon,
.legacy-page-shell svg.subu-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.legacy-page-shell {
  width: 100%;
}

.legacy-page-shell > * {
  max-width: 100%;
}

.legacy-page-shell .alignfull,
.legacy-page-shell .wp-block-cover.alignfull,
.legacy-page-shell .wp-block-group.alignfull,
.legacy-page-shell .wp-block-image.alignfull {
  margin-left: 0;
  margin-right: 0;
}

/* Fallback heading font override for legacy Custom HTML pages */
#seo-by-subu-homepage.subu-homepage h1,
#seo-by-subu-homepage.subu-homepage h2,
#seo-by-subu-homepage.subu-homepage h3,
#seo-by-subu-homepage.subu-homepage .subu-hero-title,
#seo-by-subu-homepage.subu-homepage .subu-section-title,
#seo-by-subu-homepage.subu-homepage .subu-newsletter-title,
#seo-by-subu-homepage.subu-homepage .subu-cta-title,
#seo-by-subu-homepage.subu-homepage .subu-marvel-title,
#subu-portfolio-master.subu-master-wrapper .subu-h1,
#subu-portfolio-master.subu-master-wrapper .subu-card-title,
#subu-portfolio-master.subu-master-wrapper .subu-footer-h2,
#subu-portfolio-master.subu-master-wrapper .subu-footer-sub,
#subu-portfolio-page.subu-page-wrapper .subu-page-title,
#subu-portfolio-page.subu-page-wrapper .subu-case-title,
#subu-portfolio-page.subu-page-wrapper .subu-stat-value {
  font-family: "Luckiest Guy", "Trebuchet MS", cursive !important;
}

@media (max-width: 860px) {
  .site-header-inner {
    flex-wrap: wrap;
    padding: 0.75rem 0;
    gap: 0.55rem;
  }

  .site-logo img {
    height: 44px;
    max-width: 250px;
  }

  .footer-logo img {
    height: 40px;
    max-width: 230px;
  }

  .mobile-hire-top {
    display: inline-flex !important;
    margin-left: auto;
    padding: 0.44rem 0.72rem;
    min-height: 36px;
    font-size: 0.83rem;
    line-height: 1;
    border-radius: 7px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: 0;
    min-height: 36px;
    padding: 0.44rem 0.65rem;
    font-size: 0.83rem;
    line-height: 1;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin: 0;
    padding-bottom: 0.5rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav .menu,
  .menu-fallback {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hide-mobile {
    display: none;
  }

  .hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-copy,
  .footer-tagline {
    text-align: left;
    margin: 0;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-copy p {
    font-size: 0.8rem;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    margin-top: 1.1rem;
    padding: 0.8rem 0 1rem;
  }

  .section-head.stack-mobile {
    flex-direction: column;
    align-items: stretch;
  }

  .subu-hire-services,
  .subu-hire-testimonial-grid,
  .subu-blog-grid,
  .subu-blog-layout {
    grid-template-columns: 1fr;
  }

  .subu-blog-categories {
    position: static;
    top: auto;
  }

  .subu-blog-sidebar {
    position: static;
    top: auto;
  }

  .subu-blog-search {
    flex-direction: column;
  }

  .search-form {
    width: 100%;
  }

  .search-form input {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .single-share-layout {
    grid-template-columns: 1fr;
  }

  .subu-toc {
    padding: 1rem 1.5rem;
    margin: 2rem 0;
  }

  .subu-toc-title {
    font-size: 1rem;
  }

  .subu-no-form-panel {
    padding: 1rem 1.1rem;
  }

  .subu-author-box {
    flex-direction: column;
    text-align: center;
    border-left: 0;
    border-top: 4px solid #ff3b30;
    gap: 1rem;
  }

  .subu-author-avatar {
    margin: 0 auto;
  }

  .subu-share-sidebar {
    display: none;
  }

  body.single-post .entry-meta {
    gap: 0.35rem;
    font-size: 0.96rem;
  }

  body.single-post .entry-meta-updated {
    width: 100%;
    margin-top: 0.15rem;
  }

  body.single-post .entry-meta-sep:last-of-type {
    display: none;
  }

  body.single-post .entry-meta-author {
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body.single-post .entry-content pre {
    margin: 1.2rem 0;
    padding: 3.3rem 0.9rem 1rem;
    font-size: 0.9rem;
    border-radius: 10px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  body.single-post .entry-content pre::before {
    height: 34px;
    background-image:
      radial-gradient(circle at 14px 17px, #ff5f57 0 4px, transparent 4.5px),
      radial-gradient(circle at 32px 17px, #febc2e 0 4px, transparent 4.5px),
      radial-gradient(circle at 50px 17px, #28c840 0 4px, transparent 4.5px),
      linear-gradient(180deg, #ffffff 0%, #eff3f9 100%);
  }

  body.single-post .entry-content pre::after {
    top: 7px;
    font-size: 0.82rem;
  }

  body.single-post.subu-reading-dark .entry-content pre::before {
    background-image:
      radial-gradient(circle at 14px 17px, #ff5f57 0 4px, transparent 4.5px),
      radial-gradient(circle at 32px 17px, #febc2e 0 4px, transparent 4.5px),
      radial-gradient(circle at 50px 17px, #28c840 0 4px, transparent 4.5px),
      linear-gradient(180deg, #111a2d 0%, #0b1423 100%);
  }

  .subu-about-latest {
    padding: 0.9rem;
  }

  .subu-about-carousel-controls {
    margin-top: 0.75rem;
  }

  .subu-about-carousel {
    grid-auto-columns: minmax(84%, 1fr);
    gap: 0.75rem;
  }

  .subu-about-post-body h3 {
    font-size: 1.45rem;
  }

  body.single-post,
  body.single-comic {
    padding-bottom: 60px;
  }

  .subu-mobile-share-bar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: #1a1a2e;
    border-top: 1px solid rgba(233, 69, 96, 0.38);
    z-index: 9999;
  }

  .subu-mobile-share-bar .subu-share-btn {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    background: rgba(15, 52, 96, 0.58);
    border-color: rgba(233, 69, 96, 0.46);
  }

  .subu-mobile-share-bar .subu-share-btn::after {
    display: none;
  }

  .subu-back-to-top {
    right: 0.5rem;
  }

  .subu-section-jump {
    left: 0.5rem;
    right: 3.7rem;
    width: auto;
    max-width: none;
  }

  body.single-post .subu-back-to-top,
  body.single-comic .subu-back-to-top {
    bottom: 76px;
  }

  body.single-post .subu-section-jump {
    bottom: 76px;
    right: 3.7rem;
    left: 0.5rem;
    width: auto;
  }

  .subu-share-toast {
    bottom: 72px;
  }
}
