/* Fonts */
@font-face {
  font-weight: 400;
  font-style: normal;
  font-family: "TT";
  src: url("../fonts/TT_Commons/TT_Commons_Regular.ttf");
  font-display: swap;
}

@font-face {
  font-weight: 400;
  font-style: italic;
  font-family: "TT";
  src: url("../fonts/TT_Commons/TT_Commons_Italic.ttf");
  font-display: swap;
}

@font-face {
  font-weight: 500;
  font-style: normal;
  font-family: "TT";
  src: url("../fonts/TT_Commons/TT_Commons_Medium.ttf");
  font-display: swap;
}

@font-face {
  font-weight: 500;
  font-style: italic;
  font-family: "TT";
  src: url("../fonts/TT_Commons/TT_Commons_Medium_Italic.ttf");
  font-display: swap;
}

@font-face {
  font-weight: 600;
  font-style: normal;
  font-family: "TT";
  src: url("../fonts/TT_Commons/TT_Commons_DemiBold.ttf");
  font-display: swap;
}

@font-face {
  font-weight: 700;
  font-style: normal;
  font-family: "TT";
  src: url("../fonts/TT_Commons/TT_Commons_Bold.ttf");
  font-display: swap;
}

@font-face {
  font-weight: 800;
  font-style: normal;
  font-family: "TT";
  src: url("../fonts/TT_Commons/TT_Commons_ExtraBold.ttf");
  font-display: swap;
}

@font-face {
  font-weight: 900;
  font-style: normal;
  font-family: "TT";
  src: url("../fonts/TT_Commons/TT_Commons_Black.ttf");
  font-display: swap;
}

/* Text-level Semantics */
a {
  display: inline-block;
}

a,
a:is(:visited, :active) {
  outline: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}

abbr[title] {
  border-bottom: none;
  text-decoration: none;
}

:is(b, strong) {
  font-weight: 600;
}

:is(em, i) {
  font-style: italic;
}

/* Headings & Paragraphs */
:is(h1, h2, h3, h4, h5, h6) {
  color: #000;
  font-weight: 400;
  font-family: var(--ff-heading);
  line-height: 100%;
}

h1,
.h1 {
  font-size: 2.25rem;
}

h2,
.h2 {
  font-size: 2rem;
}

h3,
.h3 {
  font-size: 1.75rem;
}

h4,
.h4 {
  font-size: 1.5rem;
}

h5,
.h5 {
  font-size: 1.25rem;
}

h6,
.h6 {
  font-size: 1rem;
}

.headline-1 {
  font-weight: 500;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 110%;
}

.headline-2 {
  font-weight: 600;
  font-size: clamp(54px, 6vw, 80px);
  line-height: 90%;
}

.headline-3 {
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 55px);
  line-height: 100%;
}

.headline-4 {
  font-weight: 500;
  font-size: 30px;
  line-height: 110%;
}

.headline-5 {
  font-weight: 500;
  font-size: clamp(32px, 9.2vw, 48px);
  line-height: 110%;
}

.headline-6 {
  font-weight: 600;
  font-size: clamp(50px, 7.1vw, 90px);
  line-height: 99%;
}

.headline-7 {
  font-size: clamp(23px, 4vw, 27px);
  line-height: 110%;
  font-weight: 500;
}

.headline-8 {
  font-size: clamp(35px, 7.1vw, 60px);
  line-height: 103%;
  font-weight: 600;
}

.headline-9 {
  font-weight: 600;
  line-height: 100%;
  font-size: clamp(32px, 3.5vw, 48px);
}

.headline-10 {
  font-weight: 500;
  font-size: clamp(28px, 5vw, 43px);
  line-height: 110%;
}

.headline-11 {
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 52px);
  line-height: 100%;
}

.subtitle-1 {
  font-weight: 600;
  font-size: 21px;
  line-height: 140%;
}

.overline-1 {
  text-transform: uppercase;
  letter-spacing: .9px;
  font-weight: 500;
  font-size: 15px;
  line-height: 145%;
}

.overline-2 {
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 500;
  font-size: 14px;
  line-height: 145%;
}

@media (max-width: 720px) {
  .overline-2 {
    font-size: 13px;
  }
}

:is(p, dl, ol, ul, blockquote, pre, table) {
  margin-bottom: calc(var(--p-font-size) * 1.7);
  color: var(--clr-dark);
  font-weight: 400;
  font-style: normal;
  font-size: var(--p-font-size);
  line-height: 140%;
}

:is(p, dl, ol, ul, blockquote, pre, table):last-child {
  margin-bottom: 0;
}

p:empty {
  display: none;
}

p > a {
  color: currentColor;
  text-decoration: underline solid 1px;
  font-size: inherit;
}

p > a:hover {
  color: var(--clr-light);
}

/* Lists */
:is(ul, ol) {
  margin-left: 40px;
  list-style-position: outside;
  --spacing: 12px;
}

li :is(ul, ol) {
  margin-top: var(--spacing);
}

li {
  margin-bottom: var(--spacing);
  /*  padding-left: 18px;*/
}

li:last-child {
  margin-bottom: 0;
}

.list-styled li::marker {
  color: var(--clr-accent);
  font-size: 1em;
}

:is(.list-unstyled, .list-inline),
:is(.list-unstyled, .list-inline) li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-inline li {
  display: inline-block;
}