/*
Theme Name: Inisev blog
Theme URI: https://inisev.com;
Author: Nick Nahman
Author URI: https://inisev.com;
Description: Simple and clean Wordpress theme for Inisev blog
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inisev.com
*/


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: scale(0);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

html {
  font-size: 16px;
  font-family: Montserrat, sans-serif;
}

html.disabled-scroll {
  overflow-y: hidden;
}

body {
  background-color: white;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.inisev-blog nav li {
  padding: 0.7rem 1.8rem;
  list-style: none;
}

.inisev-blog a {
  color: #0E907B;
  text-decoration: none;
}

.inisev-blog a:hover {
  text-decoration: underline;
}

.green-text{
  color: #0e907b;
}

.wrapper {
  width: 80%;
  max-width: 1500px;
  margin: 0 auto;
}

.inisev-blog header {
  position: relative;
  background-color: #FBFCFF;
  padding-top: 15px;
  padding-bottom: 30px;
}

.inisev-blog header li {
  border-right: 2px solid rgba(0, 0, 0, 0.2);
  font-size: 1.125rem;
  font-weight: 500;
}

.inisev-blog header li:last-of-type {
  padding-right: 0;
  border-right: none;
}

.inisev-blog header a {
  color: #282828;
  text-transform: uppercase;
}

.inisev-blog header a:hover {
  text-decoration: none;
}

.inisev-blog header::after {
  position: absolute;
  content: '';
  width: 94px;
  height: 181px;
  background-image: url('../images/dots-small.png');
  background-size: 100%;
  opacity: 0.08;
  left: 0;
  top: 100%;
  transform: translate(-25%, -20%);
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  width: 82px;
  height: 47px;
}

.inisev-blog header .navbar {
  display: none;
}

.hamburger-btn {
  border: none;
  background: none;
  color: #0E907B;
}

.hamburger-btn:focus {
  outline: none;
}

.hamburger-btn svg {
  fill: currentColor;
}

.inisev-blog .title {
  position: relative;
  margin-top: 65px;
  font-size: 1.875rem;
}

.inisev-blog .title::after {
  position: absolute;
  content: '';
  top: 145%;
  left: 0;
  width: 40px;
  height: 6px;
  background-color: #0E907B;
}

.header-bottom-row {
  position: relative;
  margin-top: 100px;
  z-index: 1;
}

.blog-home-btn {
  display: inline-flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
}

.blog-home-btn:focus {
  outline: none;
}

.blog-home-btn img {
  width: 30px;
  height: 15px;
}

.blog-home-btn span {
  font-size: 1.25rem;
  margin-left: 1.25rem;
}

.mid-section-wrapper {
  position: relative;
  flex: 1;
  max-width: 1500px;
  margin: 30px auto 0;
  z-index: 10;
}

.mid-section-wrapper > .wrapper {
  margin-bottom: 50px;
  width: 100%;
}

main.post {
  background-color: white;
  width: 100%;
  overflow: hidden;
  padding-bottom: 65px;
  margin-bottom: 50px;
  box-shadow: 0 0 40px 10px rgba(0, 0, 0, 0.2);
}

main > .wrapper,
.posts-wrapper {
  width: 80%;
  margin: 0 auto;
}

.posts-wrapper {
  display: grid;
  gap: 15px;
}

.post-image {
  width: 100%;
  height: 250px;
  object-position: center;
  object-fit: cover;
}

.post-title {
  font-size: 2rem;
  margin: 45px 0 0;
}

.post-date {
  font-size: 12px;
  color: #9E9C9D;
  margin-top: 22px;
}

.post-body {
  margin-top: 30px;
  line-height: 1.5;
}

.post-tag-cloud {
  margin-top: 30px;
}

.post-tag-cloud a {
  color: #ffffff;
  font-weight: 500;
  font-size: 12px;
}

.post-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin: 0 3px 8px 0;
  font-size: 0.7rem;
  word-spacing: 0.2rem;
  background-color: #0E907B;
  color: white;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
}

.post-tag:hover {
  text-decoration: none;
}

.post-tag:last-of-type {
  margin-right: 0;
}

