/* ===============================
   ATMS Single Blog Post
================================ */

body.single-post {
  background: #f7f8f1;
}

.atms-single-post-page {
  width: 100%;
  min-height: 100vh;
  background: #f7f8f1;
  color: #17233c;
  font-family: "Geist", Arial, sans-serif;
}

.atms-single-post,
.atms-single-post * {
  box-sizing: border-box;
}

.atms-single-container {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
}

/* ===============================
   Dynamic Post Title
================================ */

.atms-single-title-wrap {
  width: 100%;
  background: #f7f8f1;
  padding: 76px 20px 0;
}

.atms-single-title {
  margin: 0;
  max-width: 920px;
  color: #082b4f;
  font-family: "Geist", Arial, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.atms-single-title-wrap + .atms-single-hero {
  padding-top: 42px;
}

/* ===============================
   Featured Image
================================ */

.atms-single-hero {
  width: 100%;
  background: #f7f8f1;
  padding: 72px 20px 44px;
}

.atms-single-featured {
  width: 100%;
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: #e8e8df;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
}

.atms-single-featured img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.atms-single-featured:hover img {
  transform: scale(1.06);
}

/* ===============================
   Content Card
================================ */

.atms-single-body {
  width: 100%;
  background: #f7f8f1;
  padding: 0 20px 110px;
}

.atms-single-content {
  width: 100%;
  max-width: 1184px;
  margin: 0 auto;
  padding: 54px 64px;

  background: #fffef9;
  border: 1px solid rgba(94, 94, 94, 0.2);
  border-left: 8px solid #056fbf;
  border-radius: 26px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.055);

  color: #17233c;
  font-family: "Geist", Arial, sans-serif;
  font-size: 19px;
  font-weight: 300;
  line-height: 31px;
  letter-spacing: 0;
}

.atms-single-content > *:first-child {
  margin-top: 0;
}

.atms-single-content > *:last-child {
  margin-bottom: 0;
}

/* ===============================
   Typography
================================ */

.atms-single-content p {
  margin: 0 0 22px;
  color: #17233c;
  font-size: 19px;
  font-weight: 300;
  line-height: 31px;
}

