/* WordPress-specific additions. Do not replace assets/css/style.css. */

.nav-scroll {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.nav-scroll > li {
  flex-shrink: 0;
}

.nav-scroll .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-scroll .current-menu-item > a::after,
.nav-scroll .current-menu-ancestor > a::after {
  right: 0;
}

@media (min-width: 992px) {
  .nav-scroll > li {
    position: relative;
  }

  .nav-scroll .sub-menu {
    background: var(--tsj-paper);
    border: 1px solid var(--tsj-ink);
    display: none;
    left: 50%;
    min-width: 12rem;
    padding: .5rem 0;
    position: absolute;
    top: 100%;
    transform: translateX(-50%);
    z-index: 30;
  }

  .nav-scroll .sub-menu a {
    display: block;
    padding: .55rem 1rem;
    white-space: nowrap;
  }

  .nav-scroll > li:hover > .sub-menu,
  .nav-scroll > li:focus-within > .sub-menu {
    display: block;
  }
}

@media (max-width: 991.98px) {
  .nav-scroll .sub-menu {
    padding-left: 1rem;
  }
}

.site-footer .menu {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-bar .site-header.sticky-top {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header.sticky-top {
    top: 46px;
  }
}

:focus-visible {
  outline: 2px solid var(--tsj-rose);
  outline-offset: 3px;
}

.icon-btn:focus-visible,
.share-row a:focus-visible,
.share-row button:focus-visible {
  outline: 2px solid var(--tsj-rose);
  outline-offset: 2px;
}

/* Article / page content from the editor */
.page-layout {
  padding-bottom: 5rem;
  padding-top: 3.5rem;
}

@media (max-width: 767.98px) {
  .page-layout {
    padding-top: 2.25rem;
  }
}

.article-layout .row > [class*="col-"] {
  min-width: 0;
}

@media (min-width: 992px) {
  .article-layout > .row {
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .article-aside {
    position: sticky;
    top: calc(var(--tsj-header-stack) + 12px);
    z-index: 2;
  }

  .admin-bar .article-aside {
    top: calc(var(--tsj-header-stack) + 32px + 12px);
  }

  .section-space > .row {
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .section-space > .row > [class*="col-"] {
    min-width: 0;
  }

  .archive-aside {
    position: sticky;
    top: calc(var(--tsj-header-stack) + 12px);
    z-index: 2;
  }

  .admin-bar .archive-aside {
    top: calc(var(--tsj-header-stack) + 32px + 12px);
  }
}

.article-body {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
}

.article-body a:not(.text-link) {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.article-body ul,
.article-body ol {
  margin: 1.25rem 0 1.25rem 1.4rem;
}

.article-body li + li {
  margin-top: .35rem;
}

.article-body img,
.article-body video,
.article-body svg,
.article-body canvas {
  height: auto;
  max-width: 100%;
}

.article-body iframe,
.article-body embed,
.article-body object {
  max-width: 100%;
}

.article-body .wp-block-image,
.article-body .wp-caption,
.article-body figure,
.article-body figure.wp-block-image,
.article-body .wp-block-embed,
.article-body .wp-block-video,
.article-body .wp-block-gallery,
.article-body .wp-block-media-text,
.article-body .wp-block-table {
  max-width: 100%;
}

.article-body .wp-caption,
.article-body .wp-block-image {
  width: auto !important;
}

.article-body .wp-block-image img,
.article-body .wp-caption img,
.article-body figure img,
.article-body img.aligncenter,
.article-body img.alignnone,
.article-body img.alignwide,
.article-body img.alignfull,
.article-body img.size-full,
.article-body img.size-large,
.article-body img.size-medium {
  height: auto;
  max-width: 100%;
  width: 100%;
}

.article-body img.alignleft {
  float: left;
  height: auto;
  margin: 0 1.25rem 1rem 0;
  max-width: 46%;
  width: auto;
}

.article-body img.alignright {
  float: right;
  height: auto;
  margin: 0 0 1rem 1.25rem;
  max-width: 46%;
  width: auto;
}

.article-body .alignwide,
.article-body .alignfull,
.article-body .wp-block-image.alignwide,
.article-body .wp-block-image.alignfull,
.article-body .wp-block-embed.alignfull,
.article-body .wp-block-embed.alignwide {
  left: auto;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
  width: 100%;
}

.article-body .wp-block-embed__wrapper,
.article-body .wp-block-embed iframe,
.article-body .wp-block-embed video {
  max-width: 100%;
  width: 100%;
}

.article-body .wp-caption-text,
.article-body .wp-element-caption {
  color: #7d7871;
  font-family: var(--tsj-sans);
  font-size: .64rem;
  line-height: 1.45;
  margin-top: .6rem;
}

.article-body table {
  border-collapse: collapse;
  display: block;
  margin: 1.5rem 0;
  max-width: 100%;
  overflow-x: auto;
  width: 100%;
}

.article-body th,
.article-body td {
  border-bottom: 1px solid var(--tsj-line);
  padding: .6rem .4rem;
  text-align: left;
}

.article-body .wp-block-embed,
.article-body .wp-block-video {
  margin: 2rem 0;
}

.article-body .wp-block-quote {
  border-left: 5px solid var(--tsj-rose);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 3rem 0;
  padding: .4rem 0 .4rem 1.6rem;
}

.article-body input[type="text"],
.article-body input[type="email"],
.article-body input[type="url"],
.article-body input[type="tel"],
.article-body textarea,
.article-body select {
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--tsj-line);
  border-radius: 0;
  display: block;
  font-family: var(--tsj-serif);
  margin-bottom: 1rem;
  padding: .75rem .25rem;
  width: 100%;
}

.article-body button,
.article-body input[type="submit"],
.article-body .wp-block-button__link {
  background: var(--tsj-ink);
  border: 0;
  color: #fff;
  font-family: var(--tsj-sans);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  padding: .85rem 1.2rem;
  text-transform: uppercase;
}

.article-body .wp-block-button__link {
  display: inline-block;
  text-decoration: none;
}

/* Share row: anchors styled like the HTML buttons */
.share-row a {
  align-items: center;
  background: transparent;
  border: 1px solid var(--tsj-line);
  border-radius: 50%;
  color: inherit;
  display: inline-flex;
  font-size: .72rem;
  height: 40px;
  justify-content: center;
  min-width: 40px;
  padding: 0 .75rem;
  text-decoration: none;
}

.share-row a:hover,
.share-row button:hover {
  border-color: var(--tsj-ink);
  color: var(--tsj-ink);
}

.share-row button:last-child {
  align-items: center;
  display: inline-flex;
  gap: .35rem;
  justify-content: center;
}

.author-box a {
  color: inherit;
}

.author-avatar {
  border-radius: 50%;
  height: 70px;
  object-fit: cover;
  width: 70px;
}

.page-header .archive-description {
  color: #504c47;
  font-family: var(--tsj-serif);
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 1rem auto 0;
  max-width: 46rem;
}

.tsbj-pagination {
  margin-top: 2.5rem;
}

.tsbj-pagination .nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.tsbj-pagination .page-numbers {
  border: 1px solid var(--tsj-ink);
  color: inherit;
  display: inline-flex;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  min-width: 2.6rem;
  padding: .75rem .9rem;
  text-transform: uppercase;
}

.tsbj-pagination .page-numbers.current,
.tsbj-pagination .page-numbers:hover {
  background: var(--tsj-ink);
  color: #fff;
}

.tsbj-pagination .page-numbers.dots {
  border: 0;
}

.search-form-page {
  margin: 2rem auto 0;
  max-width: 36rem;
}

.empty-state {
  padding: 4rem 0 6rem;
  text-align: center;
}

.empty-state h1,
.empty-state h2,
.not-found h1 {
  font-family: var(--tsj-serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -.05em;
  line-height: .95;
}

.empty-state p,
.not-found p {
  color: var(--tsj-muted);
  font-family: var(--tsj-serif);
  font-size: 1.1rem;
  margin: 1.1rem auto 1.75rem;
  max-width: 36rem;
}

.widget {
  margin-bottom: 2rem;
}

.widget ul,
.widget ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li {
  border-top: 1px solid var(--tsj-line);
  min-width: 0;
  padding: 1rem 0;
}

.widget a {
  font-family: var(--tsj-serif);
}

.most-read .widget,
.article-aside .widget {
  min-width: 0;
}

.most-read .widget li,
.article-aside .widget li {
  display: block;
}

.most-read .widget li a,
.article-aside .widget li a {
  border: 0;
  display: inline;
  grid-template-columns: none;
  gap: 0;
  padding: 0;
}

.most-read .widget li > a,
.article-aside .widget li > a {
  display: block;
  min-width: 0;
}

.most-read .widget img,
.article-aside .widget img {
  display: block;
  height: auto;
  margin: 0 0 .55rem;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.most-read .widget li a:has(img),
.article-aside .widget li a:has(img) {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.most-read .widget .wpp-list li,
.article-aside .widget .wpp-list li,
.most-read .widget .popular-posts li,
.article-aside .widget .popular-posts li {
  display: grid;
  gap: .7rem .85rem;
  grid-template-columns: 92px minmax(0, 1fr);
}

.most-read .widget .wpp-list li a,
.article-aside .widget .wpp-list li a,
.most-read .widget .popular-posts li a,
.article-aside .widget .popular-posts li a {
  display: contents;
}

.most-read .widget .wpp-list img,
.article-aside .widget .wpp-list img,
.most-read .widget .popular-posts img,
.article-aside .widget .popular-posts img {
  grid-column: 1;
  grid-row: 1 / span 6;
  height: 64px;
  margin: 0;
  width: 92px;
}

.most-read .widget li span,
.article-aside .widget li span,
.most-read .widget li p,
.article-aside .widget li p,
.most-read .widget li .wpp-excerpt,
.article-aside .widget li .wpp-excerpt {
  color: var(--tsj-muted);
  display: block;
  font-family: var(--tsj-sans);
  font-size: .78rem;
  font-weight: 400;
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: anywhere;
}

.most-read .widget .wpp-post-title,
.article-aside .widget .wpp-post-title,
.most-read .widget li .post-title,
.article-aside .widget li .post-title {
  color: var(--tsj-ink);
  font-family: var(--tsj-serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.ad-slot .widget,
.side-ad .widget,
.inline-ad .widget {
  margin: 0;
  width: 100%;
}

.ad-slot .widgettitle,
.side-ad .widgettitle,
.inline-ad .section-kicker {
  display: none;
}

.screen-reader-text,
.visually-hidden {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

.comments-area {
  border-top: 1px solid var(--tsj-line);
  font-family: var(--tsj-sans);
  margin-top: 3rem;
  padding-top: 2rem;
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment {
  border-bottom: 1px solid var(--tsj-line);
  padding: 1.25rem 0;
}

.comment-form input,
.comment-form textarea {
  border: 0;
  border-bottom: 1px solid var(--tsj-line);
  display: block;
  margin-bottom: 1rem;
  padding: .7rem 0;
  width: 100%;
}

.comment-form .submit {
  background: var(--tsj-ink);
  border: 0;
  color: #fff;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  padding: .85rem 1.2rem;
  text-transform: uppercase;
}

.post-password-form input[type="password"] {
  border: 0;
  border-bottom: 1px solid var(--tsj-line);
  margin-right: .75rem;
  padding: .6rem .25rem;
}

.page-links {
  font-family: var(--tsj-sans);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-top: 2rem;
  text-transform: uppercase;
}

.cover-copy h2 a,
.cover-copy h2 a:hover {
  color: #fff;
}

.cover-copy h2 a:hover {
  text-decoration: underline;
}

.col-lg-4.d-grid .story-card + .story-card {
  border-top: 1px solid var(--tsj-line);
  padding-top: 1.5rem;
}

.video-card,
.video-card a {
  color: #fff;
}

.video-card a:hover {
  color: #fff;
}

.video-card a::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}

.lifestyle-band .story-card {
  text-align: left;
}

.lifestyle-band .story-card h2 {
  font-size: 1.4rem;
}

.latest-feed .story-row .media-frame {
  aspect-ratio: 4 / 3;
}

.cover-feature .feature-photo {
  aspect-ratio: 16 / 11;
}

.author-archive-head {
  align-items: center;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 72px 1fr;
  margin: 1.25rem auto 0;
  max-width: 46rem;
  text-align: left;
}

.author-archive-head img {
  border-radius: 50%;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.author-archive-head p {
  color: var(--tsj-muted);
  font-family: var(--tsj-serif);
  margin: .35rem 0 0;
}

@media (max-width: 767.98px) {
  .article-body img.alignleft,
  .article-body img.alignright {
    float: none;
    margin: 0 0 1rem;
    max-width: 100%;
  }
}

.footer-brand {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.footer-brand-link {
  display: block;
  line-height: 0;
  max-width: 100%;
}

.footer-brand-link img {
  height: auto !important;
  max-height: 86px;
  max-width: min(280px, 100%);
  object-fit: contain;
  width: auto !important;
}

.footer-brand-link.has-footer-logo img {
  filter: none;
}

@media (max-width: 767.98px) {
  .footer-brand-link img {
    max-height: 68px;
    max-width: min(235px, 100%);
  }
}

.culture-band .story-card h2,
.culture-band .story-card h2 a {
  color: #fff;
}

.latest-feed .empty-state {
  padding: 2rem 0 3rem;
  text-align: left;
}

.section-heading h1,
.page-header h1 {
  font-family: var(--tsj-serif);
  font-size: clamp(2.15rem, 3.4vw, 3.4rem);
  letter-spacing: -.045em;
  line-height: .95;
  margin: 0;
}

.eyebrow a {
  color: inherit;
}

.pagination .nav-links,
.tsbj-pagination .nav-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.pagination .page-numbers,
.tsbj-pagination .page-numbers {
  border: 1px solid var(--tsj-ink);
  color: inherit;
  display: inline-flex;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  min-width: 2.6rem;
  padding: .75rem .9rem;
  text-transform: uppercase;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover,
.tsbj-pagination .page-numbers.current,
.tsbj-pagination .page-numbers:hover {
  background: var(--tsj-ink);
  color: #fff;
}

.utility-bar .container-xl {
  gap: 1.25rem;
}

.utility-bar .trending-line {
  flex: 1;
  min-width: 0;
}

.utility-bar .trending-line a {
  color: #d4d1cc;
  font-size: inherit;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: none;
}

.utility-bar .utility-links {
  align-items: center;
  border-left: 1px solid #3d3d3d;
  flex-shrink: 0;
  gap: 1.4rem;
  padding-left: 1.15rem;
}

.footer-ig {
  color: #d0ceca;
  display: flex;
  flex: 0 0 auto;
  line-height: 0;
  margin: .75rem 0 0;
}

.footer-ig:hover,
.footer-ig:focus-visible {
  color: #fff;
}

.footer-ig svg {
  display: block;
  height: 23px;
  width: 23px;
}

.footer-brand p {
  margin: .75rem 0 0;
}

.utility-bar .trending-line a:hover,
.utility-bar .trending-line a:focus-visible {
  color: #fff;
}

.trending-gap {
  color: #76736f;
  display: inline;
  padding: 0 .55em;
}

.breaking-label {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.breaking-ticker {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 14px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10px, #000 calc(100% - 14px), transparent);
}

.breaking-track {
  display: flex;
  width: max-content;
  animation: tsbj-breaking-ticker 42s linear infinite;
}

.breaking-set {
  align-items: center;
  display: flex;
  gap: 1.1rem;
  padding-right: 2.4rem;
  white-space: nowrap;
}

.breaking-set a {
  color: inherit;
  font-weight: 600;
}

.breaking-set a:hover,
.breaking-set a:focus-visible {
  color: var(--tsj-rose-dark);
}

.breaking-sep {
  color: var(--tsj-rose);
  font-size: .42rem;
  line-height: 1;
}

.breaking-ticker:hover .breaking-track,
.breaking-ticker:focus-within .breaking-track {
  animation-play-state: paused;
}

@keyframes tsbj-breaking-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Fluent newsletter: email left, full-height black subscribe, original white tray. */
.newsletter .newsletter-form {
  display: block;
  overflow: visible;
  text-align: left;
}

.newsletter .newsletter-form .fluentform_wrapper_3,
.newsletter .newsletter-form .fluentform {
  width: 100%;
}

.newsletter .newsletter-form form.fluent_form_3,
.newsletter .newsletter-form form.frm-fluent-form {
  align-items: stretch;
  display: flex !important;
  flex-flow: row nowrap;
  width: 100%;
}

.newsletter .newsletter-form form.fluent_form_3[style*="display: none"],
.newsletter .newsletter-form form.frm-fluent-form[style*="display: none"],
.newsletter .newsletter-form form.fluent_form_3[hidden] {
  display: none !important;
}

.newsletter .newsletter-form form.fluent_form_3 > fieldset {
  align-items: stretch;
  background: transparent !important;
  border: 0 !important;
  display: flex !important;
  flex: 1 1 auto;
  flex-flow: row nowrap;
  margin: 0 !important;
  min-inline-size: 0 !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.newsletter .newsletter-form .ff-t-container {
  align-items: stretch;
  display: flex !important;
  flex: 1 1 auto;
  flex-flow: row nowrap;
  width: 100% !important;
}

.newsletter .newsletter-form .ff-t-column,
.newsletter .newsletter-form .ff-t-cell {
  align-items: stretch;
  display: flex !important;
  margin: 0 !important;
  max-width: none !important;
  padding: 0 !important;
  width: auto !important;
}

.newsletter .newsletter-form .ff-t-container > :first-child {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}

.newsletter .newsletter-form .ff-t-container > :last-child {
  flex: 0 0 auto !important;
  width: auto !important;
}

.newsletter .newsletter-form .ff-el-group {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  margin: 0 !important;
  min-width: 0;
  padding: 0 !important;
  width: auto !important;
}

.newsletter .newsletter-form .ff-el-input--content {
  margin: 0 !important;
  min-width: 0;
  padding: 0 !important;
  width: 100% !important;
}

.newsletter .newsletter-form .ff-el-input--label,
.newsletter .newsletter-form .ff-el-is-required .ff-el-input--label,
.newsletter .newsletter-form legend {
  border: 0 !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px !important;
  margin: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  width: 1px !important;
}

.newsletter .newsletter-form .ff-el-form-control {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #111 !important;
  font-family: var(--tsj-serif) !important;
  min-height: 3.05rem !important;
  min-width: 0 !important;
  outline: 0 !important;
  padding: .95rem 1rem !important;
  text-align: left !important;
  width: 100% !important;
}

.newsletter .newsletter-form .ff-el-form-control:focus {
  background: #fff !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.newsletter .newsletter-form .ff-el-form-control::placeholder {
  color: #8a8a8a !important;
  opacity: 1;
  text-align: left;
}

.newsletter .newsletter-form .ff-btn-wrapper {
  align-items: stretch !important;
  display: flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  width: auto !important;
}

.newsletter .newsletter-form .ff-btn-submit,
.newsletter .newsletter-form .ff-btn-submit.ff-btn,
.newsletter .newsletter-form .ff-btn-submit.ff-btn-md,
.newsletter .newsletter-form .ff-btn-submit.ff-btn-sm,
.newsletter .newsletter-form .ff-btn-submit.ff-btn-lg,
.newsletter .newsletter-form button[type="submit"],
.newsletter .newsletter-form input[type="submit"] {
  align-items: center !important;
  align-self: stretch !important;
  background: var(--tsj-ink) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff !important;
  display: flex !important;
  flex: 1 1 auto;
  font-family: var(--tsj-sans) !important;
  font-size: .58rem !important;
  font-weight: 900 !important;
  justify-content: center !important;
  letter-spacing: .1em !important;
  line-height: 1 !important;
  margin: 0 !important;
  min-height: 3.05rem !important;
  height: auto !important;
  padding: 0 1.4rem !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  width: auto !important;
}

.newsletter .newsletter-form .ff-btn-submit:hover,
.newsletter .newsletter-form .ff-btn-submit:focus,
.newsletter .newsletter-form button[type="submit"]:hover,
.newsletter .newsletter-form button[type="submit"]:focus,
.newsletter .newsletter-form input[type="submit"]:hover,
.newsletter .newsletter-form input[type="submit"]:focus {
  background: var(--tsj-ink) !important;
  color: #fff !important;
}

.newsletter .newsletter-form .ff-el-help,
.newsletter .newsletter-form .ff-el-input--content .text-danger,
.newsletter .newsletter-form .error,
.newsletter .newsletter-form .ff-errors,
.newsletter .newsletter-form .ff-error-inline,
.newsletter .newsletter-form .ff-el-is-error .error,
.newsletter .newsletter-form label.error,
.newsletter .newsletter-form .text-danger {
  background: transparent !important;
  color: var(--tsj-rose-dark) !important;
  font-size: .7rem !important;
  font-weight: 600;
  margin-top: .4rem;
  text-align: left;
}

.newsletter .newsletter-form:has(.ff-message-success),
.newsletter .newsletter-form:has(.ff-message-error) {
  background: transparent;
  padding: 0;
}

.newsletter .ff-message-success,
.newsletter .ff-message-error,
.newsletter .fluentform .ff-message-success,
.newsletter .fluentform .ff-message-error {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  color: #fff !important;
  font-family: var(--tsj-serif);
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 590px;
  padding: 1rem;
}

.newsletter .ff-message-success *,
.newsletter .ff-message-error * {
  background: transparent !important;
  color: #fff !important;
}

@media (max-width: 767.98px) {
  .newsletter .newsletter-form form.fluent_form_3,
  .newsletter .newsletter-form form.frm-fluent-form,
  .newsletter .newsletter-form form.fluent_form_3 > fieldset,
  .newsletter .newsletter-form .ff-t-container {
    flex-direction: column;
  }

  .newsletter .newsletter-form .ff-btn-wrapper,
  .newsletter .newsletter-form .ff-btn-submit,
  .newsletter .newsletter-form button[type="submit"],
  .newsletter .newsletter-form input[type="submit"] {
    min-height: 48px !important;
    width: 100% !important;
  }
}

/* Page Fluent forms: keep Fluent’s card/layout; swap blues/greys for TSBJ colors. */
.page-body .fluentform a,
.page-body .frm-fluent-form a {
  text-decoration: none;
}

.page-body .fluentform ul,
.page-body .fluentform ol,
.page-body .frm-fluent-form ul,
.page-body .frm-fluent-form ol {
  list-style: none;
  margin: 0;
}

.page-body .fluentform img {
  width: auto;
}

.page-body .fluentform,
.page-body .frm-fluent-form,
.page-body .fluent_form_3,
.page-body .fluent_form_4,
.page-body .fluent_form_5,
.page-body .fluent_form_6,
.page-body .fluent_form_7 {
  --ff-primary: var(--tsj-ink);
  --ff-primary-color: var(--tsj-ink);
  --fluent-primary: var(--tsj-ink);
}

.page-body .ff-el-input--label,
.page-body .ff-el-input--label label {
  color: var(--tsj-ink) !important;
}

.page-body .ff-el-required,
.page-body .ff-el-is-required .ff-el-input--label:after,
.page-body .ff-el-is-required.asterisk-right .ff-el-input--label:after {
  color: var(--tsj-rose) !important;
}

.page-body .ff-el-form-control {
  color: var(--tsj-ink) !important;
  border-color: var(--tsj-line) !important;
}

.page-body .ff-el-form-control::placeholder {
  color: var(--tsj-muted) !important;
}

.page-body .ff-el-form-control:focus {
  border-color: var(--tsj-ink) !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.page-body textarea.ff-el-form-control {
  background: var(--tsj-warm) !important;
  border: 1px solid var(--tsj-line) !important;
}

.page-body select.ff-el-form-control {
  background-color: #fff !important;
  border: 1px solid var(--tsj-line) !important;
}

.page-body input[type="radio"],
.page-body input[type="checkbox"] {
  accent-color: var(--tsj-rose);
}

.page-body .ff-el-form-check-input:checked,
.page-body .form-check-input:checked {
  background-color: var(--tsj-rose) !important;
  border-color: var(--tsj-rose) !important;
}

.page-body .ff-btn-submit,
.page-body .ff-btn-submit.ff-btn,
.page-body button.ff-btn-submit {
  background: var(--tsj-ink) !important;
  border-color: var(--tsj-ink) !important;
  color: #fff !important;
}

.page-body .ff-btn-submit:hover,
.page-body .ff-btn-submit:focus,
.page-body .ff-btn-submit:active {
  background: var(--tsj-rose-dark) !important;
  border-color: var(--tsj-rose-dark) !important;
  color: #fff !important;
}

.page-body .error,
.page-body .text-danger,
.page-body .ff-el-help {
  color: var(--tsj-rose-dark) !important;
}

.page-body .ff-message-success {
  color: var(--tsj-ink) !important;
}

@media (prefers-reduced-motion: reduce) {
  .breaking-track {
    animation: none;
  }

  .breaking-ticker {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .breaking-set[aria-hidden="true"] {
    display: none;
  }
}
