/*
 * sdimyati.com visual refresh
 * A calm editorial system layered over Typer's configurable foundation.
 */

:root {
  --sd-ink: #252923;
  --sd-copy: #494e45;
  --sd-muted: #71817c;
  --sd-paper: #f7f4ed;
  --sd-soft: #eeebe2;
  --sd-line: rgba(19, 35, 31, 0.11);
  --sd-brand: #53634b;
  --sd-brand-dark: #384831;
  --sd-accent: #a65d43;
  --sd-shadow-sm: 0 8px 24px rgba(30, 48, 42, 0.07);
  --sd-shadow-lg: 0 22px 54px rgba(30, 48, 42, 0.13);
  --sd-radius-sm: 12px;
  --sd-radius: 20px;
  --sd-radius-lg: 30px;
  --sd-ease: cubic-bezier(0.22, 1, 0.36, 1);

  --body-bg-color: var(--sd-paper);
  --header-bg-color: rgba(255, 253, 248, 0.9);
  --header-bg-contrast: var(--sd-ink);
  --heading-color: var(--sd-ink);
  --text-color: var(--sd-copy);
  --text-meta-color: var(--sd-muted);
  --border-color: var(--sd-line);
  --link-color: var(--sd-brand);
  --link-hover: var(--sd-brand-dark);
  --link-visited: var(--sd-brand);
  --primary-color: var(--sd-brand);
  --primary-dark-color: var(--sd-brand-dark);
  --font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  --heading-font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  --font-size-base: 1.0625rem;
  --line-height-base: 1.08;
  --heading-letter-spacing: -0.035em;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
}

body {
  background:
    radial-gradient(circle at 8% -10%, rgba(234, 169, 75, 0.11), transparent 27rem),
    var(--sd-paper);
  color: var(--sd-copy);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(234, 169, 75, 0.42);
  color: var(--sd-ink);
}

a {
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
  transition: color 180ms ease, opacity 180ms ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(23, 107, 85, 0.28);
  outline-offset: 4px;
}

/* Header */
.sd-page-loader {
  display: none;
}

.sd-js .sd-page-loader {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--sd-paper);
  opacity: 1;
  visibility: visible;
  transition: opacity .55s var(--sd-ease), visibility .55s linear;
}

.sd-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sd-page-loader__inner {
  display: grid;
  width: min(190px, 52vw);
  gap: 15px;
}

.sd-page-loader__wordmark {
  color: var(--sd-ink);
  text-align: center;
  font: 700 30px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -1.5px;
  animation: sd-loader-breathe 1.15s ease-in-out infinite alternate;
}

.sd-page-loader__track {
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--sd-line);
}

