/*
Theme Name: Harbor Loom
Author: Nolan Merrick
Description: A classic PHP WordPress publishing theme with a pastel editorial interface, dynamic content areas, and mobile-first responsive layouts.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: urv-theme
*/

:root {
  --urv-bg: #f4f0ff;
  --urv-bg-warm: #f7f5df;
  --urv-panel: rgba(255, 255, 255, 0.78);
  --urv-panel-solid: #ffffff;
  --urv-ink: #10142f;
  --urv-ink-soft: #555a72;
  --urv-muted: #8b90a6;
  --urv-line: rgba(16, 20, 47, 0.1);
  --urv-lime: #dff65b;
  --urv-lime-deep: #b6d829;
  --urv-purple: #8b7cf6;
  --urv-purple-soft: #e3dcff;
  --urv-navy: #121730;
  --urv-radius: 28px;
  --urv-radius-small: 18px;
  --urv-shadow: 0 24px 80px rgba(39, 31, 89, 0.14);
  --urv-shadow-soft: 0 14px 42px rgba(39, 31, 89, 0.1);
  --urv-wrap: min(1180px, calc(100% - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 36%),
    radial-gradient(circle at 18% 8%, rgba(139, 124, 246, 0.18), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(223, 246, 91, 0.32), transparent 30%),
    linear-gradient(180deg, var(--urv-bg) 0%, #f6f2ff 46%, var(--urv-bg-warm) 100%);
  color: var(--urv-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(16, 20, 47, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 20, 47, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 78%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--urv-purple);
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.urv-site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: var(--urv-wrap);
  margin: 0 auto;
  padding-top: 14px;
}

.urv-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 70px;
  padding: 10px 12px 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--urv-shadow-soft);
  backdrop-filter: blur(20px);
}

.urv-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-weight: 800;
  color: var(--urv-ink);
}

.urv-brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--urv-navy);
  color: var(--urv-lime);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
}

.urv-brand-text {
  overflow: hidden;
  max-width: 190px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.urv-brand-logo {
  width: auto;
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
}

.urv-main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.urv-menu-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.urv-menu-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--urv-ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.urv-menu-list a:hover,
.urv-menu-list a:focus-visible {
  background: var(--urv-purple-soft);
  color: var(--urv-ink);
  outline: none;
}

.urv-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.urv-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--urv-ink);
  color: #ffffff;
}

.urv-menu-toggle-lines,
.urv-menu-toggle-lines::before,
.urv-menu-toggle-lines::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
}

.urv-menu-toggle-lines {
  position: relative;
}

.urv-menu-toggle-lines::before,
.urv-menu-toggle-lines::after {
  position: absolute;
  left: 0;
}

.urv-menu-toggle-lines::before {
  top: -6px;
}

.urv-menu-toggle-lines::after {
  top: 6px;
}

.urv-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  max-width: 100%;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  line-height: 1.15;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.urv-button:hover,
.urv-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.urv-button-primary {
  background: var(--urv-ink);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(16, 20, 47, 0.18);
}

.urv-button-primary:hover,
.urv-button-primary:focus-visible {
  color: #ffffff;
  background: #262d58;
}

.urv-button-lime {
  background: var(--urv-lime);
  color: var(--urv-ink);
  box-shadow: 0 14px 26px rgba(182, 216, 41, 0.24);
}

.urv-button-lime:hover,
.urv-button-lime:focus-visible {
  color: var(--urv-ink);
  background: #e8fb7a;
}

.urv-button-ghost {
  border-color: var(--urv-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--urv-ink);
}

.urv-main {
  width: 100%;
}

.urv-hero {
  position: relative;
  width: var(--urv-wrap);
  margin: 44px auto 0;
  padding: clamp(42px, 6vw, 84px) 0 54px;
}

.urv-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 70px);
}

.urv-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px 7px 8px;
  border: 1px solid rgba(16, 20, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--urv-ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.urv-eyebrow-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--urv-lime);
  box-shadow: 0 0 0 5px rgba(223, 246, 91, 0.32);
}

.urv-hero-title {
  max-width: 760px;
  margin: 0;
  color: var(--urv-ink);
  font-size: clamp(2.7rem, 7vw, 5.9rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: 0;
}

.urv-hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--urv-ink-soft);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.urv-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.urv-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.urv-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid rgba(16, 20, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--urv-ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.urv-stat-pill strong {
  color: var(--urv-ink);
}

.urv-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 16px;
  min-height: 530px;
}

.urv-visual::before {
  position: absolute;
  inset: 7% 8% auto auto;
  z-index: -1;
  width: 72%;
  height: 72%;
  border-radius: 44px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.36)),
    repeating-linear-gradient(90deg, rgba(16, 20, 47, 0.08) 0 1px, transparent 1px 54px);
  box-shadow: var(--urv-shadow);
  content: "";
  transform: rotate(-2deg);
}

.urv-visual-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--urv-shadow-soft);
}

