/*
Theme Name: Thinkers Journal Child
Theme URI: https://thinkersjournal.wales
Description: Child theme of Twenty Twenty-Three for the West Wales Chess League Magazine
Author: Donovan
Template: twentytwentythree
Version: 1.4
Text Domain: thinkers-journal-child
*/

/* =========================================
   VARIABLES
   ========================================= */

:root {
  --tj-bg: #f5f3ef;
  --tj-surface: #fdfcf9;
  --tj-text: #111111;
  --tj-muted: #5f5a52;
  --tj-line: rgba(17, 17, 17, 0.14);
  --tj-accent: #8f1d21;
  --tj-accent-dark: #6f1418;

  --tj-content: 1280px;
  --tj-narrow: 760px;

  --tj-space-xs: 0.5rem;
  --tj-space-sm: 0.875rem;
  --tj-space-md: 1.5rem;
  --tj-space-lg: 2.5rem;
  --tj-space-xl: 4rem;
  --tj-space-2xl: 6rem;
  --tj-space-3xl: 8rem;

  --tj-radius-sm: 6px;
  --tj-radius-md: 14px;

  --tj-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.06);
  --tj-transition: 0.25s ease;
}

/* =========================================
   GLOBAL / RESET
   ========================================= */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--tj-bg);
  color: var(--tj-text);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://thinkersjournal.wales/wp-content/uploads/2026/03/abstract-Welsh-Chess.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.02;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.wp-site-blocks {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

/* Better Core Blocks */
.wp-block-quote {
  border-left: 2px solid var(--tj-line);
  padding-left: 1.25rem;
}

.wp-block-separator {
  opacity: 1;
}

.wp-block-image img {
  height: auto;
}

/* =========================================
   LAYOUT SHELLS
   ========================================= */

.tj-page-shell,
.tj-single-shell,
.tj-index-shell,
.tj-archive-shell,
.tj-issues-archive-shell,
.tj-single-issue-shell {
  padding: 0 1.5rem 5rem;
}

main.tj-home {
  width: 100%;
}

.tj-home .alignwide {
  max-width: var(--tj-content);
  margin-left: auto;
  margin-right: auto;
}

.tj-home a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.tj-home a:hover {
  color: var(--tj-accent);
}

.tj-home p {
  line-height: 1.65;
}

.tj-home ul {
  line-height: 1.7;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */

.tj-eyebrow,
.tj-section-label,
.tj-feature-kicker,
.tj-community-panel__label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tj-muted);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.tj-section-label::before,
.tj-eyebrow::before,
.tj-feature-kicker::before,
.tj-community-panel__label::before {
  content: "▪";
  font-size: 0.6rem;
  color: var(--tj-accent);
  display: inline-block;
  transform: translateY(-1px);
}

.tj-hero-title,
.tj-section-title,
.tj-closing-cta .tj-section-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin: 0;
  color: var(--tj-text);
}

.tj-hero-title {
  font-size: clamp(3rem, 7vw, 6.4rem);
  max-width: 7ch;
  margin-bottom: 1.25rem;
}

.tj-section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.tj-hero-intro,
.tj-lead {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  color: var(--tj-muted);
  max-width: 34rem;
}

/* =========================================
   HEADER & NAV
   ========================================= */

.tj-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 243, 239, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  padding: 1rem 1.75rem;
  transition: background-color 0.25s ease, border-color 0.25s ease, padding 0.25s ease;
}

.tj-site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(17, 17, 17, 0.12), transparent);
  pointer-events: none;
}

.tj-site-header__inner {
  min-height: 84px;
  gap: 2rem;
  position: relative;
}

.tj-brand {
  gap: 1.15rem;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.tj-site-title {
  margin: 0;
  line-height: 1;
  flex-shrink: 0;
  max-width: 13ch;
}

.tj-site-title a {
  text-decoration: none;
  color: var(--tj-text);
  position: relative;
  display: inline-block;
  font-size: clamp(1.25rem, 1.45vw, 1.55rem);
  letter-spacing: -0.02em;
  opacity: 0.9;
}

.tj-brand-mark {
  margin: 0;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--tj-muted);
  padding-left: 0.85rem;
  border-left: 1px solid var(--tj-line);
  line-height: 1;
  transform: translateY(1px);
  opacity: 0.85;
}

