body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

p {
  margin: 1em 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.025em; }

.hero {
  position: relative;
}

.hero img, .hero video {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-button::after {
  content: '';
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #003B5C;
  margin-left: 5px;
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  align-items: flex-end;
}

.character {
  flex: 1 1 25%;
  max-width: 25%;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}

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

.text-block {
  flex: 1 1 75%;
  max-width: 75%;
  padding: 1rem;
  box-sizing: border-box;
}

.text-block h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.text-block h2 .line1 {
  color: #1CBDC8;
  display: block;
}

.text-block h2 .line2 {
  color: #00577c;
  display: block;
}

.text-block p {
  margin: 1.5rem 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

.text-block p strong {
  display: block;
  font-weight: 600;
}

.footer {
  background-color: #00577c;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem 0;
}

.footer p {
  margin: 0 0 1.5rem;
  font-size: 0.85rem;
}

.footer-panel {
display: inline-flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
background-color: rgba(255, 255, 255, 0.5);
border-top-left-radius: 12px;
border-top-right-radius: 12px;
padding: 1.5rem 3rem;
margin: 0 auto 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}

.footer-panel img {
  max-height: 60px;
  height: auto;
  width: auto;
}

/* CMS content styling to mirror TinyMCE defaults */
.cms-content {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #0f172a;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 100%;
}

.cms-content :where(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, pre, table) {
  margin: 0 0 1.2em;
}

.cms-content h1 { font-size: 2rem; line-height: 1.3; font-weight: 700; }
.cms-content h2 { font-size: 1.6rem; line-height: 1.35; font-weight: 700; }
.cms-content h3 { font-size: 1.3rem; line-height: 1.4; font-weight: 700; }
.cms-content h4 { font-size: 1.1rem; line-height: 1.45; font-weight: 700; }
.cms-content h5 { font-size: 1rem; line-height: 1.5; font-weight: 700; }
.cms-content h6 { font-size: 0.95rem; line-height: 1.5; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }

.cms-content p { margin: 1.1em 0; }
.cms-content strong { font-weight: 700; }
.cms-content em { font-style: italic; }
.cms-content a { color: #0f766e; text-decoration: underline; }
.cms-content a:hover { color: #115e59; }

.cms-content ul,
.cms-content ol {
  padding-left: 1.35em;
}
.cms-content ul { list-style: disc; }
.cms-content ol { list-style: decimal; }
.cms-content li { margin: 0.3em 0; }

.cms-content blockquote {
  border-left: 4px solid #cbd5e1;
  padding-left: 1em;
  color: #334155;
  background: #f8fafc;
  border-radius: 4px;
}

.cms-content img,
.cms-content video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25em auto;
  border-radius: 6px;
}

.cms-content figure {
  margin: 0 0 1.2em;
}
.cms-content figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: #475569;
}

.cms-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.2em;
}
.cms-content th,
.cms-content td {
  border: 1px solid #e2e8f0;
  padding: 0.6em 0.8em;
  text-align: left;
}
.cms-content th {
  background: #f1f5f9;
  font-weight: 700;
}
.cms-content tbody tr:nth-child(even) {
  background: #f8fafc;
}

.cms-content code {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  background: #f8fafc;
  padding: 0.15em 0.35em;
  border-radius: 4px;
  font-size: 0.95em;
}

.cms-content pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
}
.cms-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

@media (max-width: 1024px) {
  .character {
    max-width: 100%;
    flex: 1 1 100%;
    order: -1;
  }

  .text-block {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .text-block h2 {
    text-align: center;
  }
}

.chat-toggle--default {
  display:none !important;
}

.chat-toggle__open-button {
    width: 50px;
    height: 50px;
    border-radius: 99px 99px 0 99px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 0;
    border: 0;
    background-color: #f4c257;
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
    pointer-events: auto;
}
.chat-toggle__open-button:before {
    border-radius: 99px;
    background-image: url('https://cdn1.matadornetwork.com/guidegeek/b7b7287f-7065-4dc8-be93-237b93c9c22e.png');
    filter: none;
    content: "";
    width: 35px;
    height: 35px;
    background-size: cover;
    background-position-x: -3px;
}
