:root {
  --primary: #0a3a5f;
  --secondary: #f29f05;
  --bg: #f5f8fc;
  --text: #17212b;
  --surface-text: #1a2432;
  --surface-link: var(--primary);
  --muted: #4f5d6c;
  --white: #ffffff;
  --btn-text: #ffffff;
  --footer-text: #d9e8f6;
  --footer-chip-border: rgba(217, 232, 246, 0.45);
  --btn-height: 42px;
  --btn-font-size: 16px;
  --btn-font-weight: 700;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  font-size: var(--font-size-base, 16px);
  line-height: 1.6;
  background:
    radial-gradient(1200px 420px at 80% -30%, rgba(242, 159, 5, 0.12), rgba(242, 159, 5, 0) 60%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: 0;
}

html {
  scroll-behavior: smooth;
}

body::before {
  content: "";
  position: fixed;
  top: -160px;
  left: -140px;
  width: min(42vw, 520px);
  height: min(42vw, 520px);
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--secondary) 26%, transparent) 0%, rgba(242, 159, 5, 0) 72%);
  filter: blur(2px);
}

body::after {
  content: "";
  position: fixed;
  right: -180px;
  bottom: -180px;
  width: min(50vw, 620px);
  height: min(50vw, 620px);
  border-radius: 999px;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle at 60% 40%, color-mix(in srgb, var(--primary) 20%, transparent) 0%, rgba(10, 58, 95, 0) 72%);
  filter: blur(4px);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading, var(--font-body, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif));
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: clamp(14px, 2vw, 28px);
  padding-right: clamp(14px, 2vw, 28px);
  min-width: 0;
}

.container main,
main.container {
  flex: 1 0 auto;
}