.post-card {
  padding-bottom: 15px;
  background-color: white;
  box-shadow: 0 0 50px 10px rgba(0, 0, 0, 0.1);
}

.post-card .wrapper {
  margin-top: 10px;
  width: 85%;
}

.post-card-image {
  width: 100%;
  height: 205px;
  object-position: center;
  object-fit: cover;
}

.date-block {
  display: flex;
  align-items: center;
}

.date-block img {
  width: 15px;
  height: 15px;
}

.post-card-date {
  font-size: 0.625rem;
  color: #9E9C9D;
  margin-left: 8px;
}

.post-card h3 {
  font-size: 1.125rem;
  margin-top: 14px;
}

.post-card-title-link,
.post-card-title-link h3 {
  color: #000000;
}

a.post-card-title-link:hover {
  text-decoration: none;
}

.post-card-body {
  font-size: 0.6875rem;
  margin-top: 14px;
}

.read-more-block {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 15px;
  z-index: 1;
}

.read-more-text {
  color: #0E907B;
  font-size: 0.5rem;
  font-weight: 600;
  transition: filter .5s;
}

a.read-more-text:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

.read-more-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0E907B;
  border: none;
  width: 15px;
  height: 15px;
  margin-left: 0.625rem;
  border-radius: 50%;
  cursor: pointer;
}

.read-more-button:focus {
  outline: none;
}

.read-more-block:hover .read-more-button::before,
.read-more-block:hover .read-more-button::after {
  display: block;
  position: absolute;
  content: '';
  background-color: #0E907B;
  width: 200%;
  height: 200%;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
  z-index: -1;
}

.read-more-block:hover .read-more-button::after {
  animation-delay: -300ms;
}

.read-more-button img {
  position: relative;
  width: 4px;
  height: 8px;
  z-index: 2;
  margin-left: 1px;
}

.post-card-tag-cloud {
  margin-top: 10px;
}

.post-card-tag-cloud a {
  color: #ffffff;
}

.post-card-tag-cloud a:hover {
  text-decoration: none;
}

.post-card-tag {
  display: inline-block;
  padding: 6px 10px;
  margin: 0 2px 8px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01875rem;
  background-color: #0E907B;
  color: white;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: filter .5s;
}

.post-card-tag:hover {
  filter: brightness(1.1);
  text-decoration: none;
}

.tag:hover {
  text-decoration: none;
}

.tag:last-of-type {
  margin-right: 0;
}

nav.pagination {
  display: -webkit-inline-flex;
  display: -ms-inline-flex;
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

div.pagination {
  display: -webkit-inline-flex;
  display: -ms-inline-flex;
  display: inline-flex;
  margin: 17px auto 0;
}

div.pagination > *:not(:last-child) {
  margin-right: 15px;
}

.pagination a,
.pagination span {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f9f9f9;
  color: black;
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
  font-weight: 500;
}

.pagination a:hover,
.pagination span.current {
  background-color: #0E907B;
  color: white;
  text-decoration: none;
}

.pagination a.prev,
.pagination a.next {
  background-image: url('../images/icons/left-arrow.svg');
  background-size: 17px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.pagination a.prev:hover,
.pagination a.next:hover {
  background-image: url('../images/icons/left-arrow-white.svg');
}

/* A hack to make the icon load during initial load of the page */
div.pagination::before {
  content: '';
  background-image: url('../images/icons/left-arrow-white.svg');
}

.pagination a.next {
  transform: scaleX(-1);
}

.search-wrapper {
  position: relative
}

.search-wrapper input {
  background-color: #f6f6f6;
  width: 100%;
  height: 56px;
  padding-left: 25px;
  padding-right: 50px;
  border: none;
  border-radius: 6px;
}

.search-wrapper input:focus {
  outline: none;
}

.search-wrapper button {
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  background: none;
  border: 0;
  cursor: pointer;
}

.search-wrapper button:focus {
  outline: none;
}

.get-insights {
  line-height: 1.5;
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 2px solid #F5F5F5;
}

.track-analyze-app-link {
  color: #0E907B;
}

.follow-section {
  margin-top: 30px;
  margin-bottom: 67px;
}

a.follow-btn-link:hover {
  text-decoration: none;
}

.follow-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 17px;
  padding: 0.9rem 2rem;
  font-size: 15px;
  font-weight: 500;
  word-spacing: 0.2rem;
  background-color: #0E907B;
  color: white;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
}

.follow-btn:hover {
  background-color: #098370
}

.follow-btn:focus {
  outline: none;
}

.follow-btn span {
  margin-left: 0.5rem;
}

.flagship-posts-section {
  margin-top: 55px;
  margin-bottom: 67px;
}

.flagship-posts-heading {
  font-size: 1rem;
  font-weight: 800;
}

.flagship-posts {
  margin-top: 1.75rem;
}

.flagship-post {
  display: flex;
  margin-bottom: 1.25rem;
}

.flagship-post-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 20px;
  min-width: 0;
}