.urv-visual-card-dark {
  align-self: stretch;
  min-height: 460px;
  padding: 24px;
  background:
    radial-gradient(circle at 15% 10%, rgba(139, 124, 246, 0.45), transparent 26%),
    linear-gradient(160deg, #151a39, #090d1f 74%);
  color: #ffffff;
}

.urv-visual-card-dark::after {
  position: absolute;
  right: -42px;
  bottom: -46px;
  width: 190px;
  height: 190px;
  border: 28px solid rgba(223, 246, 91, 0.78);
  border-radius: 50%;
  content: "";
}

.urv-visual-card-lime {
  min-height: 250px;
  padding: 22px;
  background: linear-gradient(150deg, var(--urv-lime), #f2ffc2);
  color: var(--urv-ink);
}

.urv-visual-heading {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 900;
  line-height: 1.04;
}

.urv-visual-text {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.urv-visual-card-lime .urv-visual-text {
  color: rgba(16, 20, 47, 0.66);
}

.urv-orbit {
  position: absolute;
  right: 24px;
  bottom: 26px;
  z-index: 1;
  display: grid;
  width: 148px;
  height: 148px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.urv-orbit::before,
.urv-orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.urv-orbit::before {
  width: 88px;
  height: 88px;
  background: rgba(255, 255, 255, 0.08);
}

.urv-orbit::after {
  width: 26px;
  height: 26px;
  background: var(--urv-lime);
  transform: translate(62px, -18px);
}

.urv-visual-stack {
  display: grid;
  align-content: end;
  gap: 16px;
}

.urv-mini-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--urv-shadow-soft);
  backdrop-filter: blur(16px);
}

.urv-mini-card strong {
  font-size: 1.5rem;
  line-height: 1;
}

.urv-mini-card span {
  color: var(--urv-ink-soft);
  font-size: 0.84rem;
  font-weight: 800;
}

.urv-tag-cloud {
  position: absolute;
  right: 8%;
  top: 6%;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 300px;
}

.urv-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(16, 20, 47, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--urv-ink);
  font-size: 0.8rem;
  font-weight: 850;
  box-shadow: 0 8px 22px rgba(16, 20, 47, 0.08);
}

.urv-floating-note {
  position: absolute;
  left: -8px;
  bottom: 60px;
  display: grid;
  gap: 3px;
  max-width: 210px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--urv-shadow-soft);
}

.urv-floating-note strong {
  font-size: 0.9rem;
}

.urv-floating-note span {
  color: var(--urv-ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.urv-latest {
  width: var(--urv-wrap);
  margin: 0 auto;
  padding: 32px 0 clamp(56px, 7vw, 96px);
}

.urv-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.urv-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 0.98;
}

.urv-section-heading p {
  max-width: 420px;
  margin: 0;
  color: var(--urv-ink-soft);
  font-weight: 700;
}

.urv-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 265px), 1fr));
  gap: 18px;
}

.urv-post-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--urv-shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
  backdrop-filter: blur(14px);
}

.urv-post-card:hover,
.urv-post-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(39, 31, 89, 0.16);
}

.urv-post-media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(135deg, rgba(139, 124, 246, 0.48), rgba(223, 246, 91, 0.62)),
    linear-gradient(180deg, #f7f5ff, #ffffff);
}

.urv-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.urv-post-card:hover .urv-post-media img,
.urv-post-card:focus-within .urv-post-media img {
  transform: scale(1.035);
}

.urv-post-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 26px;
  color: var(--urv-ink);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 900;
  text-align: center;
}

.urv-post-body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.urv-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--urv-muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.urv-post-meta a {
  color: var(--urv-purple);
}

.urv-post-title {
  margin: 0;
  font-size: clamp(1.18rem, 2.6vw, 1.55rem);
  font-weight: 900;
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.urv-post-excerpt {
  margin: 12px 0 18px;
  color: var(--urv-ink-soft);
  font-size: 0.96rem;
}

.urv-card-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: auto;
  color: var(--urv-ink);
  font-weight: 900;
}

.urv-card-link::after {
  content: "\2192";
}

.urv-empty {
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--urv-radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--urv-shadow-soft);
  color: var(--urv-ink-soft);
  font-weight: 700;
}

.urv-listing {
  width: var(--urv-wrap);
  margin: 50px auto 0;
  padding-bottom: 90px;
}

.urv-listing-header {
  margin-bottom: 26px;
}

.urv-listing-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.9rem);
  font-weight: 900;
  line-height: 0.98;
}

.urv-listing-header p {
  max-width: 680px;
  color: var(--urv-ink-soft);
}

.urv-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.urv-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin: 3px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--urv-ink);
  font-weight: 850;
}

.urv-pagination .current {
  background: var(--urv-ink);
  color: #ffffff;
}

.urv-single-wrap {
  width: min(80vw, 980px);
  margin: clamp(48px, 6vw, 78px) auto 0;
  padding-bottom: 86px;
}

.urv-single-article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--urv-shadow);
  backdrop-filter: blur(14px);
}

.urv-single-header {
  padding: clamp(30px, 7vw, 72px) clamp(24px, 6vw, 72px) 0;
}

.urv-single-title {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.urv-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--urv-muted);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.urv-entry-content {
  padding: clamp(28px, 6vw, 70px);
  color: #242840;
  font-size: clamp(1rem, 2vw, 1.08rem);
  overflow-wrap: break-word;
}

