@charset "UTF-8";
.single-post-page {
  background: #ffffff;
}
body.dark-mode .single-post-page {
  background: #112022;
}

.article-header {
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
}
body.dark-mode .article-header {
  background: #152629;
  border-bottom-color: #234348;
}

.article-meta {
  font-size: 0.875rem;
}

.article-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #20d3ee;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
}

.article-title {
  color: #1a1a1a;
  line-height: 1.2;
}
body.dark-mode .article-title {
  color: #ffffff;
}
@media (max-width: 768px) {
  .article-title {
    font-size: 1.75rem;
  }
}

.article-excerpt {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #4b5563;
}
body.dark-mode .article-excerpt {
  color: #9ca3af;
}

.article-author-bar {
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}
body.dark-mode .article-author-bar {
  border-top-color: #234348;
}
@media (max-width: 576px) {
  .article-author-bar {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  .article-author-bar .article-date {
    margin-left: 0 !important;
  }
}

.author-avatar img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e7eb;
}
body.dark-mode .author-avatar img {
  border-color: #234348;
}

.author-info .author-name {
  color: #1a1a1a;
}
body.dark-mode .author-info .author-name {
  color: #ffffff;
}
.author-info .author-title {
  font-size: 0.813rem;
}

.article-date {
  font-size: 0.875rem;
}

.article-featured-image .featured-image-wrapper {
  margin: 0;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.article-featured-image .featured-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  background: #ffffff;
}
body.dark-mode .article-content {
  background: #112022;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #1a1a1a;
  max-width: 100%;
}
body.dark-mode .article-body {
  color: #ffffff;
}
.article-body * {
  max-width: 100%;
}
.article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 {
  color: #1a1a1a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
body.dark-mode .article-body h2, body.dark-mode .article-body h3, body.dark-mode .article-body h4, body.dark-mode .article-body h5, body.dark-mode .article-body h6 {
  color: #ffffff;
}
.article-body h2 {
  font-size: 1.75rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}
body.dark-mode .article-body h2 {
  border-bottom-color: #234348;
}
.article-body h3 {
  font-size: 1.375rem;
  font-weight: 600;
}
.article-body h4 {
  font-size: 1.125rem;
  font-weight: 600;
}
.article-body p {
  margin-bottom: 1.5rem;
}
.article-body a {
  color: #20d3ee;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-body a:hover {
  color: #67e8f9;
}
.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.article-body ul li, .article-body ol li {
  margin-bottom: 0.5rem;
}
.article-body ul {
  list-style-type: disc;
}
.article-body ul ul {
  list-style-type: circle;
}
.article-body ol {
  list-style-type: decimal;
}
.article-body blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: #f8f9fa;
  border-left: 4px solid #20d3ee;
  border-radius: 0 0.5rem 0.5rem 0;
  font-style: italic;
  color: #4b5563;
}
body.dark-mode .article-body blockquote {
  background: #152629;
  color: #9ca3af;
}
.article-body blockquote p:last-child {
  margin-bottom: 0;
}
.article-body blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: #9ca3af;
}
body.dark-mode .article-body blockquote cite {
  color: #6b7280;
}
.article-body blockquote cite::before {
  content: "— ";
}
[dir=rtl] .article-body blockquote, .rtl .article-body blockquote {
  border-left: none;
  border-right: 4px solid #20d3ee;
  border-radius: 0.5rem 0 0 0.5rem;
}
.article-body pre {
  margin: 1.5rem 0;
  padding: 1.25rem;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-family: "Fira Code", "Monaco", "Consolas", "Liberation Mono", monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}
