/* =========================================================
   Main content
   ========================================================= */

.site-main {
  line-height: 1.75;
}

/* =========================================================
   Headings
   ========================================================= */

.site-main h1 {
  position: relative;

  /* max-width: 980px; */
  margin: 20px 0 32px;

  color: var(--text);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.site-main h2 {
  margin: 58px 0 20px;

  color: var(--text);
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.site-main h3 {
  margin: 28px 0 14px;

  color: var(--text);
  font-size: 24px;
  font-weight: 850;
  line-height: 1.25;
}

/* =========================================================
   Text
   ========================================================= */

.site-main p {
  margin: 0 0 20px;

  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.site-main strong {
  color: var(--text);
  font-weight: 850;
}

/* =========================================================
   Lists
   ========================================================= */

.site-main ul,
.site-main ol {
  margin: 0 0 26px 22px;
  padding: 0;
}

.site-main li {
  margin-bottom: 9px;

  color: var(--muted);
  line-height: 1.65;
}

.site-main ul li::marker {
  color: var(--accent-2);
}

.site-main ol li::marker {
  color: var(--accent-2);
  font-weight: 900;
}

/* =========================================================
   Blockquote
   ========================================================= */

.site-main blockquote {
  margin: 32px 0;
  padding: 22px 26px;

  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.7;

  background: linear-gradient(180deg, rgba(255, 45, 135, 0.05), rgba(157, 78, 221, 0.025)), var(--card);

  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 0 16px 16px 0;
}


.bankue {
  position: relative;
  margin: 24px 0;
  padding: 20px 22px 20px 60px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.015)
    );

  color: var(--text, #f5f7fb);
}

.bankue::before {
  content: "!";
  position: absolute;
  top: 50%;
  left: 20px;

  width: 26px;
  height: 26px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(246, 189, 59, 0.45);
  border-radius: 50%;

  background: rgba(246, 189, 59, 0.08);
  color: #f6bd3b;

  font-size: 14px;
  font-weight: 700;
  line-height: 1;

  transform: translateY(-50%);
}

.bankue p {
  margin: 0;
}

.bankue p + p {
  margin-top: 10px;
}

.bankue a {
  color: #f6bd3b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767px) {
  .bankue {
    padding: 18px 18px 18px 54px;
  }

  .bankue::before {
    left: 16px;
  }
}
/* =========================================================
   Divider
   ========================================================= */

.site-main hr {
  margin: 48px 0;

  border: 0;
  border-top: 1px solid var(--line);
}

/* =========================================================
   Content images
   ========================================================= */

.site-main > .container > img,
.site-main .entry-content > img,
.site-main p > img {
  display: block;

  max-width: 100%;
  height: auto;
  margin: 32px auto;

  border: 1px solid var(--line);
  border-radius: 18px;

  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   Standard content tables
   Important: bookmaker tables are excluded
   ========================================================= */

.site-main table:not(.bookmaker-table) {
  width: 100%;

  overflow: hidden;

  border-collapse: separate;
  border-spacing: 0;

  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006)), var(--card);

  border: 1px solid var(--line);
  border-radius: 14px;
}

.site-main table:not(.bookmaker-table) th {
  padding: 14px 16px;

  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  text-align: left;

  background: rgba(255, 45, 135, 0.055);
  border-bottom: 1px solid var(--line);
}

.site-main table:not(.bookmaker-table) td {
  padding: 13px 16px;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;

  background: transparent;
  border-top: 1px solid var(--line);
}

.site-main table:not(.bookmaker-table) tbody tr:first-child td {
  border-top: 0;
}

.site-main table:not(.bookmaker-table) tbody tr:hover td {
  background: rgba(255, 45, 135, 0.025);
}

/* =========================================================
   Inline code and preformatted code
   ========================================================= */

.site-main code {
  padding: 3px 7px;

  color: var(--accent-2);

  background: rgba(255, 45, 135, 0.08);
  border: 1px solid rgba(255, 45, 135, 0.14);
  border-radius: 7px;
}

.site-main pre {
  margin: 30px 0;
  padding: 22px;

  overflow-x: auto;

  color: rgba(255, 255, 255, 0.82);

  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.site-main pre code {
  padding: 0;

  color: inherit;

  background: transparent;
  border: 0;
  border-radius: 0;
}

/* =========================================================
   Links
   Important: shortcode buttons are excluded
   ========================================================= */

.site-main p a,
.site-main li a,
.site-main td a:not(.bookmaker-table__button) {
  color: var(--accent-2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;

  transition: color 0.2s ease;
}

.site-main p a:hover,
.site-main li a:hover,
.site-main td a:not(.bookmaker-table__button):hover {
  color: #ff6aa8;
}

/* =========================================================
   Notice
   ========================================================= */

.notice {
  position: relative;

  margin: 26px 0;
  padding: 18px 22px 18px 62px;

  background: linear-gradient(180deg, rgba(255, 45, 135, 0.045), rgba(157, 78, 221, 0.025)), var(--card);

  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 14px;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.notice::before {
  content: 'i';

  position: absolute;
  top: 18px;
  left: 20px;

  width: 28px;
  height: 28px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 14px;
  font-weight: 900;
  font-style: normal;

  background: rgba(255, 45, 135, 0.12);
  border: 1px solid rgba(255, 45, 135, 0.26);
  border-radius: 50%;
}

.notice p {
  margin: 0;
}

.notice strong {
  color: var(--text);
}

/* =========================================================
   Responsive table wrapper
   ========================================================= */

.table-responsive {
  width: 100%;
  margin: 24px 0;

  overflow-x: auto;
  overflow-y: hidden;

  border-radius: 14px;

  scrollbar-width: thin;
  scrollbar-color: rgba(255, 45, 135, 0.5) rgba(255, 255, 255, 0.04);
  -webkit-overflow-scrolling: touch;
}

.table-responsive::-webkit-scrollbar {
  height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(255, 45, 135, 0.5);
  border-radius: 999px;
}

.table-responsive table:not(.bookmaker-table) {
  width: 100%;
  min-width: 0;
  table-layout: auto;
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 768px) {
  .site-main h1 {
    margin: 10px 0 24px;

    font-size: 34px;
    line-height: 1.2;
  }

  .site-main h1::after {
    width: 70px;
    margin-top: 14px;
  }

  .site-main h2 {
    margin-top: 42px;
    font-size: 28px;
  }

  .site-main h3 {
    margin-top: 24px;
    font-size: 21px;
  }

  .site-main p {
    font-size: 15px;
    line-height: 1.75;
  }

  .site-main h2 + p {
    font-size: 16px;
  }

  .site-main blockquote {
    padding: 18px 20px;

    font-size: 16px;
  }

  .notice {
    padding: 16px 16px 16px 54px;
  }

  .notice::before {
    top: 16px;
    left: 16px;

    width: 26px;
    height: 26px;
  }
}
