/*--------------------------------------------------------------
Posts
--------------------------------------------------------------*/

/* ==========================================================================
   Single Post Layout
   ========================================================================== */

.single .site-header {
    margin-bottom: 0;
}

/* Single Post Header - Centered */
.single-post-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0 40px;
}

.single-post-header .entry-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.single-post-header .meta-text {
    color: var(--gray-500);
}

.single-post-header .entry-title {
    font-size: 3rem;
    line-height: 1.15;
    margin: 0;
    color: var(--heading-color);
}

/* Single Post Featured Image */
.single-post-thumbnail {
    margin-bottom: 50px;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--general-radius);
}

/* Single Post Content Area */
.single-post-content {
    max-width: 750px;
    margin: 0 auto;
}

.single-post-content .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.single-post-content .entry-content p {
    margin-bottom: 1.75rem;
}

.single-post-content .entry-content h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.single-post-content .entry-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.single-post-content .entry-content ul,
.single-post-content .entry-content ol {
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
}

.single-post-content .entry-content li {
    margin-bottom: 0.5rem;
}

.single-post-content .entry-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 4px solid var(--accent-color);
    background: var(--gray-100);
    border-radius: 0 var(--general-radius) var(--general-radius) 0;
}

.single-post-content .entry-content img {
    border-radius: var(--general-radius);
}

/* ==========================================================================
   Blog Archive Layout
   ========================================================================== */

.blog-archive {
    padding: 90px 0;
    max-width: 850px;
    margin: auto;
}

.blog-posts {
    display: flex;
    flex-direction: column;
}

/* Blog Card - Base Styles */
.blog-card {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
    margin-bottom: 40px;
}

.blog-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.blog-card-link {
    display: flex;
    gap: 30px;
    text-decoration: none;
    color: inherit;
}

.blog-card-link:hover {
    opacity: 1;
}

.blog-card-link:hover .blog-card-title {
    color: var(--link-color);
}

/* Blog Card Image */
.blog-card-image {
    flex: 0 0 320px;
    max-width: 320px;
    overflow: hidden;
    border-radius: var(--general-radius);
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 10;
    transition: transform 0.3s ease;
}

.blog-card-link:hover .blog-card-image img {
    transform: scale(1.03);
}

/* Blog Card Content */
.blog-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: var(--heading-color);
    transition: color 0.2s ease;
}

.blog-card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.blog-card-meta {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-500);
}



/* Blog Pagination */
.blog-archive .pagination {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Read Next Section
   ========================================================================== */

.read-next-section {
    padding: 50px 0 120px;
    margin-top: 40px;
}

.read-next-width {
    max-width: 750px;
    margin: auto;
}

/* Title with horizontal line */
.read-next-title {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-900);
    margin-bottom: 40px;
}

.read-next-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

/* Posts container - vertical stack */
.read-next-posts {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Individual card */
.read-next-card {
    display: block;
}

.read-next-link {
    display: flex;
    gap: 30px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.read-next-link:hover {
    opacity: 1;
}

.read-next-link:hover .read-next-card-title {
    color: var(--link-color);
}

/* Image */
.read-next-image {
    flex: 0 0 320px;
    max-width: 320px;
    overflow: hidden;
    border-radius: var(--general-radius);
}

.read-next-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 10;
    transition: transform 0.3s ease;
}

.read-next-link:hover .read-next-image img {
    transform: scale(1.03);
}

/* Content */
.read-next-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.read-next-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 12px 0;
    color: var(--heading-color);
    transition: color 0.2s ease;
}

