@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/manrope-variable.ttf") format("truetype");
}

:root {
  --tarosite-purple: #41004f;
  --tarosite-purple-deep: #2d0739;
  --tarosite-ink: #2d1c38;
  --tarosite-cream: #f8f1e7;
  --tarosite-cream-alt: #f3e7d8;
  --tarosite-paper: #fff9f1;
  --tarosite-surface: #fcf8f2;
  --tarosite-gold: #b78935;
  --tarosite-gold-light: #b78935;
  --tarosite-muted: #65576b;
  --tarosite-dark-muted: #e8dccb;
  --tarosite-line: #d9c8b2;
  --tarosite-shell: 1180px;
  --tarosite-header-shell: 1400px;
  --tarosite-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --tarosite-body: Manrope, "Segoe UI", Arial, sans-serif;
  --tarosite-shadow: 0 24px 70px rgba(41, 29, 58, 0.14);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  color: var(--tarosite-ink);
  font-family: var(--tarosite-body);
  line-height: 1.65;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--tarosite-gold-light) !important;
  outline-offset: 4px;
}

.tarosite-shell {
  width: min(calc(100% - 3rem), var(--tarosite-shell));
  max-width: var(--tarosite-shell);
  margin-inline: auto;
}

#header-wrapper,
#header-wrapper #header,
#header-wrapper #header > .container {
  min-height: 0;
  margin: 0;
  padding: 0;
  background: var(--tarosite-purple);
  border: 0;
}

#header-wrapper {
  position: relative;
  z-index: 100;
  width: 100%;
  box-shadow: none;
}

#header-wrapper #header > .container,
#footer > .container {
  width: 100%;
  max-width: none;
}

.tarosite-skip-link {
  position: fixed;
  z-index: 100000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  background: var(--tarosite-gold);
  color: var(--tarosite-purple-deep) !important;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.tarosite-skip-link:focus {
  transform: translateY(0);
}

.tarosite-site-header {
  color: var(--tarosite-paper);
  border-bottom: 1px solid var(--tarosite-line);
}

.tarosite-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2rem);
  width: min(calc(100% - 2.5rem), var(--tarosite-header-shell));
  max-width: var(--tarosite-header-shell);
  min-height: 6.125rem;
}

.tarosite-brand {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  gap: 0.85rem;
  color: var(--tarosite-paper) !important;
  text-decoration: none !important;
}

.tarosite-brand img {
  width: 3.75rem;
  height: 3.25rem;
  object-fit: contain;
}

