* {
  box-sizing: border-box;
}

html {
  background: #fff;
}

body {
  margin: 0;
  color: #8b8f95;
  font-family: "Old Standard TT", Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
}

a {
  color: #df7fa5;
  text-decoration: underline;
}

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

.site-header {
  border-bottom: 1px solid #ddd;
  padding: 42px 0 40px;
}

.pagewidth {
  width: min(1225px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.site-logo {
  color: #e58bb0;
  font-size: clamp(48px, 4.4vw, 68px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  gap: 32px;
  margin-top: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  color: #8c8f94;
  text-decoration: none;
}

.main-nav a[aria-current="page"],
.main-nav a:hover {
  color: #000;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 845px) 318px;
  gap: 62px;
  padding-top: 44px;
}

.content {
  padding-top: 40px;
}

.page-title {
  display: none;
}

h1,
h2,
h3,
.widget-title {
  color: #000;
  font-weight: 400;
  line-height: 1.4;
}

h1 {
  margin: 0 0 28px;
  font-size: 38px;
}

h2 {
  margin: 58px 0 34px;
  padding-bottom: 20px;
  border-bottom: 5px double #eee;
  text-align: center;
  font-size: clamp(28px, 2.2vw, 34px);
  font-variant: small-caps;
  letter-spacing: 0.11em;
}

h2:first-child {
  margin-top: 16px;
}

h3 {
  margin: 34px 0 14px;
  font-size: 24px;
}

p {
  margin: 0 0 20px;
}

ul,
ol {
  padding-left: 24px;
}

.post-image {
  margin: 28px auto 32px;
}

.article-placeholder {
  width: min(676px, 100%);
  min-height: 280px;
  margin: 28px auto 32px;
  border: 1px solid #ececec;
  background:
    linear-gradient(135deg, rgba(229, 139, 176, .16), rgba(255, 255, 255, .72)),
    repeating-linear-gradient(45deg, #f7f7f7 0 12px, #fff 12px 24px);
}

.sidebar {
  padding-top: 2px;
}

.widget {
  margin-bottom: 26px;
}

.widget-title {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  font-size: 25px;
  text-transform: uppercase;
}

.pin-card,
.image-widget {
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}

.pin-card {
  margin-bottom: 24px;
  padding: 18px 18px 0;
}

.pin-card img {
  width: 100%;
}

.pin-card p {
  margin: 0 -18px;
  padding: 9px 10px;
  background: #f2f0f0;
  color: #111;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
}

.search-box {
  width: 100%;
  height: 31px;
  border: 1px solid #ccc;
  padding: 4px 8px;
  font: inherit;
}

.page-list {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.45;
}

.page-list a {
  color: #8b8f95;
  text-decoration: none;
}

.site-footer {
  margin-top: 60px;
  border-top: 1px solid #eee;
  padding: 28px 0;
  color: #aaa;
  font-size: 14px;
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
  color: #777;
}

.contact-form input,
.contact-form textarea {
  width: min(460px, 100%);
  margin-top: 6px;
  border: 1px solid #ccc;
  padding: 8px 10px;
  font: inherit;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.button {
  width: auto;
  min-width: 88px;
  border: 0;
  background: #df7fa5;
  color: #fff;
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.sitemap-list a {
  color: #8b8f95;
}

@media (max-width: 980px) {
  .header-inner,
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .content {
    padding-top: 0;
  }

  .sidebar {
    max-width: 360px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .pagewidth {
    width: min(100% - 28px, 1225px);
  }

  .site-header {
    padding: 28px 0;
  }

  .main-nav {
    gap: 14px 20px;
    font-size: 14px;
  }

  h2 {
    font-size: 25px;
    letter-spacing: 0.06em;
  }
}
