/* !Format: Lex Lexter <hi@leximo.cz> */

/*
  Titles
  ***
*/

h1, .--like-h1, 
h2, .--like-h2,
h3, .--like-h3, 
h4, .--like-h4, 
h5, .--like-h5, 
h6, .--like-h6 {
  margin: 42px 0 16px 0;
  font: 400 100% var(--font-secondary);
  color: #B1A170;
}
h1, .--like-h1 {
  line-height: 1.25;
  font-size: 52px;
}
h2, .--like-h2 {
  line-height: 1.3;
  font-size: 44px;
}
h3, .--like-h3 {
  line-height: 1.35;
  font-size: 36px;
}
h4, .--like-h4 {
  line-height: 1.4;
  font-size: 28px;
}
h5, .--like-h5 {
  line-height: 1.45;
  font-size: 24px;
}
h6, .--like-h6 {
  line-height: 1.5;
  font-size: 16px;
}

/*
  Caps
  ---
*/

h1:first-child,
h2:first-child, 
h3:first-child, 
h4:first-child, 
h5:first-child,
h6:first-child {
  margin-top: 0;
}

/*
  + subtext
  ---
*/


h1 + .subtext,
h2 + .subtext, 
h3 + .subtext, 
h4 + .subtext, 
h5 + .subtext,
h6 + .subtext {
  margin-top: -8px;
}

/*
  Paragraphs
  ***
*/

p, 
address {
  margin-bottom: 16px;
  line-height: 1.65;
}
address {
  font-style: normal;  
}

/*
  Empty
  ---
*/

p:empty {
  display: none;
}


/*
  Lists
  ***
*/

li {
  position: relative;
  margin-bottom: 8px;
  line-height: 1.6;
}

/*
  Wrappers
  ---
*/

ul,
ol {
  margin: 0 0 16px 0;
  list-style: none;
}
ul ul,
ul ol,
ol ul,
ol ol {
  margin: 6px 0 2px 20px;
}
ol {
  counter-reset: list;
}

/*
  Dot
  ---
*/

ul > li {
  padding-left: 22px;
}
ul > li:before {
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  left: 0;
  top: 9px;
  transform: rotate(45deg);
  background-color: #B3A270;
  border-radius: 2px;
}

/*
  Number
  ---
*/

ol > li {
  counter-increment: list;
  padding-left: 24px;
}
ol > li:before {
  content: counter(list) ".";
  box-sizing: border-box;
  width: 24px;
  position: absolute;
  top: 4px;
  left: -4px;
  padding-right: 10px;
  text-align: right;
  font: 700 100% var(--font-secondary);
  color: #B3A270;
}

/*
  table
  ***
*/

table {
  width: 100%;
  margin: 24px 0;
  font-size: 15px;
}

/*
  Cells
  ---
*/

table th, 
table td {
  vertical-align: middle;
  padding: 14px 16px 14px 16px;
  background-color: #323232;
  border: 1px solid #4A4A4A;
  line-height: 1.6;
}

/*
  thead
  ---
*/

table thead th, 
table thead td {
  font: 400 20px var(--font-secondary);
  color: #B1A170;
}

/*
  table
  ---
*/

.table {
  overflow-y: hidden;
  overflow-x: auto;
  margin: 24px 0;
}

/*
  Adjust TABLE
  ...
*/

.table table {
  min-width: 600px;
  margin: 0;
}

/*
  Images, captions
  ***
*/

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

/*
  - align
  ---
*/

img.--align-center {
  display: table;
  margin: 24px auto 24px auto;
}
img.--align-right {
  float: right;
  margin: 6px 0 24px 24px;
}
img.--align-center {
  display: table;
  margin: 24px auto;
}
img.--align-none {
  margin: 24px 0;
}

/*
  Iframe, video
  ***
*/

iframe, video {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/*
  Rules
  ***
*/

hr {
  height: 1px;
  position: relative;
  display: block;
  clear: both;
  margin: 64px 0;
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
}