.read-next-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.read-next-meta {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ==========================================================================
   Original Post Styles (Archive/Blog)
   ========================================================================== */

/* Post Landing Page */

.sticky {
  position: relative;
}

.post:not(.sticky) .icon-thumb-tack {
  display: none;
}

.sticky .icon-thumb-tack {
  display: block;
  height: 22px;
  width: 32px;
  left: -1.25em;
  position: absolute;
  top: 0.75em;
  font-size: 32px;
}

.archive-spacing {
  padding: 20px 0px;
}

.entry-header {
  margin: 0 0 21px 0;
}

.link-more {
	margin-bottom: 30px !important;
}

.entry-title  {
    font-size: 2em;
}

.entry-title a {
  color: #000;
  text-decoration: none;
  font-weight: 600;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
	margin-bottom: 20px;
}

.post-thumbnail {
margin-bottom: 20px;
}

.entry-title:not(:first-child) {
  padding-top: 0;
}

.single h2 {
  font-size: 36px;
  line-height: 1.2;
  margin: 0em 0em 0.6em 0em;
}

.single h3 {
  font-size: 28px;
}

.entry-meta {
  color: #767676;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1818em;
  padding-bottom: 0.25em;
  text-transform: uppercase;
}

.entry-meta a {
  color: #767676;
}

.byline,
.updated:not(.published) {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline;
}

.pagination,
.comments-pagination {
  text-align: center;
}

.pagination .icon,
.comments-pagination .icon {
  width: 0.666666666em;
  height: 0.666666666em;
}

.comments-pagination {
  border: 0;
  clear: both;
  margin: 2em 0 3em;
}

/* Links */

.edit-link a {
  margin-right: 1em;
}

/* Pagination */

.navigation.pagination,
.post-navigation {
  margin-top: 30px;
    margin-bottom: 40px;
}

.page-numbers {
  display: inline-block;
  margin: 0 5px;
}

.page-numbers.current {
  color: #767676;
}

.page-numbers.current .screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

/* Aligned blockquotes */

.entry-content blockquote.alignleft,
.entry-content blockquote.alignright {
  color: #666;
  font-size: 14px;
  width: 48%;
}

.entry-content blockquote.alignleft {
  margin-left: -20%;
}

.entry-content blockquote.alignright {
  margin-right: -20%;
}

/* without sidebar */

:not(.has-sidebar) .entry-content blockquote.alignleft {
  margin-left: -17.5%;
  width: 48%;
}

:not(.has-sidebar) .entry-content blockquote.alignright {
  margin-right: -17.5%;
  width: 48%;
}

/* with sidebar */

.has-sidebar .entry-content blockquote.alignleft {
  margin-left: 0;
  width: 34%;
}

.has-sidebar .entry-content blockquote.alignright {
  margin-right: 0;
  width: 34%;
}

/* blog and archive */

.entry-content blockquote.alignleft {
  margin-left: -72.5%;
  width: 62%;
}

.entry-content blockquote.alignright {
  margin-right: 0;
  width: 36%;
}

/* Blog landing, search, archives */

.blog .entry-meta a.post-edit-link,
.archive .entry-meta a.post-edit-link,
.search .entry-meta a.post-edit-link {
  color: #406870;
  display: inline-block;
  margin-left: 1em;
  white-space: nowrap;
}

.search .page .entry-meta a.post-edit-link {
  margin-left: 0;
  white-space: nowrap;
}

.taxonomy-description {
  color: #666;
  font-size: 14px;
}



/* Single Post */

.page-links {
  font-size: 14px;
  font-weight: 400;
  padding: 2em 0 3em;
}

.page-links .page-number {
  color: #767676;
  display: inline-block;
  padding: 0.5em 1em;
}

.page-links a {
  display: inline-block;
}

.page-links a .page-number {
  color: #406870;
}

/* Entry footer */

.entry-footer {
  border-bottom: 2px solid #eee;
  margin-top: 2em;
  display: table;
  width: 100%;
}

.entry-footer .cat-tags-links {
  display: table-cell;
  vertical-align: middle;
  width: 100%;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1818em;
  position: relative;
}

.entry-footer .cat-links + .tags-links {
  margin-top: 1em;
}

.entry-footer .cat-links a,
.entry-footer .tags-links a {
  color: #254457;
}

.entry-footer .cat-links .icon,
.entry-footer .tags-links .icon {
  color: #767676;
  left: 0;
  margin-right: 0.5em;
  position: absolute;
  top: 2px;
}

.entry-footer .edit-link {
  display: table-cell;
  text-align: right;
  vertical-align: middle;
}

.entry-footer .edit-link a.post-edit-link {
  background-color: #406870;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  font-weight: 400;
  margin: 1em 0em 0em 1em;
  padding: 0.7em 2em;
  -webkit-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
  white-space: nowrap;
}

.entry-footer .edit-link a.post-edit-link:hover,
.entry-footer .edit-link a.post-edit-link:focus {
  background-color: #767676;
}

/* Post Formats */

.blog .format-status .entry-title,
.archive .format-status .entry-title,
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}