.atms-single-content h1,
.atms-single-content h2,
.atms-single-content h3,
.atms-single-content h4,
.atms-single-content h5,
.atms-single-content h6 {
  margin: 34px 0 18px;
  color: #17233c;
  font-family: "Geist", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

.atms-single-content h1 {
  font-size: 42px;
  line-height: 50px;
}

.atms-single-content h2 {
  font-size: 32px;
  line-height: 40px;
  padding-left: 16px;
  border-left: 5px solid #ffe331;
}

.atms-single-content h3 {
  font-size: 24px;
  line-height: 32px;
}

.atms-single-content h4 {
  font-size: 21px;
  line-height: 30px;
}

.atms-single-content strong,
.atms-single-content b {
  font-weight: 700;
  color: #17233c;
}

.atms-single-content a {
  color: #056fbf;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.atms-single-content a:hover {
  color: #035695;
  text-decoration: underline;
}

/* ===============================
   Lists
================================ */

.atms-single-content ul,
.atms-single-content ol {
  margin: 0 0 24px 28px;
  padding: 0;
}

.atms-single-content li {
  margin-bottom: 8px;
  color: #17233c;
  font-size: 19px;
  font-weight: 300;
  line-height: 31px;
}

.atms-single-content li::marker {
  color: #056fbf;
}

/* ===============================
   Extra Content Styles
================================ */

.atms-single-content blockquote {
  margin: 34px 0;
  padding: 26px 30px;
  border-left: 5px solid #ffe331;
  background: #fff9cc;
  border-radius: 14px;
  color: #17233c;
}

.atms-single-content blockquote p {
  margin-bottom: 0;
}

.atms-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

.atms-single-content figure {
  margin: 34px 0;
}

.atms-single-content figcaption {
  margin-top: 10px;
  color: #5e5e5e;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

.atms-single-content hr {
  border: 0;
  border-top: 1px solid rgba(94, 94, 94, 0.22);
  margin: 36px 0;
}

/* ===============================
   Hide Theme Default Elements
================================ */

.single-post .page-header,
.single-post .entry-header,
.single-post .entry-title,
.single-post h1.entry-title,
.single-post .post-thumbnail {
  display: none !important;
}

/* Keep our featured image visible */
.atms-single-featured .wp-post-image {
  display: block !important;
}

/* ===============================
   Laptop
================================ */

@media (max-width: 1366px) {
  .atms-single-container {
    max-width: 980px;
  }

  .atms-single-title {
    max-width: 860px;
    font-size: 38px;
  }

  .atms-single-featured {
    height: 500px;
    border-radius: 26px;
  }

  .atms-single-content {
    padding: 46px 52px;
    font-size: 18px;
    line-height: 30px;
  }

  .atms-single-content p,
  .atms-single-content li {
    font-size: 18px;
    line-height: 30px;
  }
}

/* ===============================
   Tablet
================================ */

@media (max-width: 991px) {
  .atms-single-title-wrap {
    padding: 58px 24px 0;
  }

  .atms-single-title {
    font-size: 33px;
    line-height: 1.22;
  }

  .atms-single-title-wrap + .atms-single-hero {
    padding-top: 34px;
  }

  .atms-single-hero {
    padding: 58px 24px 38px;
  }

  .atms-single-body {
    padding: 0 24px 86px;
  }

  .atms-single-container {
    max-width: 720px;
  }

  .atms-single-featured {
    height: 430px;
    border-radius: 24px;
  }

  .atms-single-content {
    padding: 38px 36px;
    border-radius: 22px;
    border-left-width: 6px;
    font-size: 17px;
    line-height: 29px;
  }

  .atms-single-content p,
  .atms-single-content li {
    font-size: 17px;
    line-height: 29px;
  }

  .atms-single-content h1 {
    font-size: 36px;
    line-height: 44px;
  }

  .atms-single-content h2 {
    font-size: 29px;
    line-height: 37px;
  }

  .atms-single-content h3 {
    font-size: 23px;
    line-height: 31px;
  }
}

/* ===============================
   Mobile
================================ */

@media (max-width: 767px) {
  .atms-single-title-wrap {
    padding: 42px 20px 0;
  }

  .atms-single-title {
    font-size: 28px;
    line-height: 1.25;
  }

  .atms-single-title-wrap + .atms-single-hero {
    padding-top: 28px;
  }

  .atms-single-hero {
    padding: 42px 20px 30px;
  }

  .atms-single-body {
    padding: 0 20px 70px;
  }

  .atms-single-featured {
    height: 300px;
    border-radius: 20px;
  }

  .atms-single-content {
    padding: 28px 22px;
    border-radius: 18px;
    border-left-width: 5px;
    font-size: 16px;
    line-height: 28px;
  }

  .atms-single-content p,
  .atms-single-content li {
    font-size: 16px;
    line-height: 28px;
  }

  .atms-single-content p {
    margin-bottom: 20px;
  }

  .atms-single-content h1,
  .atms-single-content h2,
  .atms-single-content h3,
  .atms-single-content h4 {
    margin-top: 30px;
    margin-bottom: 16px;
  }

  .atms-single-content h1 {
    font-size: 31px;
    line-height: 39px;
  }

  .atms-single-content h2 {
    font-size: 25px;
    line-height: 33px;
    padding-left: 12px;
    border-left-width: 4px;
  }

  .atms-single-content h3 {
    font-size: 22px;
    line-height: 30px;
  }

  .atms-single-content ul,
  .atms-single-content ol {
    margin-left: 22px;
  }
}

/* ===============================
   Small Mobile
================================ */

@media (max-width: 480px) {
  .atms-single-title-wrap {
    padding: 34px 18px 0;
  }

  .atms-single-title {
    font-size: 25px;
  }

  .atms-single-hero {
    padding: 34px 18px 26px;
  }

  .atms-single-body {
    padding: 0 18px 60px;
  }

  .atms-single-featured {
    height: 240px;
    border-radius: 18px;
  }

  .atms-single-content {
    padding: 24px 18px;
    font-size: 15px;
    line-height: 26px;
  }

  .atms-single-content p,
  .atms-single-content li {
    font-size: 15px;
    line-height: 26px;
  }

  .atms-single-content h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .atms-single-content h2 {
    font-size: 23px;
    line-height: 31px;
  }

  .atms-single-content h3 {
    font-size: 21px;
    line-height: 29px;
  }
}