body.dark-mode .article-body pre {
  background: #1a2c30;
  border-color: #234348;
}
.article-body pre code {
  background: none;
  padding: 0;
  font-size: inherit;
}
.article-body code {
  padding: 0.125rem 0.375rem;
  background: rgba(32, 211, 238, 0.1);
  border-radius: 0.25rem;
  font-family: "Fira Code", "Monaco", "Consolas", "Liberation Mono", monospace;
  font-size: 0.875em;
  color: #20d3ee;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.article-body figure {
  margin: 2rem 0;
}
.article-body figure img {
  display: block;
  width: 100%;
}
.article-body figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #9ca3af;
  text-align: center;
}
body.dark-mode .article-body figure figcaption {
  color: #6b7280;
}
.article-body table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.article-body table th, .article-body table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e5e7eb;
}
body.dark-mode .article-body table th, body.dark-mode .article-body table td {
  border-color: #234348;
}
[dir=rtl] .article-body table th, .rtl .article-body table th, [dir=rtl] .article-body table td, .rtl .article-body table td {
  text-align: right;
}
.article-body table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #1a1a1a;
}
body.dark-mode .article-body table th {
  background: #152629;
  color: #ffffff;
}
.article-body table tr:nth-child(even) td {
  background: #f8f9fa;
}
body.dark-mode .article-body table tr:nth-child(even) td {
  background: #152629;
}
.article-body hr {
  margin: 2.5rem 0;
  border: none;
  border-top: 1px solid #e5e7eb;
}
body.dark-mode .article-body hr {
  border-top-color: #234348;
}
.article-body .wp-block-image {
  margin: 2rem 0;
}
.article-body .wp-block-image.aligncenter {
  text-align: center;
}
.article-body .wp-block-image.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}
.article-body .wp-block-image.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-body .wp-caption {
  max-width: 100%;
}
.article-body .wp-caption-text {
  font-size: 0.875rem;
  color: #9ca3af;
  text-align: center;
  margin-top: 0.5rem;
}
body.dark-mode .article-body .wp-caption-text {
  color: #6b7280;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
body.dark-mode .article-tags {
  border-top-color: #234348;
}

.article-tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 0.813rem;
  color: #4b5563;
  text-decoration: none;
  transition: all 250ms ease;
}
.article-tag:hover {
  background: #20d3ee;
  border-color: #20d3ee;
  color: #fff;
}
body.dark-mode .article-tag {
  background: #152629;
  border-color: #234348;
  color: #9ca3af;
}
.article-tag a {
  color: inherit;
  text-decoration: none;
}

.article-sidebar {
  padding-top: 2rem;
}
@media (min-width: 992px) {
  .article-sidebar {
    padding-top: 0;
    top: 100px;
  }
}

.author-bio {
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
}
body.dark-mode .author-bio {
  background: #152629;
  border-top-color: #234348;
}

.author-bio-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 250ms ease;
}
.author-bio-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
body.dark-mode .author-bio-card {
  background: #1a2c30;
  border-color: #234348;
}
body.dark-mode .author-bio-card:hover {
  border-color: #2c555b;
}
@media (max-width: 576px) {
  .author-bio-card .d-flex {
    flex-direction: column;
    text-align: center;
  }
}

.author-bio-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e5e7eb;
}
body.dark-mode .author-bio-avatar img {
  border-color: #234348;
}

.author-bio-content h4 {
  color: #1a1a1a;
}
body.dark-mode .author-bio-content h4 {
  color: #ffffff;
}
.author-bio-content p {
  line-height: 1.6;
}