.format-quote blockquote {
  color: #254457;
  font-size: 20px;
  font-weight: 400;
  overflow: visible;
  position: relative;
}

.format-quote blockquote .icon {
  display: block;
  height: 20px;
  left: -1.5em;
  position: absolute;
  top: 0.4em;
  -webkit-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
  width: 20px;
}

/* Post Navigation */

.post-navigation .nav-links {
  display: flex;
}
.post-navigation .nav-links .nav-separator {
  height: 100%;
  width: 2px;
  margin: 0 auto;
  background-color: #eee;
}
.nav-subtitle {
  font-size: 13px;
  text-transform: uppercase;
}

.nav-title {
  font-size: 20px;
}
.post-navigation .nav-links a{
  display: flex;
  flex-direction: column;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  width: calc(50% - (1px / 2));
  position: relative;
}
.post-navigation .nav-previous {
  padding: 0 5px 0 35px;
}
.post-navigation .nav-next {
  padding: 0 35px 0 5px;
  text-align: right;
}

/* Posts pagination */

.nav-title-icon-wrapper {
  position: absolute;
  top:calc(50% - 19px);
  left: 0;
}
.nav-links .nav-next .nav-title .nav-title-icon-wrapper {
  right: 0;
}
.nav-links .nav-title .nav-title-icon-wrapper i:before{
  transform: rotate(90deg);
  font-size: 36px;
  font-weight: 700;
  color: #d4d4d4;
}
.nav-links .nav-next .nav-title .nav-title-icon-wrapper i:before{
  transform: rotate(-90deg);
}

/*--------------------------------------------------------------
Comments
--------------------------------------------------------------*/

#comments {
  clear: both;
  padding: 5em 0 0.5em;
  max-width: 600px;
}

.comments-title {
  font-size: 20px;
  margin-bottom: 2.5em;
}

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

.comment-list li:before {
  display: none;
}

.comment-author {
  font-size: 16px;
  margin-bottom: 0.4em;
  position: relative;
  z-index: 2;
}

.comment-author .avatar {
  height: 50px;
  left: -65px;
  position: absolute;
  width: 50px;
}

.comment-author .says {
  display: none;
}

.comment-meta {
  margin-bottom: 1.5em;
}

.comment-metadata {
  color: #767676;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1818em;
  text-transform: uppercase;
}

.comment-metadata a {
  color: #767676;
}

.comment-metadata a.comment-edit-link {
  color: #406870;
  margin-left: 1em;
}

.comment-body {
  color: #254457;
  font-size: 14px;
  margin-bottom: 4em;
}

.comment-reply-link {
  font-weight: 400;
  position: relative;
}

.comment-reply-link .icon {
  color: #406870;
  left: -2em;
  height: 1em;
  position: absolute;
  top: 0;
  width: 1em;
}

ol.children .children {
  padding-left: 2em;
}

.children .comment-author .avatar {
  height: 30px;
  left: -45px;
  width: 30px;
}

.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar {
  border: 1px solid #254457;
  padding: 2px;
}

.no-comments,
.comment-awaiting-moderation {
  color: #767676;
  font-size: 14px;
  font-style: italic;
}

.form-submit {
  text-align: right;
}

.comment-form #wp-comment-cookies-consent {
  margin: 0 10px 0 0;
}

.comment-form .comment-form-cookies-consent label {
  display: inline;
}

/* RSS Widget */

.widget_rss .widget-title .rsswidget:first-child {
  float: right;
}

.widget_rss .widget-title .rsswidget:first-child:hover {
  background-color: transparent;
}

.widget_rss .widget-title .rsswidget:first-child img {
  display: block;
}

.widget_rss ul li {
  padding: 2.125em 0;
}

.widget_rss ul li:first-child {
  border-top: none;
  padding-top: 0;
}

.widget_rss li .rsswidget {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.4;
}

