:root {
  --header-site-height: 74px;
  --pad-inset: 1rem;
  --pad-inset-num: 2.5rem;
}

/* general */
.page-content {
  display: flex;
  flex-direction: column;
}

.page-content, .wrap-body .table .contenttable tr {
  font-size: 0.875rem;
}

.page-content, .wrap-body .table .contenttable tr:first-child {
  font-size: 0.75rem;
}

.page-content > .section .wrap-body ul li, 
.page-content > .section .wrap-body ol li {
  padding-bottom: 0.25rem;
}

.page-content > .section .wrap-body ul li:last-child, 
.page-content > .section .wrap-body ol li:last-child, 
.page-content > .section .wrap-body ul li:only-child, 
.page-content > .section .wrap-body ol li:only-child {
  padding-bottom: 0;
}

/* page-menu */
/* section - sticky */
.page-content > .section:first-child, 
.page-content > .section:nth-child(3) {
  position: sticky;
  top: var(--header-site-height);
  margin-top: 0.75rem;
}

.page-content > .section:first-child {
  display: none;
}

.page-content > .section:nth-child(3) {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  background-color: var(--body-bg);
  z-index: 10;
}

.page-content > .section:nth-child(3) .dropdown-item-text {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
}

/* container - sticky */
.page-content > .section:first-child > .container {
  position: sticky;
  top: calc(1rem + var(--header-site-height));
}

.page-content > .section:first-child .wrap-body > *:first-child:not(ul),
.page-content > .section:nth-child(3) .wrap-body > *:first-child:not(ul) {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 500;
  border-bottom: 1px solid var(--accent);
}

.page-content > .section:first-child .wrap-body ul, 
.page-content > .section:nth-child(3) .wrap-body ul {
  padding-left: 0;
  list-style: none;
}

.page-content > .section:first-child .wrap-body ul li, 
.page-content > .section:nth-child(3) .wrap-body ul li {
  padding-bottom: 0.5rem;
}

.page-content > .section:first-child .wrap-body ul li a, 
.page-content > .section:nth-child(3) .wrap-body ul li a {
  text-decoration: none;
  color: var(--accent);
}

/* page-content */
.page-content {
  position: relative;
}

.page-content > .section:nth-child(2) {
  /* margin-top: 2rem; */
  order: 0;
}

/* header image - start */
/* .page-content > .section:nth-child(2) .frame-textmedia > .frame-row {
  position: relative;
}

.page-content > .section:nth-child(2) .frame-textmedia > .frame-row .frame-col-12:nth-child(2) {
  position: absolute;
  bottom: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(0deg,rgba(6, 6, 24, 0.9) 0%, rgba(6, 6, 24, 0) 100%);
  border-radius: 0.25rem;
} */

.page-content > .section:nth-child(2) .frame-textmedia > .frame-row .frame-col-12:nth-child(2) .wrap-body p .text-alternate {
  font-weight: 400;
}
/* header image - end */

/* tables */

.table {
  font-size: 0.875rem;
  overflow-x: auto;
}

.wrap-body .contenttable {
  width: 100%;
  color: var(--body-color);
}

.wrap-body .contenttable tr {
  margin-bottom: 0;
  font-size: 1rem;
}

/* .wrap-body .contenttable td {
  padding: 0.75rem;
} */

.wrap-body .contenttable td {
  padding: 0.375rem;
  color: var(--primary);
  border: none;
}

.wrap-body .contenttable td:first-child {
  color: var(--body-color);
  font-weight: 500;
  text-align: left;
}

.wrap-body .contenttable td,
.wrap-body .contenttable td:first-child {
  width: 25%;
}

.wrap-body .contenttable tr {
  border-bottom: var(--border-secondary);
}

.wrap-body .contenttable td {
  text-align: center;
  border-bottom: none;
  border-left: var(--border-secondary);
}

.wrap-body .contenttable td:first-child {
  border-bottom: none;
  border-left: none;
}

/* adjustments */
#c1943, #c1950, #c1987, #c2004 {
  padding: var(--card-pad);
  border: var(--border-secondary);
  border-radius: var(--radius);
}

#c1992 .wrap-body .contenttable tr:nth-child(5) {
  background-color: var(--primary-light);
}

#c1992 .wrap-body .contenttable td {
  color: inherit;
}

/* image variants */
#c1943 .group-item:nth-child(1), 
#c1950 .group-item:nth-child(1),
#c1987 .group-item:nth-child(1), 
#c2004 .group-item:nth-child(1) {
  display: none;
}

#c1943 .group-item:nth-child(2), 
#c1950 .group-item:nth-child(2),
#c1987 .group-item:nth-child(2),
#c2004 .group-item:nth-child(2) {
  display: block;
}

@media (min-width: 576px) {
  /* adjustments */
  #c1943 .wrap-body,
  #c1987 .wrap-body,
  #c2004 .wrap-body {
    margin-top: 2rem;
  }

  /* image variants */
  #c1943 .group-item:nth-child(1), 
  #c1950 .group-item:nth-child(1), 
  #c1987 .group-item:nth-child(1),
  #c2004 .group-item:nth-child(1) {
    display: block;
  }
  
  #c1943 .group-item:nth-child(2), 
  #c1950 .group-item:nth-child(2),
  #c1987 .group-item:nth-child(2),
  #c2004 .group-item:nth-child(2) {
    display: none;
  }
}

@media (min-width: 768px) {
  .page-content > .section:nth-child(2) {
    margin-top: 2rem;
  }
  
  .page-content > .section:nth-child(2) .frame-textmedia > .frame-row {
    position: relative;
  }

  .page-content > .section:nth-child(2) .frame-textmedia > .frame-row .frame-col-12:nth-child(2) {
    position: absolute;
    bottom: 0;
    padding: 1rem 1.5rem;
    background: linear-gradient(0deg,rgba(6, 6, 24, 0.9) 0%, rgba(6, 6, 24, 0) 100%);
    border-radius: 0.25rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-site-height: 98px;
  }

  .page-content, .wrap-body .table .contenttable tr {
    font-size: inherit;
  }

  .page-content, .wrap-body .table .contenttable tr:first-child {
    font-size: inherit;
  }

  .page-content > .section:first-child {
    display: block;
  }

  .page-content > .section:nth-child(3) {
    display: none;
  }
  /* section - absolute */
  .page-content > .section:first-child {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    margin-top: 0.75rem;
  }
  
  /* container - sticky */
  .page-content > .section:first-child > .container {
    top: calc(4rem + var(--header-site-height));
    align-items: flex-end;
  }
  
  .page-content > .section:first-child > .container > .row {
    width: calc(25% + 1rem);
  }
  
  .page-content > .section:not(:first-child) > .container > .row {
    position: relative;
    flex-direction: row;
    width: calc(75% + 1rem);
  }

  .page-content > .section:not(:first-child) > .container > .row-cols-sm-2 > *:first-child {
    position: sticky;
    top: var(--header-site-height);
    align-self: flex-start;
  }

  /* header image */
  .page-content > .section:nth-child(2) .frame-textmedia > .frame-row .frame-col-12:nth-child(2) {
    padding: 2rem 2.5rem;
  }
}