.tj-main-nav {
  margin-left: auto;
  margin-right: 0;
}

.tj-main-nav .wp-block-navigation__container {
  gap: 1.75rem;
  align-items: center;
}

.tj-main-nav .wp-block-navigation-item__content {
  text-decoration: none;
  color: var(--tj-text);
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.45rem 0;
  position: relative;
  transition: transform 0.28s ease, color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.28s ease, opacity 0.22s ease;
  white-space: nowrap;
}

.tj-main-nav .wp-block-navigation-item__content:hover {
  color: var(--tj-accent);
}

.tj-main-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.tj-main-nav .wp-block-navigation-item__content:hover::after,
.tj-main-nav .current-menu-item > .wp-block-navigation-item__content::after,
.tj-main-nav .current-page-ancestor > .wp-block-navigation-item__content::after,
.tj-main-nav .current-page-item > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}

.tj-main-nav .current-menu-item > .wp-block-navigation-item__content,
.tj-main-nav .current-page-item > .wp-block-navigation-item__content {
  color: var(--tj-accent);
}

.tj-header-actions {
  margin-left: 1.25rem;
  flex-shrink: 0;
}

.tj-site-header .wp-block-button__link {
  padding: 0.9rem 1.3rem;
  font-size: 0.9rem;
  transition: transform 0.28s ease, color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.28s ease, opacity 0.22s ease;
}

.tj-main-nav .wp-block-navigation__responsive-container-open {
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
}

.tj-main-nav .wp-block-navigation__responsive-container-open:hover {
  border-color: var(--tj-text);
}

.tj-main-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--tj-surface);
  padding: 1.5rem;
}

.tj-main-nav .wp-block-navigation__responsive-container-content {
  padding-top: 2rem;
}

.tj-main-nav .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
  font-size: 1.1rem;
}

.tj-main-nav .wp-block-navigation__responsive-container-close {
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
}

/* =========================================
   FOOTER
   ========================================= */

.tj-site-footer {
  padding: 4rem 1.5rem 2rem;
  background: var(--tj-surface);
  position: relative;
}

.tj-site-footer__grid {
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.tj-site-footer h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
}

.tj-site-footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.tj-site-footer li {
  margin-bottom: 0.6rem;
}

.tj-site-footer a {
  text-decoration: none;
  transition: transform 0.28s ease, color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.28s ease, opacity 0.22s ease;
}

.tj-site-footer a:hover {
  color: var(--tj-accent);
}

.tj-site-footer__meta {
  color: var(--tj-muted);
  font-size: 0.92rem;
  margin-top: 2rem;
}

/* =========================================
   COMPONENTS: BUTTONS
   ========================================= */

.tj-home .wp-block-button__link {
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.28s ease, color 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.28s ease, opacity 0.22s ease;
}

.tj-button-primary .wp-block-button__link {
  background: var(--tj-text);
  color: #fff;
  border: 1px solid var(--tj-text);
  box-shadow: none;
}

.tj-button-primary .wp-block-button__link:hover {
  background: var(--tj-accent);
  border-color: var(--tj-accent);
  transform: translateY(-2px);
}

.tj-home .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--tj-text);
  border: 1px solid rgba(17, 17, 17, 0.2);
}

.tj-home .is-style-outline .wp-block-button__link:hover {
  border-color: var(--tj-text);
  transform: translateY(-2px);
}

.tj-home .wp-block-button__link,
.tj-site-header .wp-block-button__link,
.tj-closing-cta .wp-block-button__link {
  position: relative;
  overflow: hidden;
}

.tj-home .wp-block-button__link::before,
.tj-site-header .wp-block-button__link::before,
.tj-closing-cta .wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  transition: transform 0.35s ease;
}

.tj-home .wp-block-button__link:hover::before,
.tj-site-header .wp-block-button__link:hover::before,
.tj-closing-cta .wp-block-button__link:hover::before {
  transform: translateX(0);
}

/* =========================================
   COMPONENTS: FORMS
   ========================================= */