.widget_rss .rss-date,
.widget_rss li cite {
  color: #767676;
  display: block;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.widget_rss .rss-date {
  margin: 0.5em 0 1.5em;
  padding: 0;
}

.widget_rss .rssSummary {
  margin-bottom: 0.5em;
}

/* Contact Info Widget */

.widget_contact_info .contact-map {
  margin-bottom: 0.5em;
}

/* Gravatar */

.widget-grofile h4 {
  font-size: 16px;
  margin-bottom: 0;
}

/* Recent Comments */

.widget_recent_comments table,
.widget_recent_comments th,
.widget_recent_comments td {
  border: 0;
}

/* Recent Posts widget */

.widget_recent_entries .post-date {
  display: block;
}

/* Search */

.search-form {
  position: relative;
}

.search-form .search-field {
  display: block;
  float: left;
  width: calc(100% - 40px);
  margin: 0px;
  padding: 5px;
  height: 40px;
  border-radius: 0px;
}

.search-form .search-submit {
  display: block;
  float: left;
  margin: 0px;
  padding: 0px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  line-height: 40px;
  border-radius: 0px;
}

.search-form .search-submit .icon-search {
  display: block;
  float: left;
  margin: 0px;
  padding: 0px;
  width: 40px;
  height: 40px;
  font-size: 18px;
  line-height: 40px;
}

/* Tag cloud widget */

.tagcloud ul li {
  float: left;
  border-top: 0;
  border-bottom: 0;
  padding: 0;
  margin: 4px 4px 0 0;
}

.tagcloud,
.widget_tag_cloud,
.wp_widget_tag_cloud {
  line-height: 1.5;
}

.widget .tagcloud a,
.widget.widget_tag_cloud a,
.wp_widget_tag_cloud a {
  border: 1px solid #ddd;
  -webkit-box-shadow: none;
  box-shadow: none;
  display: block;
  padding: 4px 10px 5px;
  position: relative;
  -webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.3s ease-in-out;
  width: auto;
  word-wrap: break-word;
  z-index: 0;
}

.widget .tagcloud a:hover,
.widget .tagcloud a:focus,
.widget.widget_tag_cloud a:hover,
.widget.widget_tag_cloud a:focus,
.wp_widget_tag_cloud a:hover,
.wp_widget_tag_cloud a:focus {
  border-color: #bbb;
  -webkit-box-shadow: none;
  box-shadow: none;
  text-decoration: none;
}

/* Calendar widget */

.widget_calendar th,
.widget_calendar td {
  text-align: center;
}

.widget_calendar tfoot td {
  border: 0;
}

/* Gallery widget */

.gallery-columns-5 .gallery-caption,
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
  display: none;
}

/* ============================================
   Single post + Read next + Blog archive — mobile
   Single breakpoint at 1023px (Typeset default)
   ============================================ */

@media screen and (max-width: 1023px) {
  /* Single post */
  .single-post-header {
    padding: 40px 0 24px;
  }

  .single-post-header .entry-meta {
    gap: 10px;
    font-size: 12px;
    margin-bottom: 16px;
  }

  .single-post-header .entry-title {
    font-size: 2rem;
  }

  .single-post-thumbnail {
    margin-bottom: 30px;
  }

  .single-post-content,
  .single-post .post-navigation {
    max-width: 100%;
  }

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

  .single-post-content .entry-content h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }

  .single-post-content .entry-content h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
  }

  .single-post .post-navigation {
    margin: 40px auto;
    padding-top: 30px;
  }

  /* Read next */
  .read-next-section {
    padding: 40px 0 60px;
    margin-top: 20px;
  }

  .read-next-title {
    margin-bottom: 30px;
  }

  .read-next-posts {
    gap: 30px;
  }

  .read-next-link {
    flex-direction: column;
    gap: 16px;
  }

  .read-next-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .read-next-image img {
    aspect-ratio: 16 / 9;
  }

  .read-next-content {
    padding: 0;
  }

  .read-next-card-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
  }

  .read-next-excerpt {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  /* Blog archive cards */
  .blog-archive {
    padding: 30px 0;
  }

  .blog-card {
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .blog-card-link {
    flex-direction: column;
    gap: 16px;
  }

  .blog-card-image {
    flex: none;
    max-width: 100%;
    width: 100%;
  }

  .blog-card-image img {
    aspect-ratio: 16 / 9;
  }

  .blog-card-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .blog-card-excerpt {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
}