/* Profile template styles (About page) */

.cs-layout-wide {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.cs-content.cs-content--wide {
  max-width: 100%;
  padding: 44px 48px 56px;
}

article[data-template="profile"] section:first-of-type {
  margin-bottom: 46px;
}

.cs-wrap {
  font-family: "Newsreader", Georgia, serif;
}

.cs-wrap .fill-width {
  width: 100%;
}
.cs-split-hero {
  display: flex;
  align-items: center;
  gap: 50px;
}

.cs-split-hero__media {
  height: 520px;
  flex-shrink: 0;
  overflow: hidden;
}

.cs-media-oval {
  border-radius: 999px;
  background: #e8e6df;
}

.cs-split-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cs-split-hero__body {
  max-width: 720px;
}

.cs-split-hero__body h2 {
  font-size: 22px;
  line-height: 1.5;
  margin: 0 0 12px;
  color: var(--text);
}
.cs-split-hero__body h1 {
  margin-top: 5px;
  line-height: 1.22;
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.cs-split-hero__body p {
  margin: 16px 0;
}

.cs-link-row {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cs-wrap .header-section {
  background: url("https://martinamikh.com/wp-content/uploads/portfolio/BG.webp")
    no-repeat center/cover;
  background-color: #1b1b1b;
  color: #fff;
  padding-top: 120px;
}

.cs-wrap .header-section section {
  padding: 80px 0;
  margin: 0 !important;
  margin: 0 auto;
}

.cs-link-inline {
  font-size: 16px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cs-link-inline svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.cs-icon-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px !important;
}

.cs-icon-title svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cs-content.cs-content--wide {
    padding: 24px 14px 30px;
  }

  .cs-split-hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .cs-split-hero__media {
    width: 220px;
    height: 300px;
  }

  .cs-split-hero__body p {
    font-size: 18px;
    line-height: 1.5;
  }

  .cs-link-inline {
    font-size: 20px;
  }
}

.page-id-1062 #page-header.uninit {
  height: 0 !important;
  min-height: 0 !important;
}