.wpcf7-form {
  max-width: 720px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: var(--tj-text);
  line-height: 1.6;
}

.wpcf7-form label {
  display: block;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 1.25em;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  background-color: #fff;
  box-sizing: border-box;
  transition: border-color var(--tj-transition), box-shadow var(--tj-transition);
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: var(--tj-text);
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.06);
  outline: none;
}

.wpcf7-form .wpcf7-radio,
.wpcf7-form .wpcf7-checkbox {
  margin-bottom: 1.5em;
}

.wpcf7-list-item {
  display: block;
  margin: 0.25em 0;
}

.wpcf7-form input[type="submit"] {
  background-color: var(--tj-text);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border: 1px solid var(--tj-text);
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  transition: background-color var(--tj-transition), transform var(--tj-transition), border-color var(--tj-transition);
}

.wpcf7-form input[type="submit"]:hover {
  background-color: var(--tj-accent);
  border-color: var(--tj-accent);
  transform: translateY(-1px);
}

/* =========================================
   COMPONENTS: HERO (Standard)
   ========================================= */

.tj-hero {
  position: relative;
  padding: 5rem 1.5rem 7rem;
  overflow: hidden;
}

.tj-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0));
}

.tj-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.04) 1px, transparent 1px);
  background-size: calc(100% / 8) calc(100% / 8);
  opacity: 0.16;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.tj-hero-grid {
  gap: clamp(2rem, 4vw, 5rem);
}

.tj-hero-copy {
  position: relative;
  z-index: 2;
}

.tj-hero-intro {
  margin-bottom: 1.5rem;
  max-width: 35rem;
}

.tj-hero-meta {
  gap: 2rem;
  margin-bottom: 1.75rem;
  color: var(--tj-muted);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tj-hero-meta p {
  margin: 0;
}

.tj-hero-links {
  margin-top: 1rem;
  font-size: 0.96rem;
  color: var(--tj-muted);
}

.tj-hero-links a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--tj-transition), color var(--tj-transition);
}

.tj-hero-links a:hover {
  color: var(--tj-accent);
  border-bottom-color: currentColor;
}

/* =========================================
   COMPONENTS: MAGAZINE COVER HERO (Elite)
   ========================================= */

.tj-magazine-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: var(--tj-surface);
  overflow: hidden;
  padding: 4rem 2rem 5rem;
  background-color: #000;
}

.tj-magazine-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tj-magazine-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.tj-magazine-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

/* Chessboard Grid Overlay */
.tj-magazine-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
}