.urv-entry-content > *:first-child {
  margin-top: 0;
}

.urv-entry-content > *:last-child {
  margin-bottom: 0;
}

.urv-entry-content h1,
.urv-entry-content h2,
.urv-entry-content h3,
.urv-entry-content h4 {
  color: var(--urv-ink);
  line-height: 1.12;
}

.urv-entry-content h2 {
  margin-top: 2.1em;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
}

.urv-entry-content h3 {
  margin-top: 1.8em;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.urv-entry-content p,
.urv-entry-content ul,
.urv-entry-content ol {
  margin: 0 0 1.25em;
}

.urv-entry-content a {
  color: #5b46e8;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.urv-entry-content blockquote {
  margin: 2rem 0;
  padding: 24px;
  border-left: 6px solid var(--urv-lime);
  border-radius: 18px;
  background: rgba(227, 220, 255, 0.5);
  color: var(--urv-ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.urv-entry-content pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 18px;
  background: #11162f;
  color: #ffffff;
}

.urv-entry-content code {
  border-radius: 8px;
  background: rgba(16, 20, 47, 0.08);
  padding: 0.14em 0.34em;
}

.urv-entry-content pre code {
  background: transparent;
  padding: 0;
}

.urv-entry-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.urv-entry-content th,
.urv-entry-content td {
  padding: 12px;
  border: 1px solid var(--urv-line);
}

.urv-entry-content figure {
  margin: 2rem 0;
}

.urv-entry-content img {
  border-radius: 20px;
}

.urv-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.urv-page-links a,
.urv-page-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(16, 20, 47, 0.08);
  color: var(--urv-ink);
  font-weight: 850;
}

.urv-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.urv-post-nav-link {
  display: grid;
  gap: 4px;
  min-height: 98px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--urv-shadow-soft);
}

.urv-post-nav-label {
  color: var(--urv-muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.urv-post-nav-title {
  overflow: hidden;
  color: var(--urv-ink);
  font-weight: 900;
  line-height: 1.2;
}

.urv-site-footer {
  width: var(--urv-wrap);
  margin: 0 auto 24px;
}

.urv-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 24px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 30px;
  background: rgba(18, 23, 48, 0.92);
  color: #ffffff;
  box-shadow: var(--urv-shadow);
}

.urv-footer-title {
  margin: 0;
  color: var(--urv-lime);
  font-size: 1.4rem;
  font-weight: 900;
}

.urv-footer-text {
  max-width: 540px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.urv-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.urv-footer-menu a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.urv-footer-menu a:hover,
.urv-footer-menu a:focus-visible {
  background: var(--urv-lime);
  color: var(--urv-ink);
  outline: none;
}

.urv-footer-widgets {
  color: rgba(255, 255, 255, 0.76);
}

.urv-footer-widgets a {
  color: var(--urv-lime);
  font-weight: 800;
}

.urv-footer-widget {
  margin: 0 0 18px;
}

.urv-footer-widget:last-child {
  margin-bottom: 0;
}

.urv-footer-widget-title {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 1rem;
}

.urv-footer-copy {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.88rem;
}

.urv-screen-reader-text {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.urv-skip-link:focus {
  z-index: 999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--urv-ink);
  color: #ffffff;
}

@media (max-width: 980px) {
  :root {
    --urv-wrap: min(100% - 24px, 760px);
  }

  .urv-header-inner {
    flex-wrap: wrap;
    border-radius: 28px;
    padding: 10px;
  }

  .urv-menu-toggle {
    display: inline-flex;
  }

  .urv-main-nav {
    order: 4;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .urv-main-nav.urv-is-open {
    max-height: 520px;
    padding-top: 8px;
  }

  .urv-menu-list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .urv-menu-list a {
    width: 100%;
    justify-content: center;
    background: rgba(227, 220, 255, 0.5);
  }

  .urv-header-actions .urv-button {
    display: none;
  }

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

  .urv-visual {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .urv-visual-card-dark {
    min-height: 360px;
  }

  .urv-tag-cloud,
  .urv-floating-note {
    position: static;
    max-width: none;
    margin-top: 12px;
  }

  .urv-visual-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .urv-section-heading {
    display: grid;
    align-items: start;
  }

  .urv-footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --urv-wrap: min(100% - 18px, 560px);
  }

  .urv-site-header {
    top: 8px;
    padding-top: 8px;
  }

  .urv-brand-text {
    max-width: 132px;
  }

  .urv-hero {
    margin-top: 24px;
    padding-top: 32px;
  }

  .urv-hero-actions,
  .urv-hero-meta {
    display: grid;
  }

  .urv-button,
  .urv-stat-pill {
    width: 100%;
  }

  .urv-visual-stack,
  .urv-post-nav {
    grid-template-columns: 1fr;
  }

  .urv-visual-card-dark {
    min-height: 320px;
  }

  .urv-single-wrap {
    width: 80vw;
  }

  .urv-single-article {
    border-radius: 26px;
  }

  .urv-entry-content,
  .urv-single-header {
    padding-right: 22px;
    padding-left: 22px;
  }
}