.tarosite-brand span {
  font-family: var(--tarosite-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.tarosite-primary-navigation {
  min-width: 0;
}

.tarosite-menu {
  display: flex;
  align-items: stretch;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tarosite-menu .menu-item {
  position: relative;
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

.tarosite-menu .menu-item > a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.65rem clamp(0.55rem, 1vw, 0.95rem);
  color: var(--tarosite-paper) !important;
  font-family: var(--tarosite-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease;
}

.tarosite-menu .menu-item > a:hover,
.tarosite-menu .menu-item > a:focus-visible,
.tarosite-menu .current-menu-item > a,
.tarosite-menu .current_page_item > a {
  background: var(--tarosite-gold);
  color: var(--tarosite-purple-deep) !important;
}

.tarosite-menu .sub-menu {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  display: none;
  min-width: 15rem;
  margin: 0;
  padding: 0.75rem;
  background: var(--tarosite-purple-deep);
  border: 1px solid var(--tarosite-line);
  box-shadow: var(--tarosite-shadow);
  list-style: none;
}

.tarosite-menu .menu-item:hover > .sub-menu,
.tarosite-menu .menu-item:focus-within > .sub-menu {
  display: block;
}

.tarosite-menu .sub-menu .menu-item,
.tarosite-menu .sub-menu a {
  width: 100%;
}

.tarosite-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 6rem;
  min-width: 6rem;
  height: 2.75rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(229, 196, 125, 0.68);
  border-radius: 0;
  background: transparent;
  color: var(--tarosite-paper);
  font-family: var(--tarosite-body);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.tarosite-menu-toggle svg {
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
}

#footer {
  margin: 0;
  padding: 0;
  background: var(--tarosite-purple-deep);
  color: var(--tarosite-paper);
}

.tarosite-site-footer {
  padding: 4rem 0 1.25rem;
  background: var(--tarosite-purple-deep);
}

.tarosite-site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  align-items: start;
}

.tarosite-brand--footer img {
  width: 4.5rem;
  height: 4rem;
}

.tarosite-site-footer p {
  margin: 1rem 0 0;
  color: rgba(251, 244, 232, 0.7);
}

.tarosite-site-footer nav {
  display: grid;
  gap: 0.75rem;
  min-width: 10rem;
}

.tarosite-site-footer .tarosite-footer-menu {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tarosite-site-footer .tarosite-footer-menu > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tarosite-site-footer nav a,
.tarosite-site-footer__bottom a {
  color: var(--tarosite-paper) !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.tarosite-site-footer nav a:hover,
.tarosite-site-footer__bottom a:hover {
  color: var(--tarosite-gold-light) !important;
}

.tarosite-site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(229, 196, 125, 0.24);
  color: rgba(251, 244, 232, 0.62);
  font-size: 0.75rem;
}

@media (max-width: 61.999rem) {
  .tarosite-site-header__inner {
    min-height: 5.25rem;
  }

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

  .tarosite-primary-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 20;
    display: none;
    max-height: calc(100svh - 5.25rem);
    padding: 0.75rem max(1rem, calc((100% - var(--tarosite-shell)) / 2));
    overflow: auto;
    background: linear-gradient(145deg, #4b0860, var(--tarosite-purple-deep));
    border-top: 1px solid var(--tarosite-line);
    box-shadow: 0 1.25rem 2.8rem rgba(10, 0, 18, 0.45);
  }

  .tarosite-primary-navigation[data-open="true"] {
    display: block;
  }

  .tarosite-menu {
    display: block;
  }

  .tarosite-menu .menu-item {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(229, 196, 125, 0.18);
  }

  .tarosite-menu .menu-item > a {
    width: 100%;
    min-height: 3.25rem;
    padding-inline: 0.75rem;
    font-size: 0.78rem;
  }

  .tarosite-menu .sub-menu {
    position: static;
    display: block;
    width: 100%;
    padding: 0 0 0.5rem 1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  body.tarosite-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 650px) {
  .tarosite-shell,
  .tarosite-site-header__inner {
    width: min(calc(100% - 1.875rem), var(--tarosite-shell));
  }

  .tarosite-brand img {
    width: 3.5rem;
    height: 3.15rem;
  }

  .tarosite-brand span {
    display: none;
  }

  .tarosite-site-footer__grid {
    grid-template-columns: 1fr;
  }

  .tarosite-brand--footer span {
    display: block;
  }

  .tarosite-site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

@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;
  }
}

/* Migrated-content archives */
.tarosite-archive-hero {
  width: min(calc(100% - 3rem), var(--tarosite-shell));
  max-width: var(--tarosite-shell);
  margin-inline: auto;
  padding: clamp(3.25rem, 8vw, 5.75rem) 0 clamp(3rem, 6vw, 4.75rem);
  color: var(--tarosite-paper);
}

.tarosite-archive-hero__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--tarosite-gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tarosite-archive-hero__title {
  margin: 0 !important;
  color: var(--tarosite-paper) !important;
  font-family: var(--tarosite-display) !important;
  font-size: clamp(2.6rem, 6vw, 5.4rem) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em;
  line-height: 0.95 !important;
}

.tarosite-archive-hero__description {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: rgba(255, 249, 241, 0.78);
  font-size: 0.95rem;
  line-height: 1.65;
}

.tarosite-archive-main {
  background: var(--tarosite-surface);
}

.tarosite-archive-main > .container {
  width: min(calc(100% - 3rem), var(--tarosite-shell));
  max-width: var(--tarosite-shell);
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.tarosite-archive-content {
  width: 100%;
}

/* Migrated single articles must follow the responsive content column. The
 * parent theme's generic article rule uses intrinsic inline-block sizing,
 * which makes legacy image widths expand the article on narrow screens. */
.tarosite-content-entry {
  display: block !important;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.tarosite-content-entry .entry-header,
.tarosite-content-entry .entry-summary,
.tarosite-content-entry .entry-content {
  max-width: 100%;
  min-width: 0;
}

.tarosite-content-entry .entry-title,
.tarosite-content-entry .entry-content {
  overflow-wrap: anywhere;
}

.tarosite-content-entry .entry-content img,
.tarosite-content-entry .entry-content iframe,
.tarosite-content-entry .entry-content video,
.tarosite-content-entry .entry-content embed,
.tarosite-content-entry .entry-content object {
  max-width: 100%;
}

.tarosite-content-entry .entry-content img {
  height: auto !important;
}

.tarosite-content-entry .entry-content pre {
  max-width: 100%;
  overflow-x: auto;
}

/* Shared topic navigation for migrated articles and archive previews. */
.tarosite-content-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.75rem;
  margin: 1rem 0 2rem;
  font-family: var(--tarosite-body);
}

.tarosite-content-summary .tarosite-content-tags {
  clear: both;
  margin: 1.25rem 0;
}

.tarosite-content-tags .tarosite-content-tags__label {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--tarosite-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tarosite-content-tags .tarosite-content-tags__list {
  display: flex;
  flex: 1 1 15rem;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tarosite-content-tags .tarosite-content-tags__item {
  max-width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tarosite-content-tags .tarosite-content-tags__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  max-width: 100%;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--tarosite-line);
  border-radius: 0.25rem;
  background: var(--tarosite-cream);
  color: var(--tarosite-purple);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.tarosite-content-tags .tarosite-content-tags__link:hover,
.tarosite-content-tags .tarosite-content-tags__link:focus-visible {
  border-color: var(--tarosite-purple);
  background: var(--tarosite-purple);
  color: var(--tarosite-paper);
}

.tarosite-content-tags .tarosite-content-tags__link:focus-visible {
  outline: 2px solid var(--tarosite-purple);
  outline-offset: 3px;
}

/* Shared editorial components; page content remains editable in WordPress. */
.entry-content .tarosite-prose {
  max-width: 52rem;
  color: var(--tarosite-ink);
}

.entry-content .tarosite-prose > section {
  margin: 2.5rem 0;
}

.entry-content .tarosite-prose h2 {
  margin: 0 0 1rem;
  color: var(--tarosite-purple);
  font-family: var(--tarosite-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
}

.entry-content .tarosite-prose p {
  margin: 0 0 1rem;
  line-height: 1.75;
}

.entry-content .tarosite-prose a {
  color: var(--tarosite-purple);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.entry-content .tarosite-note {
  padding: clamp(1rem, 3vw, 2rem);
  border-left: 3px solid var(--tarosite-gold);
  background: var(--tarosite-surface);
}

.entry-content .tarosite-note p:last-child {
  margin-bottom: 0;
}

.entry-content .tarosite-link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.entry-content .tarosite-link-list li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.entry-content .tarosite-link-list a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 5.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--tarosite-line);
  text-decoration: none;
}

.entry-content .tarosite-link-list a:hover {
  background: var(--tarosite-surface);
}

.entry-content .tarosite-link-list span {
  margin-top: 0.25rem;
  color: var(--tarosite-muted);
  font-size: 0.875rem;
}

.entry-content .tarosite-signoff {
  padding-top: 1.5rem;
  border-top: 1px solid var(--tarosite-line);
}

@media (max-width: 650px) {
  .tarosite-content-entry .entry-title {
    font-size: clamp(2rem, 9vw, 3.125rem) !important;
    line-height: 1.06 !important;
  }

  .tarosite-content-entry .entry-content > * {
    max-width: 100%;
  }

  .tarosite-content-entry .entry-content iframe,
  .tarosite-content-entry .entry-content video {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  .tarosite-content-entry .entry-content table {
    display: block;
    overflow-x: auto;
  }
}

.tarosite-archive-list__items {
  display: grid !important;
  gap: 1.25rem;
  margin: 0 !important;
}

.tarosite-archive-list__items .grid-sizer {
  display: none !important;
}

.tarosite-archive-list__items > .column {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.tarosite-content-summary {
  margin: 0 !important;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--tarosite-paper);
  border: 1px solid var(--tarosite-line);
  box-shadow: 0 1rem 2rem rgba(45, 28, 56, 0.06);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.tarosite-content-summary:hover {
  border-color: var(--tarosite-gold);
  box-shadow: 0 1.25rem 2.5rem rgba(45, 28, 56, 0.1);
}

.tarosite-content-summary__meta {
  margin: 0 0 0.75rem;
  color: var(--tarosite-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.tarosite-content-summary__title {
  max-width: 48rem;
  margin: 0 !important;
  font-family: var(--tarosite-display) !important;
  font-size: clamp(1.75rem, 3.2vw, 2.8rem) !important;
  font-weight: 500 !important;
  line-height: 1.04 !important;
}

.tarosite-content-summary__title a {
  color: var(--tarosite-ink) !important;
  text-decoration: none !important;
}

.tarosite-content-summary__title a:hover,
.tarosite-content-summary__title a:focus-visible {
  color: var(--tarosite-purple) !important;
}

.tarosite-content-summary__excerpt {
  max-width: 52rem;
  margin: 1.15rem 0 1.4rem;
  color: var(--tarosite-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.tarosite-content-summary__excerpt p:last-child {
  margin-bottom: 0;
}

.tarosite-content-summary__more {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--tarosite-purple) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.tarosite-content-summary__more span {
  color: var(--tarosite-gold);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 160ms ease;
}

.tarosite-content-summary__more:hover span,
.tarosite-content-summary__more:focus-visible span {
  transform: translateX(0.2rem);
}

.tarosite-archive-empty {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--tarosite-paper);
  border: 1px solid var(--tarosite-line);
}

.tarosite-archive-empty h2 {
  margin: 0;
  color: var(--tarosite-ink);
  font-family: var(--tarosite-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
}

.tarosite-archive-empty p {
  margin: 0.75rem 0 0;
  color: var(--tarosite-muted);
}

.tarosite-archive-pagination {
  margin: 2rem 0 0;
}

.tarosite-archive-pagination a,
.tarosite-archive-pagination span {
  color: var(--tarosite-purple) !important;
}

/* Missing URLs share the normal site shell, not Kalvi's standalone error page. */
body.error404,
body.error404 > .wrapper {
  height: auto;
  min-height: 100%;
}

#main.tarosite-not-found {
  float: none;
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: var(--tarosite-cream);
  text-align: center;
}

.tarosite-not-found__inner {
  max-width: 46rem;
}

.tarosite-not-found__code {
  margin: 0 0 1rem;
  color: var(--tarosite-purple);
  font-family: var(--tarosite-display);
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-weight: 500;
  line-height: 1;
}

h1.tarosite-not-found__title {
  margin: 0;
  color: var(--tarosite-ink);
  font-family: var(--tarosite-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.1;
  overflow-wrap: break-word;
}

.tarosite-not-found__text {
  max-width: 36rem;
  margin: 1.25rem auto 0;
  color: var(--tarosite-muted);
  font-family: var(--tarosite-body);
  font-size: 1rem;
  line-height: 1.75;
}

.tarosite-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.tarosite-not-found__link {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--tarosite-purple);
  background: var(--tarosite-purple);
  color: var(--tarosite-paper);
  font-family: var(--tarosite-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.tarosite-not-found__link--secondary {
  background: transparent;
  color: var(--tarosite-purple);
}

.tarosite-not-found__link:hover,
.tarosite-not-found__link:focus-visible {
  border-color: var(--tarosite-purple-deep);
  background: var(--tarosite-purple-deep);
  color: var(--tarosite-paper);
}

@media (max-width: 650px) {
  .tarosite-archive-hero,
  .tarosite-archive-main > .container {
    width: min(calc(100% - 1.875rem), var(--tarosite-shell));
  }

  .tarosite-content-summary {
    padding: 1.35rem;
  }
}
