/*
Theme Name: Jagsness
Author: Aditya Chauhan
Author URI: http://techmind.co.in/
Version: 2.0
Text Domain: Jagsness
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*** for default theme's css ***/

/* Contact Form 7 Error Default CSS */

span.wpcf7-not-valid-tip {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
  position: relative;
  padding: 3px 10px;
  margin-bottom: 0;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  font-size: 13px;
}

.wpcf7-response-output {
  position: relative !important;
  padding: 12px 15px !important;
  margin-bottom: 0;
  border: 1px solid transparent !important;
  border-radius: 0.25rem !important;
  font-size: 18px !important;
}

.invalid .wpcf7-response-output {
  color: #856404 !important;
  background-color: #fff3cd !important;
  border-color: #ffeeba !important;
}

.sent .wpcf7-response-output {
  color: #155724 !important;
  background-color: #d4edda !important;
  border-color: #c3e6cb !important;
}

.failed .wpcf7-response-output {
  color: #721c24 !important;
  background-color: #f8d7da !important;
  border-color: #f5c6cb !important;
}

/* error page design  */
/* =========================================
   404 Error Page
========================================= */

.error_template {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;

  background: radial-gradient(
      circle at 15% 20%,
      rgba(111, 149, 166, 0.14),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 85%,
      rgba(111, 149, 166, 0.08),
      transparent 30%
    );
}

.error_content {
  position: relative;
  width: 900px;
  max-width: 100%;
  padding: 70px 40px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(145deg, #17252d, #263b46);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Decorative circle */
.error_content::before {
  content: "";
  position: absolute;

  width: 280px;
  height: 280px;

  right: -130px;
  top: -130px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.05);
}

/* Small decorative circle */
.error_content::after {
  content: "";
  position: absolute;

  width: 100px;
  height: 100px;

  left: -45px;
  bottom: -45px;

  border-radius: 50%;

  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* 404 number */
.error_code {
  position: relative;
  z-index: 2;

  display: block;

  margin-bottom: 10px;

  color: #ffffff;

  font-size: clamp(90px, 15vw, 170px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -8px;

  opacity: 0.95;
}

/* Heading */
.error_content h1 {
  position: relative;
  z-index: 2;

  margin: 30px 0 15px;

  color: #ffffff;

  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
}

/* Description */
.error_content p {
  position: relative;
  z-index: 2;

  max-width: 600px;

  margin: 0 auto 35px;

  color: rgba(255, 255, 255, 0.7);

  font-size: 17px;
  line-height: 1.7;
}

/* Home button */
.error_home_button {
  position: relative;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 13px 24px;

  color: #17252d;
  background: #ffffff;

  border: 1px solid #ffffff;
  border-radius: 8px;

  font-size: 15px;
  font-weight: 600;

  text-decoration: none;

  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.error_home_button span {
  font-size: 18px;
  transition: transform 0.25s ease;
}

.error_home_button:hover {
  color: #ffffff;
  background: transparent;

  transform: translateY(-2px);
}

.error_home_button:hover span {
  transform: translateX(-4px);
}

/* =========================================
   Mobile
========================================= */

@media (max-width: 767px) {
  .error_template {
    min-height: 65vh;
    padding: 70px 15px;
  }

  .error_content {
    padding: 55px 25px;
    border-radius: 18px;
  }

  .error_code {
    font-size: 100px;
    letter-spacing: -5px;
  }

  .error_content h1 {
    margin-top: 25px;
    font-size: 28px;
  }

  .error_content p {
    font-size: 15px;
    line-height: 1.6;
  }

  .error_home_button {
    padding: 12px 20px;
  }
}

/* when page is empty  */
.singular_page:empty {
  position: relative;
  width: 900px;
  max-width: calc(100% - 40px);
  min-height: 280px;
  margin: 90px auto 90px;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  background: radial-gradient(
      circle at 10% 10%,
      rgba(90, 130, 150, 0.18),
      transparent 35%
    ),
    linear-gradient(145deg, #17252d, #263b46);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

/* Decorative circle */
.singular_page:empty::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -100px;
  top: -100px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

/* Empty page message */
.singular_page:empty::before {
  content: attr(data-pageName) " page is not created yet";

  position: relative;
  z-index: 2;

  width: 600px;
  max-width: 100%;

  text-align: center;
  line-height: 1.25;

  color: #ffffff;

  font-family: inherit;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -1px;

  /* No white background */
  background: transparent;
  border: 0;
  box-shadow: none;

  padding: 20px;
}

/* Accent top border */
.singular_page:empty {
  border-top: 4px solid #6f95a6;
}

/* Mobile */
@media (max-width: 767px) {
  .singular_page:empty {
    min-height: 220px;
    margin: 100px auto 60px;
    padding: 40px 20px;
    border-radius: 18px;
  }

  .singular_page:empty::before {
    padding: 20px 10px;
    font-size: 28px;
  }
}
/* Blog Posts Default Design */

:root {
  --main-color: #7f54b3;
  --main-color-opacaity: #7f54b354;
  --dim-gray: #6d6d6d;
  --white-color: #fff;
  --black-color: #000;
  --gold-color: #ffa534;
}

img {
  max-width: 100%;
}

#single-post .jn-featured-image img {
  width: 100%;
}

#single-post #post-1 {
  padding: 40px;
  background-color: var(--white-color);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

#single-post .jn-post-info ul {
  padding: 0px;
  display: flex;
  background-color: var(--main-color);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  padding: 15px 0px;
  margin-bottom: 45px;
}

#single-post .jn-post-info ul li {
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  border-right: 1px solid var(--white-color);
  border-right-style: dotted;
  padding: 0px 17px;
  color: var(--white-color);
}

#single-post .jn-post-info ul li:last-child {
  border: none;
}

#single-post .jn-post-heading {
  font-size: 35px;
  line-height: 1.2;
  color: var(--black-color);
  font-weight: 700;
  margin-bottom: 20px;
}

#single-post .jn-desc_wrap p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--black-color);
  font-weight: 400;
}