.sd-page-loader__track i {
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--sdi-red, var(--sd-accent));
  animation: sd-loader-slide 1.05s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes sd-loader-breathe {
  from { opacity: .55; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sd-loader-slide {
  from { transform: translateX(-110%); }
  to { transform: translateX(345%); }
}

@media (prefers-reduced-motion: reduce) {
  .sd-page-loader__wordmark,
  .sd-page-loader__track i { animation: none; }
  .sd-js .sd-page-loader { transition-duration: .12s; }
}

.svq-header-section {
  position: relative;
  z-index: 50;
}

.svq-header-section .navbar-container {
  background: var(--header-bg-color);
  border-bottom: 1px solid var(--sd-line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.svq-header--sticky .navbar-container {
  box-shadow: 0 10px 35px rgba(19, 35, 31, 0.08);
}

.svq-header-section .navbar {
  min-height: 82px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.ty-logo img,
.ty-logo svg {
  max-height: 46px;
  width: auto;
}

.navbar-nav > .menu-item > a {
  position: relative;
  color: var(--sd-ink) !important;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.navbar-nav > .menu-item > a::before {
  position: absolute;
  right: 0.85rem;
  bottom: 0.55rem;
  left: 0.85rem;
  height: 2px;
  border-radius: 999px;
  background: var(--sd-brand);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms var(--sd-ease);
}

.navbar-nav > .menu-item:hover > a::before,
.navbar-nav > .current-menu-item > a::before,
.navbar-nav > .current-menu-ancestor > a::before {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar-nav .dropdown-menu {
  padding: 10px;
  border: 1px solid var(--sd-line);
  border-radius: var(--sd-radius-sm);
  background: rgba(255, 253, 248, 0.98);
  box-shadow: var(--sd-shadow-lg);
}

.navbar-nav .dropdown-menu a {
  border-radius: 8px;
}

.navbar-nav .dropdown-menu a:hover {
  background: var(--sd-soft);
}

.ty-search .btn-search-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--sd-line);
  border-radius: 50%;
  color: var(--sd-ink);
  background: rgba(255, 255, 255, 0.65);
}

/* Keep the two search-button icons in mutually exclusive states. */
.ty-search .btn-search-toggle .btn--active-state {
  display: none;
}

.ty-search .btn-search-toggle .btn--default-state {
  display: inline-flex;
}

.ty-search.is-visible .btn-search-toggle .btn--default-state {
  display: none;
}

.ty-search.is-visible .btn-search-toggle .btn--active-state {
  display: inline-flex;
}

.navbar-custom-toggler {
  border: 1px solid var(--sd-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}

/* Editorial panels */
.svq-panel {
  overflow: hidden;
  background: var(--sd-soft);
}

.svq-panel--light:not(.has-featured-image),
.svq-main-page {
  background:
    linear-gradient(135deg, rgba(23, 107, 85, 0.07), transparent 52%),
    var(--sd-soft);
}

.svq-panel .entry-header-content {
  max-width: 960px;
}

.svq-panel .entry-title {
  color: var(--sd-ink);
  font-weight: 800;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.has-featured-image.svq-panel--title-over::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 24, 19, 0.08) 10%, rgba(8, 24, 19, 0.82) 100%);
  content: "";
  pointer-events: none;
}

.has-featured-image.svq-panel--title-over .entry-header {
  z-index: 2;
}

.entry-meta {
  color: var(--sd-muted);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.meta-category__link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(23, 107, 85, 0.1);
  color: var(--sd-brand-dark) !important;
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

/* Archive and article cards */
.svq-site-content {
  padding-top: clamp(38px, 6vw, 88px);
  padding-bottom: clamp(60px, 8vw, 112px);
}

/* Typer calculates column widths and masonry positions itself; retain its gutters. */

.svq-article--list-card .svq-article {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--sd-line);
  border-radius: var(--sd-radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--sd-shadow-sm);
  transition: transform 420ms var(--sd-ease), box-shadow 420ms var(--sd-ease), border-color 300ms ease;
}

.svq-article--list-card .svq-article:hover {
  border-color: rgba(23, 107, 85, 0.2);
  box-shadow: var(--sd-shadow-lg);
  transform: translateY(-7px);
}

.svq-article--list-card .post-thumbnail,
.svq-article--list-card .svq-media-image,
.svq-article--list-card .svq-progressive,
.svq-article--list-card figure {
  overflow: hidden;
}

.svq-article--list-card .svq-progressive__image,
.svq-article--list-card .svq-gallery__image,
.svq-article--list-card .wp-post-image {
  transition: transform 700ms var(--sd-ease), filter 500ms ease;
}

.svq-article--list-card .svq-article:hover .svq-progressive__image,
.svq-article--list-card .svq-article:hover .svq-gallery__image,
.svq-article--list-card .svq-article:hover .wp-post-image {
  transform: scale(1.035);
}

.svq-article--list-card .svq-article > *:not(.post-thumbnail):not(.svq-media-image):not(.svq-article-content),
.svq-article--list-card .svq-article-content > * {
  margin-right: clamp(20px, 2.4vw, 30px);
  margin-left: clamp(20px, 2.4vw, 30px);
}

.svq-article--list-card .meta-category {
  margin-top: 24px;
}

.svq-article--list-card .heading-title {
  margin-top: 15px;
}

.svq-article--list-card .heading-title-text {
  color: var(--sd-ink);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.18;
  text-wrap: balance;
}

.svq-article--list-card .heading-title-link {
  color: inherit;
}

.svq-article--list-card .heading-title-link:hover {
  color: var(--sd-brand);
}

.svq-article--list-card .post-excerpt {
  color: var(--sd-copy);
  font-size: 0.98rem;
  line-height: 1.7;
}

.svq-article--list-card .entry-meta {
  margin-top: auto;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid var(--sd-line);
}

.svq-article--list-card .svq-article:not(.has-post-thumbnail) {
  background:
    radial-gradient(circle at 105% -10%, rgba(234, 169, 75, 0.17), transparent 13rem),
    rgba(255, 255, 255, 0.82);
}

/* Long-form reading */
.single .svq-site-content,
.page .svq-site-content {
  padding-top: clamp(44px, 7vw, 96px);
}

.entry-content {
  color: #33443f;
  font-size: clamp(1.04rem, 0.98rem + 0.25vw, 1.19rem);
  line-height: 1.83;
}

.entry-content > p:first-child::first-letter {
  float: left;
  margin: 0.1em 0.1em 0 0;
  color: var(--sd-brand);
  font-family: Georgia, serif;
  font-size: 3.7em;
  font-weight: 700;
  line-height: 0.78;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 1.85em;
  color: var(--sd-ink);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.entry-content img,
.entry-content .wp-block-image,
.entry-content .wp-block-embed {
  border-radius: var(--sd-radius-sm);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
  margin: 2.3em 0;
  padding: 1.35em 1.5em;
  border: 0;
  border-left: 4px solid var(--sd-accent);
  border-radius: 0 var(--sd-radius-sm) var(--sd-radius-sm) 0;
  background: var(--sd-soft);
  color: var(--sd-ink);
}

.entry-content code:not(pre code) {
  padding: 0.12em 0.35em;
  border: 1px solid var(--sd-line);
  border-radius: 5px;
  background: var(--sd-soft);
  color: var(--sd-brand-dark);
}

.entry-content pre {
  border-radius: var(--sd-radius-sm);
  box-shadow: var(--sd-shadow-sm);
}

.entry-content table {
  overflow: hidden;
  border: 1px solid var(--sd-line);
  border-radius: var(--sd-radius-sm);
}

.entry-content th {
  background: var(--sd-soft);
  color: var(--sd-ink);
}

/* Forms, navigation and sidebars */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="url"],
input[type="password"],
textarea,
select {
  border: 1px solid var(--sd-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 2px rgba(19, 35, 31, 0.025);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(23, 107, 85, 0.48);
  box-shadow: 0 0 0 4px rgba(23, 107, 85, 0.09);
}

.btn,
button,
input[type="submit"] {
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition: transform 220ms var(--sd-ease), box-shadow 220ms ease, background-color 180ms ease;
}

.btn:hover,
button:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
}

.widget {
  margin-bottom: 26px;
  padding: 24px;
  border: 1px solid var(--sd-line);
  border-radius: var(--sd-radius);
  background: rgba(255, 255, 255, 0.68);
}

.widget-title {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 13px;
  color: var(--sd-ink);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.widget-title::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  border-radius: 999px;
  background: var(--sd-accent);
  content: "";
}

.pagination .page-numbers,
.nav-links .page-numbers {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--sd-line);
  border-radius: 50%;
  background: white;
  color: var(--sd-ink);
}

.pagination .current,
.nav-links .current {
  border-color: var(--sd-brand);
  background: var(--sd-brand);
  color: white;
}

/* Footer */
.svq-footer-section {
  position: relative;
  overflow: hidden;
  border-top: 0;
  background: var(--sd-ink);
  color: rgba(255, 255, 255, 0.72);
}

.svq-footer-section::before {
  position: absolute;
  top: -220px;
  right: -160px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.018);
  content: "";
}

.svq-footer-section .widget {
  padding: 0;
  border: 0;
  background: transparent;
}

.svq-footer-section .widget-title,
.svq-footer-section a {
  color: #fff;
}

.svq-footer-section a:hover {
  color: #f2bf70;
}

.svq-footer-section .site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

/* Dark mode */
.svq-darkmode {
  --sd-ink: #eff7f3;
  --sd-copy: #c0cec9;
  --sd-muted: #91a29d;
  --sd-paper: #101814;
  --sd-soft: #19241f;
  --sd-line: rgba(255, 255, 255, 0.1);
  --header-bg-color: rgba(16, 24, 20, 0.9);
  --heading-color: var(--sd-ink);
  --text-color: var(--sd-copy);
  --link-color: #72cdb0;
  --link-hover: #a2e1cc;
  --sd-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.22);
  --sd-shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.34);
}

