/*
Theme Name: elements-archive
Author: Archive restoration
Version: 1.1
*/
:root {
  --panel: #939393;
  --paper: #ffffff;
  --text: #ffffff;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.38;
}
a { color: inherit; }
.site-header {
  width: 1226px;
  max-width: calc(100vw - 32px);
  min-height: 0;
  margin: 68px auto 0;
  padding: 0;
  background: transparent;
}
.site-title,
.tagline {
  display: none;
}
.nav {
  display: none;
}
.wrap {
  width: 1226px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding: 0;
}
.content {
  position: relative;
  min-height: 520px;
  background: var(--panel);
  padding: 26px 30px 42px;
  overflow: hidden;
}
.elements-social {
  position: absolute;
  top: 14px;
  right: 18px;
  display: flex;
  gap: 12px;
  z-index: 2;
}
.elements-social span {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  color: #fff;
  background: #31589b;
  font: 700 42px/1 Arial, Helvetica, sans-serif;
}
.elements-social .ig {
  background: #2f618f;
  font-size: 34px;
}
.elements-social span:last-child {
  background: #59aee9;
  font-size: 34px;
}
h1 {
  max-width: 760px;
  margin: 14px 120px 90px auto;
  color: #fff;
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
  font-size: 64px;
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: 0;
  text-align: center;
}
h2 {
  margin: 34px 0 16px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
}
p {
  max-width: 1120px;
  margin: 0 0 20px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}
.wp-block-image {
  margin: 0 0 24px;
}
.wp-block-image img {
  max-width: 100%;
  height: auto;
}
.elements-main-image {
  float: left;
  width: 252px;
  height: 252px;
  margin: 7px 44px 26px 0;
  border: 1px solid rgba(255,255,255,.55);
}
.elements-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.elements-inline-image {
  display: inline-block;
  width: min(31%, 320px);
  margin: 10px 16px 22px 0;
  vertical-align: top;
}
.site-footer {
  width: 1226px;
  max-width: calc(100vw - 32px);
  margin: 0 auto;
  padding: 18px 0 42px;
  color: #777;
}
.site-footer p {
  color: #777;
  font-size: 13px;
  font-weight: 400;
}
@media (max-width: 760px) {
  .site-header { margin-top: 24px; }
  .content { padding: 18px; }
  .elements-social { position: static; justify-content: flex-end; margin-bottom: 12px; }
  .elements-social span { width: 38px; height: 38px; font-size: 30px; }
  h1 { margin: 10px 0 28px; font-size: 40px; }
  .elements-main-image { float: none; width: 100%; height: auto; margin-right: 0; }
  .elements-main-image img { height: auto; }
  .elements-inline-image { width: 100%; }
}