main.container.content-width-90 {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

main.container.content-width-80 {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 980px) {
  main.container.content-width-90,
  main.container.content-width-80 {
    width: 100%;
  }
}

.site-header {
  background: var(--header-bg, var(--white));
  border-bottom: 1px solid #dbe5ef;
  position: sticky;
  top: 0;
  z-index: 1100;
  backdrop-filter: blur(4px);
  transition: box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(10, 58, 95, 0.16);
  border-bottom-color: rgba(150, 173, 199, 0.45);
}

.site-header .inner {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  max-width: 1380px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.brand img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

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

.brand-site-name p,
.brand-tagline p {
  margin: 0;
}

.header-left {
  justify-self: start;
}

.header-left .header-logo {
  display: inline-block;
  line-height: 0;
}

.header-left .header-logo img {
  max-height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-right {
  justify-self: end;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  max-width: min(60vw, 860px);
  scrollbar-width: thin;
}

.site-header .header-right .btn.link {
  border-radius: 999px;
  padding: 0 12px;
  height: 38px;
  font-size: 14px;
  font-weight: 600;
  border-color: color-mix(in srgb, var(--header-text, var(--primary)) 45%, transparent);
  position: relative;
  overflow: hidden;
}

.site-header .header-right .btn.link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 7px;
  height: 2px;
  border-radius: 4px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.site-header .header-right .btn.link:hover::after,
.site-header .header-right .btn.link:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  padding: 56px 0 32px;
  max-width: 1380px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 50px;
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  background: var(--white);
  border: 1px solid #dbe5ef;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(10, 58, 95, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(10, 58, 95, 0.14);
}

.card .cover {
  height: clamp(140px, 14vw, 190px);
  width: 100%;
  object-fit: cover;
  object-position: center center;
  background: #edf3f9;
}

#journals_grid.cols-1 .card .cover {
  height: 180px;
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 230px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.card p.muted {
  flex: 1 1 auto;
  margin: 8px 0 14px;
}

.muted {
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--primary);
  color: var(--btn-text, #ffffff);
  box-sizing: border-box;
  height: var(--btn-height);
  padding: 0 14px;
  cursor: pointer;
  font-weight: var(--btn-font-weight);
  font-size: var(--btn-font-size);
  line-height: 1;
  font-family: var(--font-body, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  will-change: transform;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--secondary) 60%, #ffffff 40%);
  outline-offset: 2px;
}

button,
input[type="submit"],
input[type="button"] {
  font-weight: var(--btn-font-weight);
  font-size: var(--btn-font-size);
  font-family: var(--font-body, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
}

.btn.secondary {
  background: var(--secondary);
  color: #121212;
}

.btn.link {
  background: transparent;
  color: var(--primary);
  border: 1px solid #c3d4e5;
}

.site-footer {
  background: var(--primary);
  color: var(--footer-text);
  margin-top: auto;
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  width: 100%;
  z-index: 1000;
}

.site-footer .inner {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto;
}

.footer-brand {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 0;
}

.footer-brand img.footer-logo {
  width: 160px;
  height: 40px;
  max-width: 160px;
  max-height: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.footer-brand .footer-text {
  flex: 1;
  min-width: 0;
  display: block;
  white-space: normal;
  text-align: center;
}

.footer-brand .footer-text,
.footer-brand .footer-text * {
  text-align: center !important;
}

.footer-brand .footer-text p {
  margin: 0;
}

.footer-brand .footer-text img {
  max-height: 24px;
  width: auto;
  vertical-align: middle;
  display: inline-block;
}

.footer-social {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  justify-content: end;
  flex: 0 0 auto;
}

.footer-social a {
  color: var(--footer-text);
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid color-mix(in srgb, var(--footer-text) 35%, transparent);
  border-radius: 999px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
  background: color-mix(in srgb, var(--footer-text) 14%, transparent);
  border-color: color-mix(in srgb, var(--footer-text) 90%, transparent);
}

.footer-social a svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: currentColor;
}

.footer-social a.social-facebook { color: #1877f2; }
.footer-social a.social-linkedin { color: #0a66c2; }
.footer-social a.social-twitter { color: #f5f8fa; }
.footer-social a.social-instagram { color: #e4405f; }
.footer-social a.social-telegram { color: #27a7e7; }
.footer-social a.social-whatsapp { color: #25d366; }

@media (max-width: 800px) {
  .site-footer .inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-brand {
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
  }

  .footer-brand .footer-text {
    width: 100%;
  }

  .footer-social {
    justify-self: center;
  }
}

.form-card {
  background: var(--home-hero-panel-bg, #ffffff);
  border: 1px solid color-mix(in srgb, var(--primary, #0a3a5f) 20%, transparent);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary, #0a3a5f) 15%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(14, 38, 65, 0.1);
}

.page-shell {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--primary, #0a3a5f) 22%, transparent);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--primary, #0a3a5f) 14%, transparent);
  background:
    radial-gradient(140% 120% at 100% 0%, color-mix(in srgb, var(--home-hero-text, #ffffff) 32%, transparent) 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(130deg, color-mix(in srgb, var(--home-hero-bg-start, var(--primary, #0a3a5f)) 86%, var(--primary, #0a3a5f) 14%) 0%, var(--home-hero-bg-end, var(--secondary, #f29f05)) 100%);
  padding: 14px;
  display: grid;
  gap: 14px;
  overflow: hidden;
}

.page-shell > h1 {
  margin: 0;
}

.page-shell .form-card.sub-card {
  width: 100%;
  height: auto;
  min-height: 100%;
}

main.container > h1,
main.container > h2,
main.container > .admin-nav,
main.container > .form-card,
main.container > .split,
main.container > .table-wrap {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}

.journals-section > h2 {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.journals-combined-card > h2 {
  color: #ffffff !important;
}

.form-row {
  margin-bottom: 14px;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="file"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #c8d7e7;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  min-width: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
}

.table-wrap table {
  min-width: 760px;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #e4edf6;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.alert {
  padding: 12px;
  border-radius: 8px;
  margin: 12px 0;
}

.alert.success {
  background: #e9f8ec;
  border: 1px solid #b9e7c3;
}

.alert.error {
  background: #fdeaea;
  border: 1px solid #f0b7b7;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge.active {
  background: #e8f8ec;
  color: #1f7d36;
}

.badge.inactive {
  background: #f4f0f0;
  color: #7a4040;
}

.admin-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  width: min(100%, 1380px);
  margin: 16px auto 20px;
}

.admin-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: var(--btn-height);
  padding: 0 12px;
  border: 1px solid #ccd9e6;
  border-radius: 8px;
  background: #fff;
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  line-height: 1;
  font-family: var(--font-body, "Segoe UI", Tahoma, Geneva, Verdana, sans-serif);
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
}

/* Shared admin look & feel aligned with website theme */
body.admin-ui {
  background:
    radial-gradient(900px 320px at 82% -20%, color-mix(in srgb, var(--secondary) 18%, transparent), transparent 62%),
    linear-gradient(180deg, #f7fbff 0%, var(--bg) 100%);
}

body.admin-ui .form-card {
  background: #ffffff;
  border: 1px solid color-mix(in srgb, var(--primary) 22%, #d7e4f2 78%);
  box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 14%, transparent);
}

body.admin-ui .form-card:hover {
  transform: none;
  box-shadow: 0 14px 32px color-mix(in srgb, var(--primary) 16%, transparent);
}

body.admin-ui .admin-nav a,
body.admin-ui .admin-nav .btn.link,
body.admin-ui .form-card .btn.link {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: color-mix(in srgb, var(--primary) 72%, #ffffff 28%) !important;
}

body.admin-ui table {
  background: #fff;
}

body.admin-ui th {
  background: #e8f0f8;
  color: #102b46;
  border-bottom-color: #c6d8ea;
}

body.admin-ui td {
  color: #1f3348;
  border-bottom-color: #d9e6f2;
}

body.admin-ui tr:nth-child(even) td {
  background: #f8fbff;
}

.table-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.follow-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}

.follow-inline .follow-label {
  display: none;
}

.follow-inline .follow-icon {
  width: 45px;
  min-width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.follow-inline .follow-icon svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor !important;
}

.site-header .follow-inline .follow-icon {
  border-color: color-mix(in srgb, var(--header-text) 45%, transparent);
  background: #000;
}

.site-header .follow-inline .follow-icon.social-telegram {
  color: #27a7e7 !important;
}

.site-header .follow-inline .follow-icon.social-whatsapp {
  color: #25d366 !important;
}

.site-header .follow-inline .follow-icon.social-facebook {
  color: #1877f2 !important;
}

.site-header .follow-inline .follow-icon.social-linkedin {
  color: #0a66c2 !important;
}

.site-header .follow-inline .follow-icon.social-twitter {
  color: #f5f8fa !important;
}

.site-header .follow-inline .follow-icon.social-instagram {
  color: #e4405f !important;
}

@keyframes srp-follow-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.site-header .follow-inline .follow-icon {
  animation-name: srp-follow-blink;
  animation-duration: 2.4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.footer-social a {
  background: #000;
  animation-name: srp-follow-blink;
  animation-duration: 2.4s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.site-header .follow-inline .follow-icon:nth-child(2n),
.footer-social a:nth-child(2n) {
  animation-duration: 2s;
}

.site-header .follow-inline .follow-icon:nth-child(3n),
.footer-social a:nth-child(3n) {
  animation-duration: 2.7s;
}

.site-header .follow-inline .follow-icon:nth-child(5n),
.footer-social a:nth-child(5n) {
  animation-duration: 3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .form-card,
  .btn {
    transition: none !important;
  }
  .site-header .follow-inline .follow-icon {
    animation: none;
  }
  .footer-social a {
    animation: none;
  }
  .srp-reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  body.srp-is-leaving main.container {
    opacity: 1 !important;
  }
  body.srp-is-leaving .srp-page-transition {
    opacity: 0 !important;
  }
}

.srp-page-transition {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 18% 10%, color-mix(in srgb, var(--secondary) 22%, transparent) 0%, rgba(242, 159, 5, 0) 45%),
    linear-gradient(160deg, color-mix(in srgb, var(--primary) 20%, #081a30 80%) 0%, color-mix(in srgb, var(--primary) 48%, #050f1d 52%) 100%);
  transition: opacity 0.24s ease;
  z-index: 2500;
}

body.srp-is-leaving .srp-page-transition {
  opacity: 1;
}

body.srp-is-ready main.container {
  animation: srp-page-in 420ms cubic-bezier(.2,.7,.2,1);
}

@keyframes srp-page-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.srp-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 520ms cubic-bezier(.2,.7,.2,1), transform 520ms cubic-bezier(.2,.7,.2,1);
}

.srp-reveal.srp-in {
  opacity: 1;
  transform: none;
}

.srp-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  z-index: 2400;
  background: linear-gradient(90deg, var(--secondary), color-mix(in srgb, var(--secondary) 65%, #fff 35%));
  box-shadow: 0 0 12px rgba(242, 159, 5, 0.5);
  transform-origin: left center;
  pointer-events: none;
}

.footer-page-chip {
  color: var(--footer-text);
  border: 1px solid var(--footer-chip-border);
  padding: 4px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  max-width: 100%;
  word-break: break-word;
}

.split {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .site-footer {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: auto;
    overflow: visible;
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .site-header .inner {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "left brand"
      "nav nav";
    text-align: left;
    gap: 6px 8px;
    padding: 8px 0;
  }

  .header-left {
    grid-area: left;
    justify-self: start;
  }

  .brand {
    grid-area: brand;
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
    gap: 8px;
    min-width: 0;
  }

  .header-right {
    grid-area: nav;
  }

  .site-header .header-right {
    width: 100%;
    overflow: hidden;
    flex-wrap: nowrap;
    justify-content: center;
    white-space: nowrap;
    row-gap: 0;
    padding-bottom: 0;
    max-width: 100%;
    gap: 4px;
    transform: scale(0.88);
    transform-origin: center center;
    width: calc(100% / 0.88);
  }

  .site-header .header-right .btn.link {
    flex: 0 0 auto;
    height: 30px;
    padding: 0 7px;
    font-size: 11px;
  }

  .site-header .header-right .follow-inline {
    flex: 0 0 auto;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 3px;
    overflow: visible;
  }

  .site-header .follow-inline .follow-icon {
    width: 28px;
    min-width: 28px;
    height: 28px;
  }

  .site-header .follow-inline .follow-icon svg {
    width: 14px;
    height: 14px;
  }

  .brand-site-name,
  .brand-tagline {
    word-break: break-word;
    line-height: 1.2;
  }

  .brand-site-name {
    font-size: clamp(16px, 4.2vw, 20px) !important;
  }

  .brand-tagline {
    font-size: clamp(12px, 3.4vw, 15px) !important;
  }

  .site-footer .inner {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 0 calc(14px + env(safe-area-inset-bottom, 0px));
  }

  .footer-brand {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .footer-brand img.footer-logo {
    width: 130px;
    height: 34px;
    max-width: 130px;
    max-height: 34px;
  }

  .footer-brand .footer-text > div {
    max-width: 100%;
  }

  .footer-brand .footer-text,
  .footer-brand .footer-text * {
    overflow-wrap: anywhere;
  }

  .footer-social {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .footer-social a svg {
    width: 20px;
    height: 20px;
  }

  .footer-page-chip {
    font-size: 12px;
    padding: 4px 7px;
  }

  .brand img {
    max-height: 54px;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .join-shell,
  .page-shell {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  .join-shell > *,
  .page-shell > * {
    min-width: 0;
    width: 100%;
  }

  .join-subcard,
  .form-card.sub-card {
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
}