.flagship-post-title {
  font-size: 0.875rem;
  font-weight: 600;
}

.flagship-post-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@supports (display: -webkit-box) and (-webkit-line-clamp: 2) and (-webkit-box-orient: vertical) {
  .flagship-post-title {
    text-overflow: initial;
    white-space: initial;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

.flagship-post-title a {
  color: black;
}

.flagship-post-date {
  font-size: 0.75rem;
  margin-top: 0.3rem;
  color: #969696;
}

footer.vertically-centered {
  align-items: center;
}

footer {
  position: relative;
}

footer.main-container {
  background-color: #0e907b;
  z-index: 2;
  justify-content: space-between;
}


footer.main-container {
  width: 100%;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
}

@media (min-width: 1250px) {
  footer.main-container {
    padding: 0 150px;
  }
}

@media (min-width: 751px) and (max-width: 1249px) {
  footer.main-container {
    padding: 0 75px;
  }
}

@media (min-width: 361px) and (max-width: 750px) {
  footer.main-container {
    padding: 0 30px;
  }
}

@media (max-width: 360px) {
  footer.main-container {
    padding: 0 25px;
  }
}

@media (min-width: 361px) {
  footer.main-container {
    padding-top: 25px;
  }
}

@media (max-width: 360px) {
  footer.main-container {
    padding-top: 35px;
    padding-bottom: 130px;
  }
}

@media (min-width: 1101px) {
  footer.main-container {
    padding-bottom: 105px;
  }
}

@media (max-width: 1100px) {
  footer.main-container {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 361px) and (max-width: 1100px) {
  footer.main-container {
    padding-bottom: 50px;
  }
}

footer .left-part,
footer .right-part,
.footer-links {
  display: -webkit-inline-flex;
  display: -ms-inline-flex;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1100px) {
  footer .right-part {
    margin-top: 20px;
  }
}

@media (max-width: 440px) {
  footer .right-part {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  footer .right-part .footer-links:not(:first-child) {
    margin-top: 20px;
  }
}

footer .logo {
  width: 106px;
  height: 61px;
  margin-bottom: 13px;
}

footer .left-part span {
  color: #97eddf;
  font-weight: 300;
  white-space: nowrap;
  margin-left: 20px;
}

@media (min-width: 361px) {
  footer .left-part span {
    font-size: 17px;
  }
}

@media (max-width: 360px) {
  footer .left-part span {
    font-size: 15px;
  }
}

.footer-link:not(:last-child) {
  border-right: 1px solid #83ddce;
}

@media (min-width: 441px) {
  .footer-links:first-child .footer-link:last-child {
    border-right: 1px solid #83ddce;
  }
}

.footer-link a {
  color: #83ddce;
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
}

.footer-link a:hover {
  text-decoration: none;
}

@media (min-width: 361px) {
  .footer-link {
    padding: 11px 25px;
  }

  .footer-link a {
    font-size: 17px;
    line-height: 17px;
  }
}

@media (max-width: 360px) {
  .footer-link {
    padding: 9px 25px;
  }

  .footer-link:first-child {
    padding-left: 0;
  }

  .footer-link:last-child {
    padding-right: 0;
  }

  .footer-link a {
    font-size: 16px;
  }
}


.logo-copyright {
  display: inline-flex;
  align-items: center;
}

.logo-copyright span {
  margin-left: 1.3rem;
  margin-top: 1.05rem;
}

@media (min-width: 850px) {
  .header-logo {
    width: 121px;
    height: 70px;
  }

  .inisev-blog header .navbar {
    display: block;
  }

  .inisev-blog header .navbar ul {
    display: flex;
  }

  .inisev-blog header::after {
    position: absolute;
    content: '';
    width: 216px;
    height: 417px;
    background-image: url('../images/dots.png');
    background-size: 100%;
    opacity: 0.08;
    left: 0;
    top: 100%;
    transform: translate(12%, -27%);
  }

  .hamburger-btn {
    display: none;
  }

  .blog-home-btn img {
    width: 37px;
    height: 19px;
  }

  .blog-home-btn span {
    font-size: 1.5rem;
  }

  .post-image, .post-card-image {
    height: auto;
  }

  .post-card .wrapper {
    margin-top: 15px;
  }

  .date-block img {
    width: 20px;
    height: 20px;
  }

  .post-card-date {
    font-size: 0.8rem;
  }

  .post-card h3 {
    font-size: 1.125rem;
    margin-top: 18px;
  }

  .post-card-body {
    font-size: 0.875rem;
    margin-top: 20px;
  }

  .post-card-tag-cloud {
    margin-top: 20px;
  }

  .tag {
    padding: 0.4rem 0.9rem;
    font-size: 0.5rem;
  }

  .pagination {
    margin-top: 60px;
  }

  .pagination a,
  .pagination span {
    width: 40px;
    height: 40px;
  }

  footer::before {
    position: absolute;
    content: '';
    width: 216px;
    height: 300px;
    background-image: url('../images/dots.png');
    background-size: 100%;
    opacity: 0.08;
    right: 0;
    top: 0;
    transform: translateY(-50%);
    z-index: -1;
  }
}

@media (min-width: 768px) {
  .posts-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (min-width: 1024px) {
  .inisev-blog header {
    padding-top: 35px;
  }

  .inisev-blog header::after {
    position: absolute;
    content: '';
    width: 216px;
    height: 417px;
    background-image: url('../images/dots.png');
    background-size: 100%;
    opacity: 0.08;
    left: 0;
    top: 100%;
    transform: translate(12%, -27%);
  }

  .inisev-blog .title {
    margin-top: 88px;
    font-size: 3.5rem;
  }

  .inisev-blog .title::after {
    position: absolute;
    content: '';
    top: 140%;
    left: 0;
    width: 80px;
    height: 10px;
    background-color: #0E907B;
  }

  .header-bottom-row {
    margin-top: 170px;
  }

  .blog-home-btn span {
    margin-left: 1.5rem;
  }

  .mid-section-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 80%;
  }

  .mid-section-wrapper > .wrapper {
    width: 70%;
    margin-left: 0;
    margin-bottom: 120px;
  }

  main {
    width: 100%;
  }

  main.post {
    width: 70%;
    margin-bottom: 315px;
  }

  .posts-wrapper {
    width: 100%;
  }

  .post-title {
    font-size: 1.5rem;
  }

  .post-tag-cloud {
    margin-top: 50px;
  }

  .post-card-image {
    height: 280px;
  }

  aside {
    width: 25%;
  }

  aside .wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
}

@media (min-width: 501px) {
  .post-body p,
  .post-card-body p {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 500px) {
  html {
    font-size: 14px;
  }
  .post-body p,
  .post-card-body p {
    font-size: 14px;
    line-height: 22px;
  }
}

.post-body p {
  margin-top: 15px;
}

.read-more-block {
  margin-top: 18px;
}

.read-more-text {
  font-size: 14px;
}

@media (max-width: 750px) and (min-width: 361px) {
  .main-container {
    padding: 165px 30px 0 30px;
  }
}

@media (max-width: 360px) {
  .main-container {
    padding: 165px 25px 0 25px;
  }
}

.mobile-menu-element .header-link a {
  font-weight: 500;
}
