.navbar {
  filter: drop-shadow(rgba(0, 0, 0, 0.25) 0 4px 4px);
}

main {
  background: #fff;
}

.search-section {
  background-color: #293a4a;
  min-height: 296px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form {
  text-align: center;
}

.search-form fieldset {
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-form label {
  margin-bottom: 0;
  display: block;
}

aside .search-form label {
  width: 100%;
}

.search-form input[type='search'] {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  height: 40px;
  border: none;
  padding: 0 1rem;
  width: 480px;
}

.search-form h1 {
  color: #fff;
  font-size: 48px;
  font-family: 'Open Sans', sans-serif !important;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .search-form {
    width: 90%;
  }
  .search-form h1 {
    font-size: 2rem;
  }
  .search-form input[type='search'] {
    width: 100%;
  }
}

.posts-grid {
  display: grid;
  width: 100%;
  margin: auto;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  column-gap: 33px;
  row-gap: 55px;
}

@media (max-width: 1239px) {
  .posts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

.posts-grid article {
  background-color: #f7f7f7;
  border-radius: 4px;
  min-height: 368px;
  max-width: 368px;
  margin: 0 auto;
  width: 100%;
}

.posts-grid article .brief {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px 20px 29px 20px;
}

.posts-grid .entry-title a {
  color: #212529;
}

.posts-grid .entry-title a:hover {
  color: rgba(33, 37, 41, 0.8);
  text-decoration: none;
}

.cat-links a {
  background-color: #ececec;
  border-radius: 2px;
  color: #212529;
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  margin-right: 7px;
}

.posts-grid article .brief .read-more,
.cat-links a,
aside .relative-posts ul li a {
  font-family: 'Open Sans', sans-serif !important;
  text-align: right;
  text-transform: uppercase;
}

.posts-grid article .brief .read-more:hover,
.cat-links a:hover,
aside .relative-posts ul li a:hover {
  text-decoration: none;
}

.posts-grid article .brief .read-more,
aside .relative-posts ul li a {
  background-image: url('https://www.cpanel.net/wp-content/themes/cPbase/assets/img/arrow-right.svg');
  background-repeat: no-repeat;
  background-position: right;
  padding-right: 38px;
}

.posts-grid h2 {
  font-size: 1.14em;
  font-weight: 500;
  margin-top: 14px;
  min-height: 103px;
}

a.post-thumbnail {
  display: block;
  width: 100%;
  min-height: 150px;
}

a.post-thumbnail img {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.navigation {
  color: #ff6c2c;
  text-align: center;
  margin-top: 70px;
}

.navigation ul {
  margin: 0;
  padding: 0;
}

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
  font-family: 'Open Sans', sans-serif !important;
  color: #ff6c2c;
  text-decoration: none;
}

.navigation li {
  display: inline-block;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.navigation.cat-nav li {
  margin-bottom: 2rem;
}

.navigation.cat-nav li a {
  border: 1px solid #ff6c2c;
  font-size: 14px;
  margin: 0 12px;
}

.navigation.cat-nav {
  margin-top: 0;
  margin-bottom: 25px;
}

.navigation.cat-nav li a {
  padding: 0.5rem 1.1rem;
}

/*
.cat-links a {
  background-color: #ececec;
  border-radius: 2px;
  color: #212529;
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  margin-right: 7px;
  }
*/

.navigation li a,
.navigation li a:hover,
.navigation li.active a,
.navigation li.disabled {
  border-radius: 4px;
  cursor: pointer;
  padding: 0.5rem 0.9rem;
}

.navigation.cat-nav li a,
.navigation.cat-nav li a:hover,
.navigation.cat-nav li.active a,
.navigation.cat-nav li.disabled {
  padding: 0.6rem 1.5rem;
}

.navigation li a:hover,
.navigation li.active a {
  color: #fff;
  background-color: #ff6c2c;
}

.navigation .prev-posts a,
.navigation .next-posts a {
  border: 1px solid #ff6c2c;
  text-transform: uppercase;
}

.navigation li.prev-posts a,
.navigation li.prev-posts a:hover {
  background-image: url('https://www.cpanel.net/wp-content/themes/cPbase/assets/img/arrow-left.svg');
  background-repeat: no-repeat;
  background-position: 25% 50%;
  padding: 0.5rem 1.5rem 0.5rem 4rem;
}

.navigation li.prev-posts a:hover {
  background-image: url('https://www.cpanel.net/wp-content/themes/cPbase/assets/img/arrow-left-white.svg');
}

.navigation .next-posts a,
.navigation .next-posts a:hover {
  background-image: url('https://www.cpanel.net/wp-content/themes/cPbase/assets/img/arrow-right.svg');
  background-repeat: no-repeat;
  background-position: 75% 50%;
  padding: 0.5rem 4rem 0.5rem 1.5rem;
}

.navigation .next-posts a:hover {
  background-image: url('https://www.cpanel.net/wp-content/themes/cPbase/assets/img/arrow-right-white.svg');
}

.cta-banner {
  background-color: #88b268;
  background: linear-gradient(90deg, #88b268, #469ad0);
  color: #fff;
  min-height: 294px;
}

.cta-banner .container {
  display: flex;
  justify-content: space-evenly;
  align-items: end;
  padding: 1em 0 0 0;
}

@media (min-width: 1240px) {
  .single-post .container,
  .blog .container,
  .archive .container,
  .search .container {
    max-width: 1200px !important;
  }
  .cta-banner .container {
    max-width: 940px !important;
  }
}

.cta-banner .container .cta-content {
  margin-bottom: 45px;
}

@media (max-width: 500px) {
  .cta-banner .container .cta-content {
    margin-bottom: 0;
  }
}

.cta-banner .container .cta-content h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 500;
  display: block;
  margin-top: 10px;
  margin-bottom: 15px;
}

.cta-banner .container .cta-with-bg {
  background-image: url('https://www.cpanel.net/wp-content/themes/cPbase/assets/img/bg_dashboard_sitejet.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: contain;
  min-height: 304px;
}

@media (max-width: 360px) {
  .cta-banner .container .cta-with-bg {
    min-height: 230px;
  }
}

section.no-results,
section.not-found {
  padding: 0;
}

.single-post main header {
  background-color: #e9f4ff;
}

.single-post .entry-header .container {
  display: flex;
  align-items: center;
}

.single-post .entry-header .container > div {
  width: 50%;
}

.single-post img.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
  width: 100%;
  height: auto;
}

@media (max-width: 991px) {
  .single-post .entry-header .container > div {
    width: 100%;
  }
  .single-post .entry-header .container {
    flex-direction: column;
  }
}

.posted-on a,
.posted-on a:hover {
  font-size: 14px;
  color: #212529;
}

.entry-meta .cat-links {
  display: inline-block;
  margin-left: 3px;
}

.entry-meta .cat-links a {
  background-color: #c5e0f9;
  margin-left: 18px;
  margin-right: 0;
}

.entry-meta .entry-title {
  font-size: 45px;
  font-weight: bold;
  letter-spacing: 1px;
  margin: 20px 5px 20px 0;
}

@media (max-width: 991px) {
  .entry-meta .entry-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .entry-meta .entry-title {
    font-size: 1.4rem;
  }
  .entry-meta .cat-links a {
    margin-left: 8px;
  }
}

@media (max-width: 320px) {
  .entry-meta .cat-links a {
    margin-left: 0;
    margin-right: 10px;
  }
  .entry-meta .cat-links {
    margin-left: 0px;
  }
  .posted-on {
    display: block;
    margin-bottom: 14px;
  }
}

.entry-footer {
  background-color: #fff;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.single-post .content-area {
  display: flex;
}

.single-post .content-area main {
  width: 70%;
}

.single-post .content-area aside {
  width: 30%;
  padding-left: 56px;
}

@media (max-width: 991px) {
  .single-post .content-area main,
  .single-post .content-area aside {
    width: 100%;
    padding-left: 0;
  }
  .single-post .content-area {
    flex-direction: column;
  }
}

aside .search-form input[type='search'] {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  height: 40px;
  border: 1px solid #a1a1a1;
  border-right: none;
  width: 100%;
}

aside .search-form input[type='search'] {
  padding: 0 0 0 1rem;
}

@media (max-width: 768px) {
  aside .search-form {
    width: 100%;
  }
}

.img-banner {
  display: block;
  margin-top: 33px;
  text-align: center;
}

.img-banner img {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

aside .relative-posts {
  background-color: #f7f7f7;
  margin-top: 33px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  border-bottom: 2px solid #546d84;
}

aside .relative-posts h3 {
  display: block;
  color: #fff;
  background-color: #546d84;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  padding: 1rem;
  text-transform: capitalize;
}

aside .relative-posts ul {
  list-style: none;
  margin: 1.8rem 1.4rem 0;
  padding: 0;
}

aside .relative-posts ul li {
  margin-bottom: 1.8rem;
}

aside .relative-posts ul li strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
}

aside .relative-posts ul li a {
  display: block;
  margin-top: 1.8rem;
}

.share-and-try {
  background-color: #f7f7f7;
  background-image: url('https://www.cpanel.net/wp-content/themes/cPbase/assets/img/bg_cpanel_share_try.svg');
  background-repeat: no-repeat;
  background-position: right;
  background-size: contain;
  border-radius: 4px;
  display: flex;
  min-height: 128px;
  margin-top: 56px;
  justify-content: space-evenly;
  align-items: center;
  padding: 14px 33px;
}

.cpbase-share p {
  font-weight: 500;
}

.cpbase-try {
  text-align: right;
}

.share-and-try > div {
  width: 50%;
}

.cta-banner .container > .cta-content {
  width: 40%;
}

.cta-banner .container > .cta-with-bg {
  width: 60%;
}

.cpbase-try a,
.cpbase-try a:hover,
.cta-content a,
.cta-content a:hover {
  color: #fff;
  background-color: #ff6c2c;
  border: 1px solid #ff6c2c;
  border-radius: 4px;
  display: inline-block;
  padding: 0.6rem 1.5rem;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif !important;
  text-decoration: none;
  text-transform: uppercase;
}

.cpbase-try a:hover,
.cta-content a:hover {
  color: #ff6c2c;
  background-color: #fff;
}

@media (max-width: 991px) {
  .share-and-try {
    background-color: #ececec;
    background-position: center;
    background-size: cover;
    margin-bottom: 56px;
    flex-direction: column;
  }

  .cta-banner .container {
    flex-direction: column;
    padding: 3em 0 0 0;
  }

  .cta-banner .container .cta-with-bg {
    background-position: center bottom;
  }

  .share-and-try > div,
  .cta-banner .container > .cta-content,
  .cta-banner .container > .cta-with-bg {
    width: 100%;
  }

  .cta-banner .container > .cta-content {
    text-align: center;
  }

  .cpbase-try {
    margin-top: 20px;
    text-align: center;
  }
  .cpbase-try a {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .cta-banner .container .cta-with-bg {
    background-size: 90%;
  }
}