.post-navigation {
  padding: 2rem 0;
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}
body.dark-mode .post-navigation {
  border-top-color: #234348;
  background: #112022;
}
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (max-width: 768px) {
  .post-navigation .nav-links {
    flex-direction: column;
    gap: 1.5rem;
  }
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1;
  max-width: 45%;
}
@media (max-width: 768px) {
  .post-navigation .nav-previous,
.post-navigation .nav-next {
    max-width: 100%;
  }
}
.post-navigation .nav-next {
  text-align: right;
}
[dir=rtl] .post-navigation .nav-next, .rtl .post-navigation .nav-next {
  text-align: left;
}
.post-navigation a {
  display: block;
  padding: 1rem 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 250ms ease;
}
.post-navigation a:hover {
  border-color: #20d3ee;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.post-navigation a:hover .nav-title {
  color: #20d3ee;
}
body.dark-mode .post-navigation a {
  background: #1a2c30;
  border-color: #234348;
}
.post-navigation .nav-subtitle {
  display: block;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-navigation .nav-title {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 250ms ease;
}
body.dark-mode .post-navigation .nav-title {
  color: #ffffff;
}

.comments-section {
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
}
body.dark-mode .comments-section {
  background: #152629;
  border-top-color: #234348;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 2rem;
}
body.dark-mode .comments-title {
  color: #ffffff;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  margin-bottom: 1.5rem;
}
.comment.depth-2, .comment.depth-3, .comment.depth-4 {
  margin-left: 2rem;
}
[dir=rtl] .comment.depth-2, .rtl .comment.depth-2, [dir=rtl] .comment.depth-3, .rtl .comment.depth-3, [dir=rtl] .comment.depth-4, .rtl .comment.depth-4 {
  margin-left: 0;
  margin-right: 2rem;
}
@media (max-width: 576px) {
  .comment.depth-2, .comment.depth-3, .comment.depth-4 {
    margin-left: 1rem;
  }
  [dir=rtl] .comment.depth-2, .rtl .comment.depth-2, [dir=rtl] .comment.depth-3, .rtl .comment.depth-3, [dir=rtl] .comment.depth-4, .rtl .comment.depth-4 {
    margin-left: 0;
    margin-right: 1rem;
  }
}

.comment-body {
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
}
body.dark-mode .comment-body {
  background: #1a2c30;
  border-color: #234348;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.comment-author .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}
.comment-author .fn {
  font-weight: 600;
  color: #1a1a1a;
}
body.dark-mode .comment-author .fn {
  color: #ffffff;
}
.comment-author .fn a {
  color: inherit;
  text-decoration: none;
}
.comment-author .fn a:hover {
  color: #20d3ee;
}
.comment-author .says {
  display: none;
}

.comment-metadata {
  font-size: 0.813rem;
  color: #9ca3af;
  margin-bottom: 1rem;
}
body.dark-mode .comment-metadata {
  color: #6b7280;
}
.comment-metadata a {
  color: inherit;
  text-decoration: none;
}
.comment-metadata a:hover {
  color: #20d3ee;
}

.comment-content {
  color: #4b5563;
  line-height: 1.6;
}
body.dark-mode .comment-content {
  color: #9ca3af;
}
.comment-content p:last-child {
  margin-bottom: 0;
}

.reply {
  margin-top: 1rem;
}
.reply .comment-reply-link {
  font-size: 0.813rem;
  font-weight: 500;
  color: #20d3ee;
  text-decoration: none;
}
.reply .comment-reply-link:hover {
  text-decoration: underline;
}

.comment-respond {
  margin-top: 2rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
}
body.dark-mode .comment-respond {
  background: #1a2c30;
  border-color: #234348;
}

.comment-reply-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}
body.dark-mode .comment-reply-title {
  color: #ffffff;
}
.comment-reply-title small {
  font-size: 0.875rem;
  font-weight: 400;
}
.comment-reply-title small a {
  color: #20d3ee;
}

.comment-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1a1a1a;
}
body.dark-mode .comment-form label {
  color: #ffffff;
}
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  color: #1a1a1a;
  font-size: 1rem;
  transition: border-color 250ms ease;
}
.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form input[type=url]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #20d3ee;
}
body.dark-mode .comment-form input[type=text],
body.dark-mode .comment-form input[type=email],
body.dark-mode .comment-form input[type=url],
body.dark-mode .comment-form textarea {
  background: #112022;
  border-color: #234348;
  color: #ffffff;
}
.comment-form textarea {
  min-height: 150px;
  resize: vertical;
}
.comment-form .comment-form-comment,
.comment-form .comment-form-author,
.comment-form .comment-form-email,
.comment-form .comment-form-url {
  margin-bottom: 1rem;
}
.comment-form .form-submit {
  margin-top: 1.5rem;
  margin-bottom: 0;
}
.comment-form .submit {
  padding: 0.75rem 2rem;
  background: #20d3ee;
  border: none;
  border-radius: 0.5rem;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease;
}
.comment-form .submit:hover {
  background: #67e8f9;
}

[dir=rtl] .article-author-bar .article-date,
.rtl .article-author-bar .article-date {
  margin-left: 0;
  margin-right: auto;
}
[dir=rtl] .article-tags,
.rtl .article-tags {
  direction: rtl;
}
