/* Single Post Redesign */
.single .lr-single-area {
  float: none;
  width: 100%;
  padding: 0;
}

.single .lr-single-main {
  width: 100%;
}

.single .lr-single-shell {
  margin: 0 auto;
  max-width: 1040px;
}

.single .lr-single-post {
  margin: 0 0 2rem;
  padding: clamp(1rem, 1.8vw, 1.75rem);
  border: 1px solid #dbe2ee;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(10, 18, 34, 0.06);
}

.single .lr-single-header {
  margin-bottom: 1.1rem;
}

.single .lr-single-categories {
  margin: 0 0 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.single .lr-single-category,
.single .lr-single-category:visited {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: #eef2f8;
  color: #1f2b44;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.68rem;
}

.single .lr-single-category:hover,
.single .lr-single-category:focus {
  color: #ffffff;
  background: var(--header-background-color, #111133);
}

.single .lr-single-title {
  margin: 0;
  font-size: clamp(1.85rem, 4.1vw, 3rem);
  line-height: 1.1;
  color: #121829;
  text-wrap: balance;
}

.single .lr-single-meta-wrap {
  margin-top: 0.75rem;
}

.single .lr-single-meta-wrap .entry-meta {
  margin: 0;
  color: #657089;
  font-size: 0.9rem;
}

.single .lr-single-media {
  margin: 0 0 1.2rem;
  overflow: hidden;
  border-radius: 0.8rem;
  background: #111;
}

.single .lr-single-image {
  margin: 0;
  width: 100%;
  height: auto;
  display: block;
}

.single .lr-single-content {
  color: #1f2638;
  font-size: 1.06rem;
  line-height: 1.78;
}

.single .lr-single-content > *:first-child {
  margin-top: 0;
}

.single .lr-single-content > *:last-child {
  margin-bottom: 0;
}

.single .lr-single-content h2,
.single .lr-single-content h3,
.single .lr-single-content h4 {
  margin: 1.5em 0 0.55em;
  color: #151d31;
  line-height: 1.22;
}

.single .lr-single-content a,
.single .lr-single-content a:visited {
  color: var(--header-background-color, #111133);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.single .lr-single-content a:hover,
.single .lr-single-content a:focus {
  color: #0f3d8f;
}

.single .lr-single-content a.download-button,
.single .lr-single-content a.download-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 270px;
  min-height: 60px;
  padding: 12px 24px;
  background: #ffffff;
  color: #0f172a !important;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  border: 2px solid #0f172a;
  border-radius: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.12);
  transition: none;
}

.single .lr-single-content a.download-button:hover,
.single .lr-single-content a.download-button:focus {
  background: #ffffff;
  color: #0f172a !important;
  transform: none;
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.12);
}

.single .lr-single-content a.download-button:active {
  transform: none;
  box-shadow: 0 10px 18px rgba(16, 24, 40, 0.12);
}

.single .lr-single-content blockquote {
  margin: 1.3rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--header-background-color, #111133);
  border-radius: 0.4rem;
  background: #f4f7fc;
}

.single .lr-single-content ul,
.single .lr-single-content ol {
  padding-left: 1.35rem;
}

.single .lr-single-content pre,
.single .lr-single-content code {
  border-radius: 0.35rem;
}

.single .lr-single-content img,
.single .lr-single-content video,
.single .lr-single-content iframe {
  max-width: 100%;
  border-radius: 0.55rem;
}

.single .lr-single-content .wp-video,
.single .lr-single-content .wp-block-video,
.single .lr-single-content figure.wp-block-video {
  margin-left: auto;
  margin-right: auto;
}

.single .lr-single-content video,
.single .lr-single-content video.wp-video-shortcode {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.single .lr-single-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f2;
}

.single .lr-single-footer .entry-tags {
  margin-bottom: 1.1rem;
}

.single .lr-single-footer .entry-tags .meta-tags a {
  border-radius: 0.42rem;
  background: #eff4fc;
  color: #1f2b44;
}

.single .lr-single-footer .entry-tags .meta-tags a:hover,
.single .lr-single-footer .entry-tags .meta-tags a:focus {
  color: #fff;
  background: var(--header-background-color, #111133);
}

.single .lr-single-footer .post-navigation {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f2;
}

.single .lr-single-shell .related-posts {
  margin-bottom: 2rem;
  padding: clamp(1rem, 1.6vw, 1.45rem);
  border: 1px solid #dbe2ee;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 18, 34, 0.05);
}

.single .lr-single-shell .related-posts-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.single .lr-single-shell .related-posts-header {
  margin-bottom: 0.9rem;
}

.single .lr-single-shell .related-posts-columns .related-post-column {
  margin-bottom: 1rem;
}

.single .lr-related-posts {
  margin: 2.1rem 0 2rem;
}

.single .lr-related-header {
  margin-bottom: 1rem;
}

.single .lr-related-title {
  margin: 0;
  color: #141b2d;
  font-size: clamp(1.5rem, 1.9vw, 2.2rem);
  line-height: 1.08;
  font-weight: 700;
}

.single .lr-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.single .lr-related-card {
  margin: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e5e9f1;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.single .lr-related-thumb {
  display: block;
  background: #e9edf5;
}

.single .lr-related-thumb img {
  width: 100%;
  aspect-ratio: 16 / 12;
  object-fit: cover;
  display: block;
}

.single .lr-related-body {
  padding: 1rem 0.95rem 1.15rem;
}

.single .lr-related-card-title {
  margin: 0;
  font-size: clamp(1.05rem, 1.25vw, 1.32rem);
  line-height: 1.25;
  color: #12182a;
}

.single .lr-related-card-title a,
.single .lr-related-card-title a:visited {
  color: #12182a;
  text-decoration: none;
}

.single .lr-related-card-title a:hover,
.single .lr-related-card-title a:focus {
  color: #12182a;
  text-decoration: none;
}

.single .lr-single-shell .comments-area {
  padding: clamp(1rem, 1.6vw, 1.45rem);
  border: 1px solid #dbe2ee;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 18, 34, 0.05);
}

.single .lr-single-shell .comments-title,
.single .lr-single-shell .comment-reply-title {
  margin-top: 0;
}

.single .lr-single-shell .comment-list .comment-body {
  border: 1px solid #e4e9f2;
  border-radius: 0.75rem;
  padding: 0.9rem;
  background: #fbfcff;
}

.single .lr-single-shell .comment-list .children {
  margin-top: 0.8rem;
}

.single .lr-single-shell .comment-form p {
  margin-bottom: 1rem;
}

.single .lr-single-shell .comment-form label {
  display: block;
  min-width: 0;
  margin-bottom: 0.45rem;
  font-weight: 700;
}

.single .lr-single-shell input[type="text"],
.single .lr-single-shell input[type="email"],
.single .lr-single-shell input[type="url"],
.single .lr-single-shell textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.78rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid #cfd7e6;
  background: #fff;
}

.single .lr-single-shell textarea {
  min-height: 180px;
}

.single .lr-single-shell input[type="submit"],
.single .lr-single-shell .submit {
  border-radius: 0.55rem;
  background: var(--header-background-color, #111133);
}

.single .lr-single-shell input[type="submit"]:hover,
.single .lr-single-shell .submit:hover {
  filter: brightness(1.08);
}

@media only screen and (max-width: 60em) {
  .single .lr-single-shell {
    max-width: 100%;
  }

  .single .lr-single-title {
    font-size: clamp(1.55rem, 6vw, 2.3rem);
  }

  .single .lr-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 40em) {
  .single .lr-related-title {
    font-size: clamp(1.65rem, 8vw, 2.2rem);
  }

  .single .lr-related-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .single .lr-single-content a.download-button,
  .single .lr-single-content a.download-button:visited {
    width: auto;
    min-width: 0;
    max-width: 280px;
    min-height: 56px;
    font-size: 16px;
    padding: 12px 18px;
    border-width: 2px;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
  }

  .single .lr-single-post,
  .single .lr-single-shell .related-posts,
  .single .lr-single-shell .comments-area {
    border-radius: 0.85rem;
  }

  .single .lr-single-content {
    font-size: 1rem;
    line-height: 1.7;
  }
}