.svq-darkmode .svq-article--list-card .svq-article,
.svq-darkmode .widget,
.svq-darkmode input,
.svq-darkmode textarea,
.svq-darkmode select {
  background-color: rgba(25, 36, 31, 0.88);
}

/* Responsive finish */
@media (max-width: 991.98px) {
  .svq-header-section .navbar {
    min-height: 70px;
  }

  .navbar-collapse {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid var(--sd-line);
    border-radius: var(--sd-radius);
    background: var(--sd-paper);
    box-shadow: var(--sd-shadow-lg);
  }

  .navbar-nav > .menu-item > a::before {
    display: none;
  }

  .navbar-nav > .menu-item > a {
    padding: 12px 8px;
    font-size: 0.92rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --font-size-base: 1rem;
    --sd-radius: 16px;
  }

  .svq-site-content {
    padding-top: 32px;
    padding-bottom: 64px;
  }

  .svq-panel .entry-title {
    font-size: clamp(2rem, 10vw, 3.25rem);
    line-height: 1.04;
  }


  .svq-article--list-card .svq-article:hover {
    transform: translateY(-3px);
  }

  .entry-content > p:first-child::first-letter {
    font-size: 3.2em;
  }

  .widget {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Compatibility with Customizer styles and Typer Pro's inversion dark mode.
 * These targeted overrides intentionally win over the legacy decorative rules.
 */
html.svq-darkmode,
html.svq-darkmode body *,
html.svq-darkmode body *::before,
html.svq-darkmode body *::after {
  filter: none !important;
}

html body {
  --body-bg-color: var(--sd-paper);
  --heading-color: var(--sd-ink);
  --text-color: var(--sd-copy);
  --text-meta-color: var(--sd-muted);
  --border-color: var(--sd-line);
  --featured-color: var(--sd-soft);
  --featured-contrast-color: var(--sd-ink);
  --archive-color: var(--sd-soft);
  --archive-contrast-color: var(--sd-ink);
  --heading-font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

html body .svq-page-wrapper,
html body .svq-main-page {
  background: var(--sd-paper);
  color: var(--sd-copy);
}

html body .svq-header-section .navbar-container {
  padding-block: 0;
  background: var(--sd-paper);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

body.home .svq-site-content {
  padding-top: 24px;
}

html body .svq-media-slider.svq-media-slider--featured::after {
  background: var(--sd-soft) !important;
}

html body .svq-media-slider--featured {
  padding-top: 36px;
  padding-bottom: 28px;
  margin-bottom: 40px;
}

html body .svq-media-slider--featured > .heading-title .heading-title-text {
  color: var(--sd-ink);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  letter-spacing: -0.035em;
}

html body .svq-article--list-card .svq-article {
  background: var(--sd-paper) !important;
  box-shadow: var(--sd-shadow-sm) !important;
  border: 1px solid var(--sd-line);
}

html body .svq-article--list-card .svq-article:hover {
  box-shadow: var(--sd-shadow-lg) !important;
}

/* Avoid doubling the padding already supplied by the original card layout. */
html body .svq-article--list-card .post-thumbnail-wide .meta-category,
html body .svq-article--list-card .post-thumbnail-wide .heading-title,
html body .svq-article--list-card .post-thumbnail-wide .entry-meta,
html body .svq-article--list-card .post-thumbnail-wide .post-excerpt {
  padding-inline: 0;
}

html body .svq-article--list-card .svq-article:not(.post-thumbnail-wide) > * {
  margin-inline: 0;
}

html body .svq-media-slider--featured .svq-article .heading-title .heading-title-link {
  max-height: none;
  -webkit-line-clamp: 3;
  line-height: 1.25;
}

html body .svq-article--list-card .entry-meta,
html body .svq-panel .entry-meta {
  font-size: 0.78rem;
  line-height: 1.6;
  letter-spacing: 0.015em;
  text-transform: none;
}

html body .entry-content {
  color: var(--sd-copy);
}

html.svq-darkmode body {
  --sd-brand: #83d9bb;
  --sd-brand-dark: #a2e1cc;
  --body-bg-h: 150;
  --body-bg-s: 20%;
  --body-bg-l: 8%;
  --light-color: #22352c;
  --light-contrast-color: #eff7f3;
  --link-color: #83d9bb;
  --link-hover: #a2e1cc;
  background: var(--sd-paper);
  color: var(--sd-copy);
  color-scheme: dark;
}

html.svq-darkmode .entry-content :where(p, li, strong, em),
html.svq-darkmode .svq-article .screen-reader-link {
  color: var(--sd-copy);
}

html.svq-darkmode .svq-panel:not(.has-featured-image),
html.svq-darkmode .navbar-nav .dropdown-menu {
  background: var(--sd-soft);
  color: var(--sd-ink);
}

html.svq-darkmode .entry-content :where(h2, h3, h4),
html.svq-darkmode .svq-panel:not(.has-featured-image) .entry-title {
  color: var(--sd-ink);
}

html body .svq-footer-section {
  background: #13231f;
}

@media (max-width: 767.98px) {
  html body .svq-header-section .navbar {
    min-height: 68px;
  }

  html body .svq-panel:not(.has-featured-image) .entry-header {
    padding-block: 32px;
  }

  html body .svq-panel .entry-title {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
  }

  html body .svq-media-slider--featured {
    padding-block: 24px;
    margin-bottom: 28px;
  }

  html body .svq-media-slider--featured .heading-title-text {
    font-size: 1.3rem;
  }
}

/* Explicit themes also override classes left behind by Typer Pro. */
html[data-sd-theme="light"], html[data-sd-theme="light"] body {
  --sd-ink: #292b25; --sd-copy: #50534a; --sd-muted: #686b61;
  --sd-paper: #faf7ef; --sd-soft: #f0eadc; --sd-line: #dedbce;
  --sd-brand: #53634b; --sd-brand-dark: #384831; --sd-accent: #a65d43;
  --link-color: #53634b; --link-hover: #384831;
  color-scheme: light;
}
html[data-sd-theme="dark"], html[data-sd-theme="dark"] body {
  --sd-ink: #f1eddf; --sd-copy: #ccc8bb; --sd-muted: #aaa99b;
  --sd-paper: #1c211d; --sd-soft: #282e27; --sd-line: #434a3f;
  --sd-brand: #b8ca9c; --sd-brand-dark: #d3e3ba; --sd-accent: #e0a485;
  --link-color: #b8ca9c; --link-hover: #d3e3ba;
  color-scheme: dark;
}
html[data-sd-theme], html[data-sd-theme] body {
  background: var(--sd-paper); color: var(--sd-copy); filter: none !important;
}
html[data-sd-theme] body {
  --heading-color: var(--sd-ink); --text-color: var(--sd-copy);
  --body-bg-color: var(--sd-paper); --primary-color: var(--sd-brand);
}
.sd-theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 8px 14px; margin-inline: 18px; border: 1px solid var(--sd-line);
  background: var(--sd-soft); color: var(--sd-ink); cursor: pointer;
  font: 500 0.8rem/1.4 "Helvetica Neue", Arial, sans-serif;
}
.sd-theme-toggle[hidden] { display: none; }
.sd-theme-symbol { display: inline-flex; flex: 0 0 22px; width: 22px; align-items: center; justify-content: center; font-size: 22px; line-height: 1; }
.sd-theme-label { position: static; white-space: nowrap; }
html[data-sd-theme] .pagination .page-numbers { background: var(--sd-soft); color: var(--sd-ink); }
html[data-sd-theme] .pagination .current { background: var(--sd-brand); color: var(--sd-paper); }
html[data-sd-theme] input, html[data-sd-theme] textarea, html[data-sd-theme] select {
  background-color: var(--sd-soft); color: var(--sd-ink);
}
html[data-sd-theme] .navbar-nav .dropdown-menu { background: var(--sd-paper); }
html[data-sd-theme] .navbar-nav .dropdown-menu a { color: var(--sd-ink); }
.sd-journal-intro h1 em { color: var(--sd-brand); font-weight: 400; }
.sd-personal-note {
  display: flex; align-items: center; gap: 24px; padding: 28px 32px;
  margin-bottom: 32px; background: var(--sd-soft); border-left: 3px solid var(--sd-accent);
}
.sd-personal-note p { margin: 0; line-height: 1.7; }
.sd-personal-note .sd-eyebrow { margin-bottom: 6px; }
.sd-note-mark { color: var(--sd-accent); font-size: 48px; }
.sd-personal-note > a { margin-left: auto; white-space: nowrap; font-size: 0.8rem; }
.sd-journal .sd-story-lead { padding: 36px; background: var(--sd-soft); border-top: 2px solid var(--sd-accent); }
.sd-journal .sd-story:not(.sd-story-lead) h2 a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.sd-journal .sd-story:not(.sd-story-lead) h2 a:hover { text-decoration: underline; }
@media (max-width: 767.98px) {
  .sd-theme-toggle { margin-inline: 8px; padding: 8px 10px; }
  .sd-personal-note { flex-wrap: wrap; padding: 22px; gap: 14px; }
  .sd-note-mark { display: none; }
  .sd-personal-note > a { margin-left: 0; }
  .sd-journal .sd-story-lead { padding: 24px; }
}

/* Personal masthead and footer. */
.sd-wordmark { display: block; color: var(--sd-ink); font: 700 32px/1 Georgia, serif; letter-spacing: -1.5px; }
.sd-wordmark .sd-wordmark-name { color: var(--sd-ink); }
.sd-wordmark .sd-wordmark-dot { color: var(--sd-accent); }
.sd-wordmark small { display: block; margin-top: 8px; font: 500 10px/1.4 Arial, sans-serif; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sd-muted); }
html body .svq-header-section .navbar { gap: 16px; min-height: 92px; }
.svq-header-section .sd-theme-toggle { order: 3; margin: 0; flex-shrink: 0; }
html body .navbar-nav > .menu-item > a { font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.sd-footer { background: #17251f; color: #c7d0c6; border-top: 3px solid #aebc95; }
.sd-footer-inner { width: min(1160px, calc(100% - 64px)); margin: auto; padding: 64px 0 24px; }
.sd-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 64px; padding-bottom: 56px; }
.sd-footer .sd-footer-kicker, .sd-footer nav h3 { color: #b9c89f; font: 600 11px/1.5 Arial, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 22px; }
.sd-footer .sd-footer-profile h2 { font: 400 clamp(2.5rem, 4vw, 3.7rem)/1.05 Georgia, serif; letter-spacing: -0.04em; color: #f6f2e7; margin: 0 0 22px; }
.sd-footer-profile h2 span { color: #dcab89; }
.sd-footer-profile > p { max-width: 390px; font-size: 0.95rem; line-height: 1.8; }
.sd-footer a { color: #e3e8dc; }
.sd-footer a:hover { color: #edbb91; }
.sd-footer nav a { display: block; padding: 9px 0; font-size: 0.9rem; line-height: 1.5; }
.sd-footer-rss { display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding-bottom: 8px; border-bottom: 1px solid #60745b; font-size: 0.85rem; }
.sd-footer-rss small { font-size: 10px; border: 1px solid #60745b; padding: 2px 5px; border-radius: 4px; }
.sd-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #3e4c41; font-size: 0.75rem; line-height: 1.6; color: #aab8a8; }
.sd-footer-bottom .site-info, .sd-footer-bottom p { margin: 0; }
@media (max-width: 991.98px) {
  .svq-header-section .sd-theme-toggle { order: 0; margin-left: auto; }
  .svq-header-section .navbar-collapse { flex-basis: 100%; }
  .sd-footer-top { grid-template-columns: 1.4fr 1fr; gap: 32px; }
  .sd-footer-profile { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
  html body .svq-header-section .navbar { gap: 10px; }
  .sd-wordmark { font-size: 24px; }
  .sd-wordmark small { font-size: 8px; }
  .sd-theme-toggle .sd-theme-label { display: none; }
  .sd-footer-inner { width: calc(100% - 40px); padding-top: 40px; }
  .sd-footer-top { gap: 32px 24px; padding-bottom: 32px; }
}

/* Literary journal: a dedicated layout, independent of Typer's card grid. */
.sd-journal {
  width: min(1160px, calc(100% - 64px));
  margin: 0 auto;
  padding-bottom: 72px;
  color: var(--sd-copy);
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.sd-journal h1, .sd-journal h2 {
  color: var(--sd-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.sd-journal a { color: var(--sd-ink); }
.sd-journal a:hover { color: var(--sd-brand); }
.sd-journal-intro { padding: 72px 0 56px; max-width: 860px; }
.sd-journal .sd-eyebrow {
  margin: 0 0 18px;
  color: var(--sd-brand);
  font: 600 0.75rem/1.5 "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.sd-journal-intro h1 { margin: 0 0 24px; font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: 1.06; }
.sd-journal-intro > p:not(.sd-eyebrow) { max-width: 560px; font-size: 1.125rem; line-height: 1.75; }
.sd-text-link { display: inline-block; padding: 12px 0; border-bottom: 1px solid var(--sd-accent); font-size: 0.875rem; }
.sd-topics { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; padding: 22px 0; border-block: 1px solid var(--sd-line); }
.sd-topics .sd-eyebrow { margin: 0; }
.sd-topics a { font-size: 0.875rem; padding-block: 6px; }
.sd-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding-top: 48px; }
.sd-section-heading h2 { font-size: 1.8rem; }
.sd-stories { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.sd-story { min-width: 0; padding: 32px 0; border-bottom: 1px solid var(--sd-line); }
.sd-story-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr); padding: 32px 0 44px; }
.sd-story-lead.has-post-thumbnail { grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.sd-story-lead:not(.has-post-thumbnail) .sd-story-copy { max-width: 820px; }
.sd-journal .sd-series { font-size: 0.82rem; line-height: 1.65; letter-spacing: 0.025em; margin-bottom: 10px; color: var(--sd-muted); }
.sd-story h2 { margin: 0 0 16px; font-size: clamp(1.65rem, 2.6vw, 2.2rem); line-height: 1.18; overflow-wrap: anywhere; }
.sd-story-lead h2 { font-size: clamp(2.3rem, 4.5vw, 3.8rem); }
.sd-excerpt { font: 1.075rem/1.8 Georgia, serif; margin: 0 0 24px; }
.sd-story-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.78rem; line-height: 1.6; color: var(--sd-muted); }
.sd-story-meta a { color: var(--sd-brand); }
.sd-story-image { display: block; margin-top: 24px; }
.sd-story-image img { width: 100%; height: auto; max-height: 380px; object-fit: cover; border-radius: 3px; }
.sd-story-lead .sd-story-image { margin: 0; }
.sd-library { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 64px; padding: 40px; background: var(--sd-soft); }
.sd-library h2 { font-size: 2rem; line-height: 1.2; margin: 0; }
.sd-library-links a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--sd-line); }
html body .svq-header-section .navbar-container { box-shadow: none; }
html body .svq-panel .entry-title { font-family: Georgia, serif; font-weight: 400; }
.single .entry-content { font-family: Georgia, serif; }
.single .entry-content > p:first-child::first-letter { float: none; margin: 0; font: inherit; color: inherit; }
html body .svq-article--list-card .svq-article { border-radius: 4px; box-shadow: none !important; }
html body .svq-article--list-card .svq-article:hover { transform: none; box-shadow: none !important; }
body.home .svq-footer-section .widget-area { display: none; }
body.home .svq-footer-section .site-info { margin: 0; padding: 28px 0; }
@media (max-width: 767.98px) {
  .sd-journal { width: calc(100% - 40px); }
  .sd-journal-intro { padding: 40px 0 32px; }
  .sd-stories, .sd-story-lead.has-post-thumbnail, .sd-library { grid-template-columns: 1fr; gap: 0; }
  .sd-story-lead.has-post-thumbnail { gap: 24px; }
  .sd-section-heading > .sd-eyebrow { display: none; }
  .sd-library { padding: 24px; gap: 24px; margin-top: 40px; }
  .sd-topics { gap: 8px 20px; }
}

/* Full-name identity and shared public navigation. */
.sd-wordmark { font-size: clamp(23px, 2.1vw, 30px); letter-spacing: -1px; }
.sd-wordmark-name { white-space: nowrap; }
.sd-wordmark small { letter-spacing: 0.055em; font-size: 9px; }
.sd-brand-menu { margin-left: auto; align-items: center; }
.sd-header-search { margin-left: 12px; }
.sd-journal [id] { scroll-margin-top: 140px; }
.sd-personal-note > div { min-width: 0; }
.sd-network { padding: 56px 0 0; max-width: 820px; }
.sd-network h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); margin: 0 0 20px; }
.sd-network > p:not(.sd-eyebrow) { font-size: 1.05rem; line-height: 1.8; }
.sd-network-actions { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.sd-footer-profile h2 { max-width: 420px; }
@media (min-width: 992px) {
  html body .svq-header-section .navbar { gap: 12px; }
  html body .sd-brand-menu > .menu-item > a { padding-inline: 9px; font-size: 0.8rem; }
  .svq-header-section .sd-theme-toggle { padding-inline: 10px; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .sd-theme-toggle .sd-theme-label { display: none; }
  html body .sd-brand-menu > .menu-item > a { padding-inline: 6px; font-size: 0.76rem; }
}
@media (max-width: 991.98px) {
  .sd-brand-menu { align-items: stretch; margin: 0; }
  .sd-header-search { margin-left: 0; }
  html body .svq-header-section .navbar-custom-toggler { flex-shrink: 0; transform: none; }
}
@media (max-width: 359.98px) {
  .sd-wordmark { font-size: 20px; }
  .sd-wordmark small { font-size: 7px; }
}

@media (max-width: 575.98px) {
  html body .svq-header-section .navbar { column-gap: 8px; }
  .sd-wordmark { font-size: 21px; }
  .sd-wordmark small { font-size: 7px; letter-spacing: 0.02em; }
  .svq-header-section .sd-theme-toggle {
    width: 36px; min-height: 44px; padding: 4px; justify-content: center;
  }
  html body .svq-header-section .navbar-custom-toggler {
    width: 36px; height: 44px; margin: 0;
  }
}
@media (max-width: 359.98px) {
  .sd-wordmark { font-size: 16px; }
  .sd-wordmark small { font-size: 6px; }
  html body .svq-header-section .navbar { column-gap: 6px; }
  .sd-journal-intro h1 { font-size: 2.1rem; overflow-wrap: anywhere; }
}

html[data-sd-theme] body .svq-header-section .navbar-container { box-shadow: none; }

/* 2026 editorial homepage — composed to match the sdimyati art direction. */
:root {
  --sdi-red: #7b202a;
  --sdi-red-dark: #5f151e;
  --sdi-paper: #f7f3eb;
  --sdi-cream: #eee7dc;
  --sdi-ink: #111516;
  --sdi-muted: #69655f;
  --sdi-line: rgba(43, 32, 24, .14);
  --sdi-section-space: clamp(52px, 5.5vw, 80px);
}
html[data-sd-theme="dark"] {
  --sdi-paper: #1c211d;
  --sdi-cream: #282e27;
  --sdi-ink: #f1eddf;
  --sdi-muted: #aaa99b;
  --sdi-line: rgba(255, 255, 255, .14);
}
body.home { background: var(--sdi-paper); }
body.home .svq-site-content { padding: 0; }
body.home .sd-home { width: min(1440px, calc(100% - 80px)); margin: auto; padding: 0 0 80px; color: var(--sdi-ink); font-family: Arial, sans-serif; }
.sd-home h1, .sd-home h2, .sd-home h3, .sd-home strong { color: var(--sdi-ink); }
.sd-home h1, .sd-feature h2 { font-family: Georgia, "Times New Roman", serif; }
.sd-home a { color: inherit; text-decoration: none; }
.sd-home img { display: block; width: 100%; }
.sd-home-hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; min-height: 540px; padding: 44px 0 32px; border-bottom: 1px solid var(--sdi-line); }
.sd-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 28px 64px 28px 0; }
.sd-overline { margin: 0 0 18px; color: var(--sdi-muted); font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.sd-overline i { padding: 0 6px; font-style: normal; color: var(--sdi-red); }
.sd-hero-copy h1 { margin: 0 0 26px; font-size: clamp(2.8rem, 4.6vw, 5.25rem); font-weight: 700; line-height: .94; letter-spacing: -.055em; }
.sd-hero-lede { max-width: 600px; margin: 0 0 28px; font-size: clamp(.93rem, 1.25vw, 1.15rem); line-height: 1.5; color: var(--sdi-muted); }
.sd-hero-actions { display: flex; gap: 12px; margin-bottom: 22px; }
.sd-button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 44px; padding: 9px 26px; border: 1px solid var(--sdi-red); border-radius: 999px; font-size: 14px; font-weight: 600; transition: .2s ease; }
.sd-button-primary { background: var(--sdi-red); color: #fff !important; }
.sd-button-primary:hover { background: var(--sdi-red-dark); transform: translateY(-2px); }
.sd-button-ghost:hover { background: #f2e7e5; }
.sd-hero-copy blockquote { margin: 0; padding-left: 14px; border-left: 2px solid #ba9b82; font: italic 12px/1.35 Georgia, serif; color: var(--sdi-muted); }
.sd-hero-copy cite { display: block; font-size: 10px; }
.sd-hero-art { position: relative; min-width: 0; overflow: hidden; }
.sd-hero-art img { height: 100%; min-height: 464px; object-fit: cover; }
.sd-handnote { position: absolute; top: 18px; left: 22px; padding: 9px 14px; transform: rotate(-7deg); color: var(--sdi-red); background: rgba(250,248,243,.8); font: italic 20px/1.1 Georgia, serif; }
.sd-home-section { padding-top: var(--sdi-section-space); }
.sd-home-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.sd-home-heading > div { display: flex; align-items: baseline; gap: 16px; }
.sd-home-heading h2 { margin: 0; font: 700 21px/1.2 Arial, sans-serif; letter-spacing: -.035em; }
.sd-home-heading p { margin: 0; color: var(--sdi-muted); font-size: 11px; }
.sd-home-heading > a { color: var(--sdi-red); font-size: 11px; font-weight: 700; }
.sd-home-heading > a span { margin-left: 10px; font-size: 18px; }
.sd-topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sd-topic-card { position: relative; height: 210px; overflow: hidden; border-radius: 7px; color: #fff !important; }
.sd-topic-card img { height: 100%; object-fit: cover; transform: scale(1.01); transition: transform .5s ease; }
.sd-topic-card:hover img { transform: scale(1.055); }
.sd-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,6,5,.85), transparent 75%); }
.sd-topic-copy { position: absolute; bottom: 16px; left: 16px; max-width: 78%; }
.sd-topic-copy strong, .sd-topic-copy small { display: block; color: #fff; }
.sd-topic-copy strong { font-size: 20px; }
.sd-topic-copy small { margin-top: 2px; font-size: 12px; line-height: 1.25; }
.sd-topic-card > b, .sd-project-card > b { position: absolute; right: 12px; bottom: 12px; display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #fff; color: #111; }
.sd-feature { display: grid; grid-template-columns: 1.25fr 1.2fr .55fr; min-height: 280px; margin-top: var(--sdi-section-space); overflow: hidden; border-radius: 9px; background: var(--sdi-cream); }
.sd-feature-copy { padding: 30px 34px; }
.sd-label { display: inline-block; color: var(--sdi-red); font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sd-feature-copy > .sd-label { padding: 5px 13px; border-radius: 3px; color: #fff; background: var(--sdi-red); }
.sd-feature h2 { margin: 9px 0 0; font-size: clamp(2rem, 3vw, 3rem); line-height: .94; letter-spacing: -.05em; }
.sd-feature h3 { margin: 2px 0 8px; font-size: 18px; }
.sd-feature p { margin: 0 0 18px; font-size: 12px; line-height: 1.55; }
.sd-feature .sd-button { min-height: 34px; padding: 6px 20px; font-size: 12px; }
.sd-feature-art { position: relative; overflow: hidden; }
.sd-feature-art img { height: 100%; object-fit: cover; object-position: 80% center; filter: grayscale(1) sepia(.16); }
.sd-feature-art span { position: absolute; top: 22px; left: 18px; max-width: 180px; transform: rotate(-5deg); color: var(--sdi-red); font: italic 16px/1.25 Georgia, serif; }
.sd-collab { padding: 24px 14px; text-align: center; background: rgba(255,255,255,.42); }
.sd-collab small { display: block; margin-bottom: 14px; font-size: 10px; }
.sd-collab strong { display: block; font: 700 16px/.85 Georgia, serif; }
.sd-collab p { margin-top: 14px; font-size: 10px; }
.sd-project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sd-project-card { position: relative; display: grid; grid-template-columns: 38% 62%; min-height: 152px; overflow: hidden; border-radius: 7px; background: #f1ede6; }
html[data-sd-theme="dark"] .sd-project-card,
html[data-sd-theme="dark"] .sd-about { background: var(--sdi-cream); }
.sd-project-card > img { height: 100%; object-fit: cover; }
.sd-project-card > span { padding: 16px 14px; }
.sd-project-card strong, .sd-project-card small { display: block; }
.sd-project-card strong { font-size: 15px; }
.sd-project-card small { margin: 8px 0; color: var(--sdi-muted); font-size: 9px; }
.sd-project-card p { margin: 0; color: var(--sdi-muted); font-size: 10px; line-height: 1.45; }
.sd-home-columns { display: grid; grid-template-columns: 1.25fr .85fr; gap: 40px; margin-top: var(--sdi-section-space); }
.sd-home-columns > .sd-home-section { padding-top: 0; }
.sd-news-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 20px; }
.sd-news-lead { padding-bottom: 10px; }
.sd-news-lead > img { height: 190px; margin-bottom: 10px; object-fit: cover; }
.sd-news-lead h3 { margin: 4px 0; font-size: 18px; line-height: 1.15; }
.sd-news-lead p { margin: 7px 0 15px; font-size: 11px; line-height: 1.45; color: var(--sdi-muted); }
.sd-news-lead > small, .sd-news-list em { font-size: 9px; font-style: normal; color: var(--sdi-muted); }
.sd-news-list a { display: grid; grid-template-columns: 86px 1fr; gap: 12px; min-height: 82px; padding: 8px 0; border-bottom: 1px solid var(--sdi-line); }
.sd-news-list img { height: 72px; object-fit: cover; }
.sd-news-list small, .sd-news-list strong, .sd-news-list em { display: block; }
.sd-news-list small { color: var(--sdi-red); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.sd-news-list strong { margin: 3px 0; font-size: 11px; line-height: 1.25; }
.sd-podcast-banner { position: relative; min-height: 115px; padding: 19px 22px; border-radius: 7px; overflow: hidden; color: #fff; background: linear-gradient(90deg, rgba(20,11,8,.82), rgba(34,13,7,.45)), url('../img/sdi-podcast-banner.webp') center/cover; }
.sd-podcast-banner > span { display: block; font-size: 9px; letter-spacing: .2em; }
.sd-podcast-banner > strong { display: block; margin-top: 8px; color: #fff; font: 700 21px/1 Georgia, serif; }
.sd-podcast-banner p { margin: 2px 0; font: italic 12px Georgia, serif; }
.sd-podcast-banner a { position: absolute; right: 13px; bottom: 14px; padding: 8px 13px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; font-size: 9px; }
.sd-podcast ol { margin: 0; padding: 0; list-style: none; }
.sd-podcast li { display: grid; grid-template-columns: 35px 1fr 27px 35px; align-items: center; gap: 8px; min-height: 52px; padding: 5px 10px; border-bottom: 1px solid var(--sdi-line); }
.sd-podcast li > b { color: var(--sdi-red); font-size: 11px; }
.sd-podcast li strong, .sd-podcast li small { display: block; }
.sd-podcast li strong { font-size: 10px; }
.sd-podcast li small, .sd-podcast time { color: var(--sdi-muted); font-size: 8px; }
.sd-podcast li i { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 50%; background: var(--sdi-red); color: #fff; font-size: 8px; font-style: normal; }
.sd-home-bottom { grid-template-columns: 1.1fr .9fr; }
.sd-book-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.sd-book-row a { display: flex; min-height: 147px; padding: 16px 10px; align-items: center; justify-content: center; text-align: center; box-shadow: 3px 5px 8px rgba(37,25,17,.17); color: #f8f3e8; background: #416477; font: 15px/1.1 Georgia, serif; }
.sd-book-row a:nth-child(2) { color: #342b23; background: #c9b9a0; }.sd-book-row a:nth-child(3) { background: #22201f; }.sd-book-row a:nth-child(4) { background: #9a3e31; }.sd-book-row a:nth-child(5) { color: #343630; background: #c9cec0; }.sd-book-row a:nth-child(6) { background: #554b3b; }
.sd-about { display: grid; grid-template-columns: 1.1fr .9fr; min-height: 224px; padding: 28px; background: #f1ece4; }
.sd-about h2 { margin: 4px 0 10px; font: 700 17px/1.2 Arial, sans-serif; }
.sd-about p:not(.sd-overline) { font-size: 10px; line-height: 1.5; }
.sd-about .sd-button { min-height: 34px; padding: 6px 18px; font-size: 10px; }
.sd-about figure { display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0; }
.sd-about .sd-portrait { width: 132px; height: 132px; border: 5px solid rgba(255,255,255,.55); border-radius: 50%; object-fit: cover; object-position: 50% 30%; box-shadow: 0 8px 24px rgba(37,25,17,.2); }
.sd-about figcaption { max-width: 150px; margin-top: 8px; transform: rotate(-4deg); color: var(--sdi-red); text-align: center; font: italic 11px/1.3 Georgia, serif; }
.sd-contact-button { align-self: center; margin-left: 12px; padding: 10px 17px; border-radius: 999px; background: var(--sdi-red); color: #fff !important; font-size: 12px; white-space: nowrap; }
html body .sd-wordmark { font-size: 29px; line-height: .8; letter-spacing: -1.5px; }
html body .sd-wordmark small { margin-top: 6px; font-size: 8px; text-transform: none; }
html body .svq-header-section .navbar { min-height: 64px; }
body.home .sd-footer { background: #f8f5ef; color: #2c2926; border-top: 1px solid var(--sdi-line); }
body.home .sd-footer a, body.home .sd-footer .sd-footer-profile h2 { color: var(--sdi-ink); }
body.home .sd-footer .sd-footer-kicker, body.home .sd-footer nav h3 { color: var(--sdi-red); }
body.home .sd-footer-bottom { color: #777; border-top-color: var(--sdi-line); }
html[data-sd-theme="dark"] body.home .sd-footer { background: var(--sdi-paper); color: var(--sdi-muted); }
html[data-sd-theme="dark"] body.home .sd-footer a,
html[data-sd-theme="dark"] body.home .sd-footer .sd-footer-profile h2 { color: var(--sdi-ink); }

@media (max-width: 1100px) {
  body.home .sd-home { width: min(100% - 44px, 1440px); }
  .sd-home-hero { grid-template-columns: 1fr 1fr; }
  .sd-hero-copy { padding-right: 30px; }
  .sd-project-grid { grid-template-columns: 1fr 1fr; }
  .sd-home-columns, .sd-home-bottom { grid-template-columns: 1fr; }
  .sd-contact-button { margin: 8px 0 18px; width: max-content; }
}
@media (max-width: 767px) {
  :root { --sdi-section-space: 44px; }
  body.home .sd-home { width: calc(100% - 28px); }
  .sd-home-hero { grid-template-columns: 1fr; min-height: 0; padding: 18px 0 28px; }
  .sd-hero-copy { padding: 28px 0 34px; }
  .sd-hero-copy h1 { font-size: clamp(2.45rem, 11.5vw, 4rem); }
  .sd-hero-art img { min-height: 290px; }
  .sd-topic-grid { grid-template-columns: 1fr 1fr; }
  .sd-topic-card { height: 180px; }
  .sd-feature { grid-template-columns: 1fr; }
  .sd-feature-art { height: 220px; }
  .sd-collab { text-align: left; }
  .sd-project-card { min-height: 125px; }
  .sd-book-row { grid-template-columns: repeat(3, 1fr); }
  .sd-home-heading > div { display: block; }
  .sd-home-heading p { margin-top: 3px; }
}
@media (max-width: 480px) {
  .sd-topic-grid, .sd-project-grid, .sd-news-layout, .sd-about { grid-template-columns: 1fr; }
  .sd-topic-card { height: 195px; }
  .sd-project-card { grid-template-columns: 36% 64%; }
  .sd-news-lead > img { height: 220px; }
  .sd-book-row { grid-template-columns: repeat(2, 1fr); }
  .sd-about figure { margin-top: 24px; }
  .sd-home-heading > a { max-width: 95px; text-align: right; }
  .sd-hero-actions { flex-wrap: wrap; }
}