#single-post .jn-desc_wrap h4 {
  font-size: 30px;
  color: var(--black-color);
  line-height: 1.2;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 25px;
  margin-top: 50px;
}

#single-post .jn-desc_wrap h4::after {
  content: "";
  position: absolute;
  width: 110px;
  border-bottom: 2px solid var(--main-color);
  border-bottom-style: dotted;
  right: 0px;
  bottom: 0px;
  top: 0px;
  left: 0px;
  max-width: 100%;
}

#single-post .jn-desc_wrap ol li,
#single-post .jn-desc_wrap ul li {
  margin-bottom: 15px;
  font-size: 16px;
  color: var(--main-color);
}

#single-post .jn-desc_wrap ol li p {
  color: var(--main-color);
}

#single-post hr {
  margin: 50px 0px;
}

#single-post h3 {
  font-size: 22px;
  color: var(--black-color);
  margin-bottom: 20px;
  font-weight: 700;
}

#single-post .alignnone {
  margin: 25px 0px;
  box-shadow: #959da533 0px 8px 24px;
}

#single-post blockquote {
  padding: 50px;
  background-color: var(--main-color-opacaity);
  margin: 0px;
  box-shadow: #63636333 0px 2px 8px 0px;
  border-radius: 12px;
}

@media (max-width: 767.98px) {
  #single-post .jn-post-heading {
    font-size: 25px;
  }

  #single-post .jn-desc_wrap h4 {
    font-size: 22px;
    margin-top: 30px;
  }

  #single-post blockquote {
    padding: 35px;
  }
  #single-post .jn-post-info ul li {
    font-size: 16px;
  }
  #single-post h3 {
    font-size: 18px;
  }
}
