/*
Header Style Changes
*/

.menu-nav li a {
  font-size: 16px;
}

.social-holder li {
  font-size: 20px;
}

/*
Sidebar Style Changes
*/
.widgettitle {
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  padding: 12px 0px;
}

/*
Page Style Changes
*/
.page-header-title {
  font-size: 52px;
  font-weight: bold;
}

/*
* Home Page Blocks
*/

.home-page-blocks {
  margin: -30px 0;
}

.home-page-block {
  padding: 30px 20px;
}

@media screen and (min-width: 992px) {
  .home-page-block {
    padding: 30px 0;
  }
}

.home-page-block .block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 15px;
}

.home-page-block .block-header-cta {
  display: none;
}

.home-page-block .block-footer {
  text-align: center;
}

@media screen and (min-width: 992px) {
  .home-page-block .block-footer {
    display: none;
  }
  .home-page-block .block-header-cta {
    display: inline-block;
  }
}

.home-page-block .block-title {
  padding: 0;
  margin: 0;
  font-size: 36px;
}

/*
* Post List
*/
.post-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.post-card {
  flex-basis: 100%;
  padding: 20px 15px;
}

@media screen and (min-width: 576px) {
  .post-card {
    flex-basis: 50%;
  }
}

@media screen and (min-width: 1500px) {
  .post-card {
    flex-basis: 33.33%;
  }
}

.post-card .card-photo {
  display: block;
  width: 100%;
  height: 106vw;
  max-height: 608px;
}

@media screen and (min-width: 576px) {
  .post-card .card-photo {
    height: 52.4vw;
  }
}

@media screen and (min-width: 768px) {
  .post-card .card-photo {
    height: 38vw;
  }
}

@media screen and (min-width: 1024px) {
  .post-card .card-photo {
    height: 388px;
  }
}

@media screen and (min-width: 1200px) {
  .post-card .card-photo {
    height: 468px;
  }
}

@media screen and (min-width: 1500px) {
  .post-card .card-photo {
    height: 360px;
  }
}

.post-card .card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card .post-card-content {
  padding: 15px 15px 0 15px;
}

@media screen and (min-width: 992px) {
  .post-card .post-card-content {
    padding: 15px 0 0 0;
  }
}

.post-card .post-title {
  font-size: 22px;
  margin: 0;
  padding: 0;
}

.post-card .post-date {
  margin: 0;
  padding: 10px 0;
  color: #444;
}

.post-card .post-excerpt {
  margin: 0;
  padding: 0;
}

.post-card .post-excerpt p {
  margin: 0;
  padding: 0;
}

/*
* Category List
*/
.category-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.category-card {
  flex-basis: 100%;
  padding: 15px;
}

.category-card-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  position: relative;
}

.category-card-container .icon {
  background-color: #333;
  background-position: center center;
  background-size: auto 50px;
  background-repeat: no-repeat;
  flex: 0 0 120px;
  height: 120px;
  border-radius: 100%;
  transition: all 0.3s;
}

.category-card-container .icon:hover {
  background-color: #222;
  transform: scale(1.1);
}

.category-card .category-title {
  padding-top: 15px;
  margin: 0;
  color: #7d7d7d;
  font-size: 14px;
  flex: 0 0 100%;
  text-align: center;
  font-family: "Open Sans", serif;
  font-weight: bold;
}

@media screen and (min-width: 560px) {
  .category-card {
    flex-basis: 50%;
  }
}

@media screen and (min-width: 992px) {
  .category-card {
    flex-basis: 33.33%;
  }
}

@media screen and (min-width: 1440px) {
  .category-card {
    flex-basis: 20%;
  }
}

/*
* Let's work together
*/

.profile {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 0;
}

.profile .profile-photo {
  flex-basis: 100%;
}

.profile .profile-content {
  flex-basis: 90%;
  position: relative;
  align-items: center;
  display: flex;
  margin: 0 auto;
}

.profile .profile-content .content-block {
  background-color: #fff;
  width: 100%;
  padding: 30px 30px;
  margin-top: -40px;
}

@media screen and (min-width: 420px) {
  .profile .profile-content .content-block::before {
    content: "";
    background: none;
    border: solid #fff 1px;
    width: calc(100% + 22px);
    height: calc(100% + 22px);
    position: absolute;
    top: -51px;
    left: -11px;
    z-index: 1;
  }
}

@media screen and (min-width:1200px) {
  .profile .profile-photo {
    flex-basis: 60%;
  }
  .profile .profile-content {
    flex-basis: 40%;
    position: relative;
    align-items: center;
    display: flex;
  }
  .profile .profile-content .content-block {
    background-color: #fff;
    width: calc(100% + 100px);
    position: absolute;
    right: 0;
    padding: 80px 50px;
  }
  .profile .profile-content .content-block::before {
    content: "";
    background: none;
    border: solid #fff 1px;
    width: calc(100% + 22px);
    height: calc(100% + 22px);
    position: absolute;
    top: -11px;
    left: -11px;
    z-index: 1;
  }
}

.profile .profile-content .content-block .button {
  position: relative;
  z-index: 2;
}

.profile .profile-content .content-block h3,
.profile .profile-content .content-block p {
  color: #000;
}

.profile .profile-content .content-block h3 {
  margin: 0;
  padding: 0 0 15px 0;
}

/*
* Button
*/

.button {
  background-color: #000;
  color: #fff;
  font-size: 16px;
  padding: 5px 20px;
  display: inline-block;
}

.button:hover {
  background-color: #ddd;
  color: #000;
}