.tj-magazine-hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: var(--tj-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.tj-magazine-hero__meta {
  font-family: sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.tj-magazine-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tj-magazine-hero__meta span::before {
  content: "□";
  color: var(--tj-accent);
  font-size: 1.2em;
}

.tj-magazine-hero__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 14ch;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.tj-magazine-hero__features {
  margin-top: 2rem;
  padding-left: 0;
  list-style: none;
  max-width: 30rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
}

.tj-magazine-hero__features li {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.tj-magazine-hero__features li::before {
  content: "▪";
  color: var(--tj-accent);
  margin-top: 0.1em;
}

/* =========================================
   COMPONENTS: SECTIONS
   ========================================= */

.tj-section {
  padding: var(--tj-space-3xl) 1.5rem;
  border-top: 1px solid var(--tj-line);
  position: relative;
}

.tj-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(17, 17, 17, 0.08), transparent);
  pointer-events: none;
}

.tj-issue-grid {
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 2rem;
}

/* Current Issue Section */
.tj-current-issue {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.tj-current-issue::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: clamp(38px, 6vw, 68px) clamp(38px, 6vw, 68px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.tj-current-issue .tj-section-title {
  max-width: 10ch;
}

.tj-current-issue figure {
  margin: 0;
}

.tj-current-issue img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--tj-shadow-soft);
}

.tj-issue-highlights {
  margin: 1.25rem 0 2rem;
  padding-left: 1.2rem;
}

.tj-issue-highlights li {
  margin-bottom: 0.65rem;
}

/* Contribute Section */
.tj-contribute {
  background: linear-gradient(135deg, #131313 0%, #1b1918 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.tj-contribute::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: calc(100% / 8) calc(100% / 8);
  opacity: 0.35;
}

.tj-contribute .wp-block-columns {
  gap: 2rem;
}

.tj-contribute .tj-section-title,
.tj-contribute .tj-lead,
.tj-contribute p,
.tj-contribute li {
  color: #f5f3ef;
}

.tj-contribute .tj-section-label,
.tj-contribute .tj-community-panel__label {
  color: rgba(245, 243, 239, 0.72);
}

.tj-contribute .tj-section-label::before,
.tj-contribute .tj-community-panel__label::before {
  color: #f5f3ef; /* UPDATED: Changed from background to color */
}

.tj-contribute-list {
  margin: 1.25rem 0 2rem;
  padding-left: 1.2rem;
}

.tj-contribute-list li {
  margin-bottom: 0.55rem;
}

.tj-contribute .tj-button-primary .wp-block-button__link {
  background: #f5f3ef;
  color: #111111;
  border-color: #f5f3ef;
}

.tj-contribute .tj-button-primary .wp-block-button__link:hover {
  background: var(--tj-accent);
  color: #ffffff;
  border-color: var(--tj-accent);
}

/* Community Panel */
.tj-community-panel {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border-radius: 0;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.tj-community-panel::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  background: var(--tj-accent);
  opacity: 0.9;
}

.tj-community-panel:hover {
  transform: translateY(-3px);
}

.tj-community-panel__label {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--tj-muted);
}

/* Closing CTA */
.tj-closing-cta {
  position: relative;
  padding: 6rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--tj-line);
  background:
    linear-gradient(to top, rgba(143, 29, 33, 0.035), rgba(143, 29, 33, 0)),
    var(--tj-surface);
}

.tj-closing-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(17, 17, 17, 0.08), transparent);
  pointer-events: none;
}

.tj-closing-cta .tj-section-title {
  max-width: 12ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
}

.tj-closing-cta p:not(.tj-section-label) {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--tj-muted);
}

/* =========================================
   COMPONENTS: CARDS & IMAGES
   ========================================= */

.tj-feature-grid {
  gap: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.tj-feature-card {
  position: relative;
  height: 100%;
  min-height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--tj-line);
  border-radius: 0;
  background:
    linear-gradient(to bottom right, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(100% / 8 - 1px),
      rgba(17, 17, 17, 0.025) calc(100% / 8 - 1px),
      rgba(17, 17, 17, 0.025) calc(100% / 8)
    );
  transition: transform 0.28s ease, border-color 0.22s ease, box-shadow 0.28s ease;
}

.tj-feature-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  background: var(--tj-accent);
  opacity: 0.9;
}

.tj-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(17, 17, 17, 0.2);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.tj-feature-kicker {
  margin: 0 0 0.65rem;
  color: var(--tj-muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.tj-feature-title {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  margin: 0 0 0.75rem;
  line-height: 1.1;
}

/* Issue Card (Archive) */
.tj-issue-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--tj-line);
  border-radius: 0;
  background: linear-gradient(to bottom, rgba(253, 252, 249, 0.96), rgba(253, 252, 249, 0.78));
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.tj-issue-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.02) 1px, transparent 1px);
  background-size: calc(100% / 8) calc(100% / 8);
  opacity: 0.22;
}

.tj-issue-card::after {
  content: "♟";
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 12px;
  opacity: 0.15;
  pointer-events: none;
  color: var(--tj-text);
}

.tj-issue-card__image {
  margin: 0 0 1rem;
  position: relative;
  isolation: isolate;
}

.tj-issue-card__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  filter: saturate(0.98) contrast(1.02);
}

.tj-issue-card:hover .tj-issue-card__image img {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  filter: saturate(1.03) contrast(1.04);
}

.tj-issue-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  position: relative;
  z-index: 1;
}

.tj-issue-card__title {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.05;
  margin: 0;
  max-width: 11ch;
}

.tj-issue-card__title a {
  text-decoration: none;
}

