/* =========================================================
   AConfession Static HTML Pages
   Path: public_html/assets/css/static-page.css
   Scope: about / privacy / terms / rules / custom static pages
   ========================================================= */

.acf-static-page {
  display: grid;
  gap: 12px;
  direction: rtl;
  text-align: right;
}

.acf-static-header {
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 24px;
  padding: 15px 14px;
  background:
    radial-gradient(210px 140px at 100% -30%, rgba(124,58,237,.20), transparent 70%),
    linear-gradient(145deg, rgba(20,29,50,.86), rgba(7,10,18,.86));
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.acf-static-header h1 {
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.45;
  letter-spacing: -.25px;
}

.acf-static-content {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 24px;
  padding: 15px 14px;
  background: rgba(255,255,255,.035);
  color: #dbe4f3;
  overflow: hidden;
}

.acf-static-content > :first-child {
  margin-top: 0 !important;
}

.acf-static-content > :last-child {
  margin-bottom: 0 !important;
}

.acf-static-content h1,
.acf-static-content h2,
.acf-static-content h3,
.acf-static-content h4,
.acf-static-content h5,
.acf-static-content h6 {
  color: #fff;
  line-height: 1.45;
  margin: 20px 0 9px;
  letter-spacing: -.2px;
}

.acf-static-content h1 { font-size: 22px; }
.acf-static-content h2 { font-size: 19px; }
.acf-static-content h3 { font-size: 17px; }
.acf-static-content h4,
.acf-static-content h5,
.acf-static-content h6 { font-size: 15.5px; }

.acf-static-content p,
.acf-static-content li,
.acf-static-content td,
.acf-static-content th,
.acf-static-content blockquote,
.acf-static-content details,
.acf-static-content summary {
  line-height: 1.95;
  font-size: 14.5px;
}

.acf-static-content p {
  margin: 0 0 12px;
}

.acf-static-content a {
  color: #93c5fd;
  text-decoration: none;
  border-bottom: 1px solid rgba(147,197,253,.38);
}

.acf-static-content a:active {
  opacity: .72;
}

.acf-static-content ul,
.acf-static-content ol {
  margin: 10px 0 14px;
  padding: 0 22px 0 0;
}

.acf-static-content li {
  margin: 4px 0;
  padding-right: 2px;
}

.acf-static-content blockquote {
  margin: 14px 0;
  padding: 11px 13px;
  border-right: 3px solid rgba(124,58,237,.82);
  border-radius: 16px;
  background: rgba(124,58,237,.10);
  color: #e8ecf7;
}

.acf-static-content hr {
  border: 0;
  height: 1px;
  margin: 18px 0;
  background: rgba(255,255,255,.10);
}

.acf-static-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  margin: 12px auto;
  border: 1px solid rgba(255,255,255,.08);
}

.acf-static-content figure {
  margin: 14px 0;
}

.acf-static-content figcaption {
  margin-top: 7px;
  color: #9aa7bd;
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.acf-static-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(2,6,23,.30);
}

.acf-static-content th,
.acf-static-content td {
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: top;
}

.acf-static-content tr:last-child th,
.acf-static-content tr:last-child td {
  border-bottom: 0;
}

.acf-static-content th {
  color: #fff;
  background: rgba(255,255,255,.045);
  font-weight: 900;
}

.acf-static-content pre,
.acf-static-content code {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.acf-static-content pre {
  overflow: auto;
  max-width: 100%;
  margin: 12px 0;
  padding: 12px;
  border-radius: 16px;
  background: rgba(2,6,23,.62);
  border: 1px solid rgba(255,255,255,.08);
  color: #dbeafe;
  line-height: 1.75;
}

.acf-static-content code {
  padding: 2px 5px;
  border-radius: 7px;
  background: rgba(2,6,23,.58);
  color: #bfdbfe;
}

.acf-static-content pre code {
  padding: 0;
  background: transparent;
}

.acf-static-content details {
  margin: 12px 0;
  padding: 11px 12px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

.acf-static-content summary {
  cursor: pointer;
  color: #fff;
  font-weight: 900;
}

.acf-static-empty {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.035);
  border: 1px dashed rgba(255,255,255,.12);
  color: #aab5c8;
  text-align: center;
  line-height: 1.8;
}

@media (max-width: 420px) {
  .acf-static-header,
  .acf-static-content {
    border-radius: 21px;
    padding: 13px 12px;
  }

  .acf-static-header h1 {
    font-size: 20px;
  }

  .acf-static-content p,
  .acf-static-content li,
  .acf-static-content td,
  .acf-static-content th,
  .acf-static-content blockquote,
  .acf-static-content details,
  .acf-static-content summary {
    font-size: 14px;
  }

  .acf-static-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