.tj-issue-card__date {
  color: var(--tj-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.tj-issue-card__date::before {
  content: "□ ";
  color: var(--tj-accent);
  letter-spacing: 0;
}

.tj-issue-card__excerpt {
  color: var(--tj-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.tj-issue-card__excerpt .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.tj-issue-card__excerpt .wp-block-post-excerpt__more-link:hover {
  border-bottom-color: currentColor;
}

.tj-issue-card a {
  transition: color 0.2s ease;
}

.tj-issue-card a:hover {
  color: var(--tj-accent);
}

/* Post Card */
.tj-post-card {
  position: relative;
  padding: 2rem 0;
  border-top: 1px solid var(--tj-line);
  transition: transform 0.28s ease;
}

.tj-post-card:hover {
  transform: translateX(4px);
}

.tj-post-card:last-child {
  border-bottom: 1px solid var(--tj-line);
}

.tj-post-card .wp-block-post-title {
  max-width: 18ch;
  margin-bottom: 0.75rem;
}

.tj-post-card .wp-block-post-title a {
  text-decoration: none;
}

.tj-post-card .wp-block-post-excerpt {
  max-width: 42rem;
  color: var(--tj-muted);
}

.tj-post-card .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
}

.tj-post-card a {
  transition: color 0.2s ease;
}

.tj-post-card a:hover {
  color: var(--tj-accent);
}

/* Cover Frame */
.tj-cover-frame {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  isolation: isolate;
}

.tj-cover-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--tj-line);
  z-index: 0;
}

.tj-cover-frame::after {
  content: "";
  position: absolute;
  inset: auto 10% -18px 10%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
  z-index: -1;
  pointer-events: none;
}

.tj-cover-image {
  position: relative;
  z-index: 1;
  margin: 0;
}

.tj-cover-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  filter: saturate(0.98) contrast(1.02);
  border-radius: 0;
}

.tj-cover-frame:hover .tj-cover-image img {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.14);
  filter: saturate(1.03) contrast(1.04);
}

.tj-cover-caption {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  color: var(--tj-muted);
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* =========================================
   COMPONENTS: EVENTS
   ========================================= */

.tj-events {
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.015), rgba(17, 17, 17, 0));
  position: relative;
  overflow: hidden;
}

.tj-events::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: clamp(38px, 6vw, 68px) clamp(38px, 6vw, 68px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.tj-events .tj-section-title {
  max-width: 7ch;
}

.tj-events .tribe-events-widget-events-list,
.tj-events .tribe-common,
.tj-events .tribe-events {
  font-size: 1rem;
}

.tj-events .tribe-events-widget-events-list__event-row,
.tj-events .tribe-common-g-row {
  position: relative;
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.35rem 0 1.35rem 1.25rem;
  border-bottom: 1px solid var(--tj-line);
}

.tj-events .tribe-events-widget-events-list__event-row::before,
.tj-events .tribe-common-g-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.45rem;
  width: 8px;
  height: 8px;
  background: var(--tj-accent);
}

.tj-events .tribe-events-widget-events-list__event-date-tag,
.tj-events .tribe-event-date-start {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tj-muted);
}

.tj-events .tribe-events-widget-events-list__event-title,
.tj-events .tribe-events-calendar-list__event-title {
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.18;
}

.tj-events .tribe-event-time {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--tj-muted);
}

.tj-events .tribe-events-widget-events-list__view-more-link,
.tj-events a.tribe-events-widget-events-list__event-title-link {
  text-decoration: none;
}

.tj-events .tribe-events-widget-events-list__view-more-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}

.tj-events a.tribe-events-widget-events-list__event-title-link:hover,
.tj-events .tribe-events-widget-events-list__view-more-link:hover {
  color: var(--tj-accent);
  border-bottom-color: currentColor;
}

/* =========================================
   PAGE SPECIFIC: LATEST ISSUE QUERY
   ========================================= */

.tj-latest-issue-query {
  position: relative;
  z-index: 1;
}

.tj-latest-issue-elite {
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.tj-latest-issue-elite__intro {
  max-width: 24rem;
}

.tj-latest-issue-elite__intro .tj-lead {
  max-width: 22rem;
  margin-bottom: 1.5rem;
}

.tj-latest-issue-elite__feature {
  min-width: 0;
}

.tj-latest-issue-feature {
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}

.tj-latest-issue-cover {
  margin: 0;
  isolation: isolate;
  position: relative;
}

.tj-latest-issue-cover::after {
  content: "";
  position: absolute;
  inset: auto 10% -18px 10%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
  z-index: -1;
  pointer-events: none;
}

.tj-latest-issue-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  filter: saturate(0.98) contrast(1.02);
}

.tj-latest-issue-cover:hover img {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  filter: saturate(1.03) contrast(1.04);
}

.tj-latest-issue-title {
  margin-bottom: 0.75rem;
  max-width: 9ch;
  line-height: 0.95;
}

.tj-latest-issue-date {
  color: var(--tj-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.tj-latest-issue-date::before {
  content: "□ ";
  color: var(--tj-accent);
  letter-spacing: 0;
}

.tj-latest-issue-summary {
  color: var(--tj-muted);
  max-width: 24rem;
}

.tj-latest-issue-summary .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.tj-latest-issue-feature__meta {
  padding-top: 0.25rem;
}

.tj-latest-issue-feature__meta > *:first-child {
  margin-top: 0;
}

/* =========================================
   PAGE SPECIFIC: ARTICLES / SINGLE / ARCHIVES
   ========================================= */

.tj-page-hero,
.tj-article-hero,
.tj-listing-hero,
.tj-issues-hero,
.tj-single-issue-hero {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.tj-page-title,
.tj-article-title {
  margin-bottom: 1rem;
}

.tj-article-title {
  max-width: 12ch;
}

.tj-page-content,
.tj-article-content {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.tj-page-content > * + *,
.tj-article-content > * + * {
  margin-top: 1.5rem;
}

.tj-article-meta {
  gap: 1rem;
  color: var(--tj-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.tj-article-content {
  font-size: 1.04rem;
}

.tj-article-content p {
  max-width: 42rem;
}

.tj-article-content h2,
.tj-article-content h3,
.tj-article-content h4 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.tj-article-content blockquote {
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 2px solid var(--tj-accent);
}

.tj-article-content ul,
.tj-article-content ol {
  max-width: 40rem;
  padding-left: 1.4rem;
}

.tj-article-content img {
  display: block;
  height: auto;
}

.tj-article-content .wp-block-image {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.tj-article-content a {
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.tj-article-content a:hover {
  color: var(--tj-accent);
}

.wp-block-post-featured-image.alignwide {
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--tj-shadow-soft);
}

.tj-post-list {
  display: block;
  margin-top: 1rem;
}

.tj-404 {
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Issues Archive */
.tj-issues-hero {
  position: relative;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  overflow: hidden;
}

.tj-issues-hero::before,
.tj-single-issue-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(17, 17, 17, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.035) 1px, transparent 1px);
  background-size: clamp(38px, 6vw, 68px) clamp(38px, 6vw, 68px);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.tj-issues-hero .tj-page-title {
  max-width: 10ch;
}

.tj-issues-intro {
  max-width: 42rem;
}

.tj-featured-issue {
  position: relative;
  margin-top: 1.5rem;
  margin-bottom: 4rem;
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--tj-line);
  border-bottom: 1px solid var(--tj-line);
}

.tj-featured-issue__layout {
  gap: clamp(2rem, 4vw, 4rem);
}

.tj-featured-issue__cover {
  margin: 0;
  isolation: isolate;
  position: relative;
}

.tj-featured-issue__cover::after {
  content: "";
  position: absolute;
  inset: auto 10% -18px 10%;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0));
  z-index: -1;
  pointer-events: none;
}

.tj-featured-issue__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
  filter: saturate(0.98) contrast(1.02);
}

.tj-featured-issue__cover:hover img {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.16);
  filter: saturate(1.03) contrast(1.04);
}

.tj-featured-issue__meta {
  margin-bottom: 0.9rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tj-muted);
}

.tj-featured-issue__title {
  max-width: 10ch;
  margin-bottom: 1rem;
}

.tj-featured-issue__summary {
  max-width: 34rem;
  color: var(--tj-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.tj-featured-issue__links {
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.tj-issues-grid-title {
  margin-bottom: 1.5rem;
}

.tj-issues-grid {
  margin-top: 0;
}

.tj-issues-grid .wp-block-post-template {
  gap: 2rem;
  row-gap: 2.5rem;
  column-gap: 2rem;
}

.tj-issues-pagination {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--tj-line);
}

/* Single Issue */
.tj-single-issue-layout {
  gap: clamp(2rem, 4vw, 4rem);
}

.tj-single-issue-cover {
  margin: 0;
}

.tj-single-issue-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.tj-single-issue-summary {
  color: var(--tj-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* =========================================
   PAGE SPECIFIC: SUBSCRIBE
   ========================================= */

.tj-subscribe-page .wp-block-button__link,
.tj-subscribe-page .wp-element-button,
.tj-subscribe-page .wp-block-button .wp-block-button__link,
.tj-subscribe-page .has-background.wp-element-button,
.tj-subscribe-page .has-vivid-cyan-blue-background-color,
.tj-subscribe-page .has-accent-background-color,
.tj-subscribe-page .woocommerce a.button,
.tj-subscribe-page .woocommerce button.button,
.tj-subscribe-page .woocommerce input.button,
.tj-subscribe-page .wc-block-components-button,
.tj-subscribe-page .add_to_cart_button,
.tj-subscribe-page .single_add_to_cart_button,
body.page-id-13 .wp-block-button__link,
body.page-id-13 .wp-element-button,
body.page-id-13 .wp-block-button .wp-block-button__link,
body.page-id-13 .has-background.wp-element-button,
body.page-id-13 .has-vivid-cyan-blue-background-color,
body.page-id-13 .has-accent-background-color,
body.page-id-13 .woocommerce a.button,
body.page-id-13 .woocommerce button.button,
body.page-id-13 .woocommerce input.button,
body.page-id-13 .wc-block-components-button,
body.page-id-13 .add_to_cart_button,
body.page-id-13 .single_add_to_cart_button {
  background: #0ea5e9 !important;
  background-color: #0ea5e9 !important;
  color: #ffffff !important;
  border: 2px solid #0ea5e9 !important;
  border-radius: 999px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  opacity: 1 !important;
}

.tj-subscribe-page .wp-block-button__link:hover,
.tj-subscribe-page .wp-element-button:hover,
.tj-subscribe-page .wp-block-button .wp-block-button__link:hover,
.tj-subscribe-page .has-background.wp-element-button:hover,
.tj-subscribe-page .has-vivid-cyan-blue-background-color:hover,
.tj-subscribe-page .has-accent-background-color:hover,
.tj-subscribe-page .woocommerce a.button:hover,
.tj-subscribe-page .woocommerce button.button:hover,
.tj-subscribe-page .woocommerce input.button:hover,
.tj-subscribe-page .wc-block-components-button:hover,
.tj-subscribe-page .add_to_cart_button:hover,
.tj-subscribe-page .single_add_to_cart_button:hover,
body.page-id-13 .wp-block-button__link:hover,
body.page-id-13 .wp-element-button:hover,
body.page-id-13 .wp-block-button .wp-block-button__link:hover,
body.page-id-13 .has-background.wp-element-button:hover,
body.page-id-13 .has-vivid-cyan-blue-background-color:hover,
body.page-id-13 .has-accent-background-color:hover,
body.page-id-13 .woocommerce a.button:hover,
body.page-id-13 .woocommerce button.button:hover,
body.page-id-13 .woocommerce input.button:hover,
body.page-id-13 .wc-block-components-button:hover,
body.page-id-13 .add_to_cart_button:hover,
body.page-id-13 .single_add_to_cart_button:hover {
  background: #0284c7 !important;
  background-color: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
}

.tj-subscribe-page .wp-block-button.is-style-outline .wp-block-button__link,
.tj-subscribe-page .is-style-outline .wp-block-button__link,
.tj-subscribe-page .is-style-outline .wp-element-button,
.tj-subscribe-page .has-vivid-cyan-blue-color.wp-element-button,
body.page-id-13 .wp-block-button.is-style-outline .wp-block-button__link,
body.page-id-13 .is-style-outline .wp-block-button__link,
body.page-id-13 .is-style-outline .wp-element-button,
body.page-id-13 .has-vivid-cyan-blue-color.wp-element-button {
  background: transparent !important;
  background-color: transparent !important;
  color: #0ea5e9 !important;
  border: 2px solid #0ea5e9 !important;
}

.tj-subscribe-page .wp-block-button.is-style-outline .wp-block-button__link:hover,
.tj-subscribe-page .is-style-outline .wp-block-button__link:hover,
.tj-subscribe-page .is-style-outline .wp-element-button:hover,
.tj-subscribe-page .has-vivid-cyan-blue-color.wp-element-button:hover,
body.page-id-13 .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.page-id-13 .is-style-outline .wp-block-button__link:hover,
body.page-id-13 .is-style-outline .wp-element-button:hover,
body.page-id-13 .has-vivid-cyan-blue-color.wp-element-button:hover {
  background: #0ea5e9 !important;
  background-color: #0ea5e9 !important;
  color: #ffffff !important;
  border-color: #0ea5e9 !important;
}

.tj-subscribe-page .has-white-color,
body.page-id-13 .has-white-color {
  color: #ffffff !important;
}

.tj-subscribe-page .has-vivid-cyan-blue-color,
body.page-id-13 .has-vivid-cyan-blue-color {
  color: #0ea5e9 !important;
}

.tj-subscribe-page .has-vivid-cyan-blue-background-color,
.tj-subscribe-page .has-accent-background-color,
body.page-id-13 .has-vivid-cyan-blue-background-color,
body.page-id-13 .has-accent-background-color {
  background-color: #0ea5e9 !important;
}

body.page-id-13 .wp-block-button__link,
body.page-id-13 .wp-element-button,
body.page-id-13 .woocommerce a.button,
body.page-id-13 .woocommerce button.button,
body.page-id-13 .woocommerce input.button,
body.page-id-13 .wc-block-components-button,
body.page-id-13 .add_to_cart_button,
body.page-id-13 .single_add_to_cart_button {
  box-shadow: none !important;
  filter: none !important;
}

/* =========================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================= */

@media (max-width: 1100px) {
  .tj-hero {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }

  .tj-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (max-width: 900px) {
  .tj-site-header {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
  }

  .tj-site-header__inner {
    gap: 1rem;
    min-height: 72px;
  }

  .tj-brand {
    gap: 0.7rem;
  }

  .tj-site-title a {
    font-size: 1.2rem;
    opacity: 1;
  }

  .tj-brand-mark,
  .tj-header-actions {
    display: none;
  }

  .tj-page-shell,
  .tj-single-shell,
  .tj-index-shell,
  .tj-archive-shell,
  .tj-issues-archive-shell,
  .tj-single-issue-shell {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tj-cover-frame {
    margin-left: 0;
    max-width: 360px;
  }

  .tj-contribute::before,
  .tj-hero::after {
    opacity: 0.2;
  }

  .tj-feature-card::after,
  .tj-community-panel::after,
  .tj-issue-card::after {
    top: 10px;
    right: 10px;
  }

  .tj-featured-issue {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 781px) {
  .tj-hero,
  .tj-section,
  .tj-closing-cta {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .tj-hero-title {
    max-width: none;
  }

  .tj-hero-links {
    line-height: 1.8;
  }

  .tj-issue-grid,
  .tj-contribute .wp-block-columns,
  .tj-hero-grid,
  .tj-issue-layout,
  .tj-contribute-layout,
  .tj-events-layout,
  .tj-latest-issue-elite,
  .tj-latest-issue-feature {
    gap: 1.5rem;
  }

  .tj-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .tj-feature-card,
  .tj-community-panel {
    padding: 1.25rem;
  }

  .tj-cover-frame::before {
    inset: 12px -12px -12px 12px;
  }

  .tj-issues-grid .wp-block-post-template {
    gap: 1.5rem;
  }

  .tj-latest-issue-elite__intro,
  .tj-latest-issue-elite__feature,
  .tj-latest-issue-feature__meta {
    max-width: none;
  }

  .tj-events .tj-section-title {
    max-width: 9ch;
  }
}
.tj-keep-together {
  white-space: nowrap;
}
