/************************
 * BLOG - LAYOUT
 ************************/
.blog-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin: auto;
  max-width: 1200px;
  font-family: 'Nunito', sans-serif;
  width: 100%;
  padding-bottom: 2rem;
}

.blog-content {
  flex: 1;
  margin: 0 1rem;
  width: 100%;
}

.blog-content .blog-header {
  display: none;
}

.blog-sidebar {
flex: 0 0 300px;
    max-width: 300px;
    margin-left: 1rem;
    display: flex;
    flex-direction: column;
}

.blog-sidebar .widget-area {
  display: flex;
  flex-direction: column;
}

/************************
 * BLOG - HERO
 ************************/
.blog-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 2rem;
}

.blog-header img {
  height: 80px;
  margin: 0;
}

.blog-header h1 {
  margin: 0;
  font-size: 2rem;
}

.blog-hero {
  display: flex;
  justify-content: flex-start;
  text-align: left;
  padding: 2.5rem 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-hero-inner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 270px;
  justify-content: flex-start;
}

.blog-hero-inner img {
  height: 64px;
  width: auto;
  margin: 0;
}

.blog-hero-inner h1 {
  font-size: 2.1rem;
  margin: 0;
}

.blog-sidebar .blog-header {
  margin-top: 1rem;
  margin-bottom: 0;
  gap: 6px;
}

@media (max-width: 1024px) {
  .blog-container {
    flex-direction: column;
    gap: 2rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
        
  }

  .blog-content {
    order: 1;
    margin-left: 1rem;
    margin-right: 1rem;
    width: calc(100% - 2rem);
  }

  .blog-header {
    margin-bottom: 0rem;
  }

  .latest-articles {
    margin-top: 0rem !important;
  }



  .blog-sidebar {
    order: 2;
    max-width: 100%;
    flex: unset;
    margin-left: 0;
    width: 100%;
    padding: 0 0.5rem;
    box-sizing: border-box;
  }

  .blog-sidebar .blog-header {
    display: none;
  }

  .blog-content .blog-header {
    display: inline-flex;
  }

  .blog-header img {
    height: 60px;
  }

  .blog-hero {
    margin: 1.5rem auto 1rem;
    justify-content: center;
    text-align: center;
  }

  .blog-hero-inner img {
    height: 56px;
  }

  .blog-hero-inner {
    width: auto;
    justify-content: center;
  }
}

/* Sidebar widget order (desktop vs. mobile) */
@media (min-width: 1025px) {
  .widget-recent-posts,
  .widget_recent_entries { order: 1; }

  .widget-categories,
  .widget_categories { order: 2; }

  .widget-tags,
  .widget_tag_cloud { order: 3; }

  .widget-recent-posts,
  .widget_recent_entries {
    border-top: none;
    box-shadow: none;
  }

  .widget-categories,
  .widget_categories {
    border-top: 2px solid rgba(37, 58, 101, 0.22);
    box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.7);
  }
}

@media (max-width: 1024px) {
  .widget-categories,
  .widget_categories { order: 1; }

  .widget-recent-posts,
  .widget_recent_entries { order: 2; }

  .widget-tags,
  .widget_tag_cloud { order: 3; }

  .widget-categories,
  .widget_categories {
    border-top: none;
    box-shadow: none;
  }
}

/************************
 * BLOG - SIDEBAR
 ************************/
.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 1rem;
}

.recent-text {
  margin-bottom: 1rem;
}

.recent-thumb img {
  width: 50px;
  height: auto;
  margin-right: 0.5rem;
}

.recent-text a {
  font-weight: bold;
  display: block;
  margin-bottom: -3px;
  line-height: 21px;
}

.recent-date {
  font-size: 0.8rem;
  color: #5b6b7a;
}

.recent-text a:hover {
  color: var(--accent-color);
}

.recent-text + .recent-text {
  border-top: 1px dashed rgba(37, 58, 101, 0.16);
  padding-top: 0.6rem;
  margin-top: 0.6rem;
}

.widget {
  text-align: left;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 2px solid rgba(37, 58, 101, 0.22);
  box-shadow: 0 -2px 0 rgba(255, 255, 255, 0.7);
}

.widget h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

/************************
 * BLOG - SINGLE ARTICLE
 ************************/
.single-article {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.single .article-content p,
.single .author-box p {
  margin-top: 0.1rem;
  font-size: 1rem;
}

.single .article-content h2 {
  margin-top: 1rem;
  line-height: 1.2;
  margin-bottom: 0.65rem;
}

.article-categories .article-category {
  display: inline-block;
  background-color: transparent;
  color: var(--blog-color);
  border: 2px solid var(--blog-color);
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-right: 0.4rem;
  font-weight: bold;
}

.single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.article-meta-top {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0rem;
  align-items: center;
}

.article-meta-top .article-date::after {
  content: "•";
  margin: 0 0.3rem;
  color: #ccc;
}

.article-title {
  font-size: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

/************************
 * BLOG - BLOCKQUOTE
 ************************/
blockquote {
  border-left: 4px solid #6cae75;
  background-color: #f9f9f9;
  padding: 1.2em 1.5em;
  margin: 1.5em 0;
  font-style: italic;
  color: #444;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.2s ease;
}

blockquote::before {
  content: "\201C";
  font-size: 3rem;
  color: #6cae75;
  position: absolute;
  left: 10px;
  top: -10px;
  line-height: 1;
}

blockquote p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  blockquote {
    padding: 1em 1.2em;
    font-size: 0.95rem;
  }

  blockquote::before {
    font-size: 2.5rem;
    top: -5px;
    left: 8px;
  }

  .bombo-tab-buttons button {
    font-size: 1rem;
  }
}

/************************
 * BLOG - INSTALL TABS
 ************************/
.bombo-tab-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.bombo-tab-buttons button {
  flex: 1;
  padding: 1rem 1rem 16px;
  border: none;
  border-radius: 8px;
  background: #0ea5b6;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background 0.3s;
  font-size: 1.2rem;
}

.bombo-tab-buttons button.active {
  background: #028090;
}

.bombo-tab-content {
  display: none;
  padding: 1rem 0;
  font-size: 0.8rem;
}

.bombo-tab-content.active {
  display: block;
}

.bombo-tab-content ol {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.bombo-tab-content img {
  max-width: 240px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.bombo-intro {
  line-height: 1.6;
  color: #333;
}

.bombo-intro h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #0ea5b6;
}

.bombo-intro h2 span {
  font-size: 1.5rem;
}

.bombo-intro p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/************************
 * BLOG - ARTICLE LIST
 ************************/
.article-image {
  width: 100%;
  max-width: 100%;
  height: 120px;
  border-radius: 0.5rem 0.5rem 0 0;
  margin-bottom: 0.5rem;
  display: block;
  object-fit: cover;
}

.latest-articles,
.sticky-section {
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 1rem;
  text-align: left;
  padding-top: 0;
}

.articles-list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
  grid-auto-flow: dense;
  margin-top: 1rem;
}

.article-item {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: left;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 300px;
  margin: auto;
  min-height: 390px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-item.sticky {
  background-color: #d2eefc;
  border: 2px solid #a3c6fc;
  position: relative;
  padding-top: 2rem;
}

.article-item.sticky::before {
  content: "\1F4CC";
  position: absolute;
  top: 2px;
  right: 8px;
  font-size: 0.9rem;
  color: var(--accent-color);
  font-weight: bold;
}

.article-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-link:hover,
.article-link:focus {
  transform: scale(1.03);
  outline: none;
}

.article-item h3,
.article-item p {
  font-size: 1.1rem;
  text-align: left;
  margin: 0.1rem;
}

.article-item .article-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.article-meta {
  text-align: left;
  font-size: 0.75rem;
  margin: 0.3rem;
  color: #7a8896;
}

.article-meta time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.article-meta i {
  font-size: 0.85rem;
  color: #7a8896;
}


.article-excerpt {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 1rem;
  text-align: left;
  overflow-wrap: break-word;
  word-break: break-word;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/************************
 * BLOG - PAGINATION
 ************************/
.blog-pagination {
  margin: 2rem auto 0;
}

.blog-pagination ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination li {
  display: inline-flex;
}

.blog-pagination a.page-numbers,
.blog-pagination span.page-numbers {
  display: inline-block;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(37, 58, 101, 0.2);
  color: #253a65;
  text-decoration: none;
  font-weight: 600;
  background: #fff;
}

.blog-pagination .page-numbers.current {
  background: var(--primary-blue);
  color: #fff;
  border: 1px solid var(--primary-blue);
}

.blog-pagination a.page-numbers:hover:not(.current) {
  background: rgba(37, 58, 101, 0.08);
}

@media (max-width: 900px) {
  .articles-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-item.sticky {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .articles-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .article-item.sticky {
    grid-column: 1;
  }

  .article-item {
    min-height: 210px;
  }

  .articles-list .article-item:nth-child(n+7) {
    display: none;
  }
}

@media (min-width: 1024px) {
  .articles-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/************************
 * BLOG - CATEGORIES
 ************************/
.article-categories {
  margin-bottom: 0;
  text-align: left;
}

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

.category-list li {
  display: inline-block;
  margin: 0.2rem 0.4rem 0.2rem 0;
}

.category-list li a {
  display: inline-block;
  background-color: var(--blog-color);
  color: #fff;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.category-list li a:hover {
  background-color: var(--accent-color);
}

.category-list .current-cat > a {
  background-color: var(--accent-color);
}

.category-list .current-cat .cat-count {
  background-color: var(--accent-color);
}

/************************
 * BLOG - TAG CLOUD
 ************************/
.tag-cloud {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-item {
  display: inline-block;
  margin: 0.2rem 0.3rem 0.2rem 0;
}

.tag-link {
  display: inline-block;
  background-color: rgba(37, 58, 101, 0.08);
  color: #465a6d;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  text-decoration: none;
  user-select: none;
  border: 1px solid rgba(37, 58, 101, 0.12);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.tag-link:hover {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

.tag-item.is-active .tag-link {
  background-color: var(--accent-color);
  color: #fff;
  border-color: var(--accent-color);
}

/************************
 * BLOG - GALLERY / LIGHTBOX
 ************************/
.kuva-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: flex-start;
}

.kuva-item {
  flex: 1 1 250px;
  max-width: 100%;
  text-align: center;
  cursor: pointer;
}

.kuva-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.kuva-item:hover img {
  transform: scale(1.05);
}

.kuva-caption {
  margin-top: -20px !important;
  font-size: 0.9rem !important;
  color: #555;
  font-style: italic;
}

#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: auto;
}

#lightbox img {
  max-width: 70%;
  max-height: 70%;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#lightbox p {
  color: white;
  font-size: 1em;
  text-align: center;
  max-width: 90%;
}

.close-btn,
.prev-btn,
.next-btn {
  position: fixed;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  user-select: none;
}

.close-btn {
  top: 20px;
  right: 30px;
}

.prev-btn {
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
}

.next-btn {
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
}

/************************
 * BLOG - VIDEO PLAYER
 ************************/
.blog-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.blog-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/************************
 * BLOG - AUTHOR BOX
 ************************/
.author-box {
  margin-top: 10px;
  padding: 9px;
  border-top: 3px solid var(--accent-color);
  background-color: var(--primary-blue-highlight);
  border-radius: 10px;
  max-width: 290px;
  width: 100%;
  text-align: left;
}

.author-box-inner {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-box img {
  border-radius: 50%;
  width: 81px;
  height: 81px;
  object-fit: cover;
  border: 2px solid var(--blog-color);
  flex-shrink: 0;
  margin: 0px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-info strong em {
  font-style: italic;
  font-weight: bold;
  color: var(--blog-color);
}

.author-bio {
  margin: 4px 0 0 0;
  font-size: 0.8rem !important;
  color: #fff;
  line-height: 1.4;
}

.single-article-author-label {
  margin-top: 2.2rem;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 700;
  color: var(--primary-blue);
}

/************************
 * BLOG - COMMENTS
 ************************/
.bombo-comments {
  --comments-border: rgba(24, 50, 82, 0.16);
  --comments-bg: linear-gradient(180deg, #f9fbff 0%, #f2f6fd 100%);
  margin: 2.3rem auto 0;
  max-width: 900px;
  padding: 1.35rem 1.2rem;
  background: var(--comments-bg);
  border: 1px solid var(--comments-border);
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(18, 34, 58, 0.08);
  color: #152c49;
  text-align: left;
}

.bombo-comments,
.bombo-comments * {
  text-align: left;
}

.bombo-comments__header {
  margin-bottom: 1.05rem;
}

.bombo-comments__eyebrow {
  margin: 0 0 0.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: #4f6783;
}

.bombo-comments__title {
  margin: 0 0 0.3rem;
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.2;
  color: #162e4c;
}

.bombo-comments__intro {
  margin: 0;
  color: #495f79;
  font-size: 0.93rem;
}

.bombo-comment-list {
  margin: 1rem 0 1.25rem;
  padding: 0;
  list-style: none;
}

.bombo-comment-list ol,
.bombo-comment-list ul,
.bombo-comment-list li {
  list-style: none !important;
  list-style-position: outside !important;
  margin: 0;
  padding: 0;
}

.bombo-comment-list .comment {
  margin: 0;
  padding: 0;
}

.bombo-comment-list > .comment + .comment {
  margin-top: 0.95rem;
}

.bombo-comment-list .comment-body {
  position: relative;
  padding-left: 52px;
}

.bombo-comment-list .comment-author {
  margin: 0;
}

.bombo-comment-list .comment-author .avatar {
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 2px;
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(20, 43, 72, 0.2);
}

.bombo-comment-list .fn {
  color: #203f63;
  font-weight: 800;
  font-style: normal;
  font-size: 0.94rem;
}

.bombo-comment-list .says {
  display: none;
}

.bombo-comment-list .comment-meta {
  margin: 0;
}

.bombo-comment-list .bombo-comment-meta {
  background: transparent;
  color: inherit;
  padding: 0;
}

.bombo-comment-list .comment-metadata {
  margin: 0.12rem 0 0.35rem;
  font-size: 0.7rem;
  line-height: 1.3;
  color: #637a96;
}

.bombo-comment-list .comment-metadata a {
  color: inherit;
  text-decoration: none;
}

.bombo-comment-list .comment-metadata a:hover {
  text-decoration: underline;
}

.bombo-comment-list .comment-content {
  background: linear-gradient(180deg, #edf3fb 0%, #e5edf8 100%);
  border: 1px solid rgba(69, 98, 137, 0.24);
  border-radius: 14px;
  padding: 0.62rem 0.78rem 0.66rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  cursor: default;
}

.bombo-comment-list .comment-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #18304d;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.bombo-comment-list .reply {
  margin-top: 0.34rem;
  padding-left: 0.1rem;
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.bombo-comment-list .reply a {
  display: inline-block;
  border: 1px solid rgba(37, 58, 101, 0.2);
  border-radius: 8px;
  padding: 0.2rem 0.52rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #31557d;
  background: #f4f7fd;
  text-decoration: none;
}

.bombo-comment-list .reply a:hover {
  background: #e9f0fb;
}

.bombo-comment-list .children {
  --bombo-thread-x: 0.5rem;
  --bombo-thread-top: -0.68rem;
  --bombo-thread-height: calc(100% + 0.68rem);
  --bombo-children-indent: 1.02rem;
  --bombo-branch-y: 1.24rem;
  --bombo-thread-color: rgba(52, 86, 127, 0.44);
  position: relative;
  margin: 0.78rem 0 0 0.95rem;
  padding: 0 0 0 var(--bombo-children-indent);
  border-left: none;
}

.bombo-comment-list .children::before {
  content: "";
  position: absolute;
  left: var(--bombo-thread-x);
  top: var(--bombo-thread-top);
  height: var(--bombo-thread-height);
  width: 2px;
  border-radius: 999px;
  background: var(--bombo-thread-color);
}

.bombo-comment-list .children > .comment {
  position: relative;
}

.bombo-comment-list .children > .comment > .comment-body::before {
  content: "";
  position: absolute;
  left: var(--bombo-branch-start, calc(var(--bombo-thread-x) - var(--bombo-children-indent)));
  top: var(--bombo-branch-y);
  width: var(--bombo-branch-width, calc(var(--bombo-children-indent) - var(--bombo-thread-x) + 0.02rem));
  height: 2px;
  border-radius: 999px;
  background: var(--bombo-thread-color);
}

/* Estää fallback-viivojen välähdyksen ennen JS-laskentaa */
.bombo-thread-lines-js .bombo-comment-list .children::before,
.bombo-thread-lines-js .bombo-comment-list .children > .comment > .comment-body::before {
  opacity: 0;
}

.bombo-thread-lines-js .bombo-comment-list.is-thread-lines-ready .children::before,
.bombo-thread-lines-js .bombo-comment-list.is-thread-lines-ready .children > .comment > .comment-body::before {
  opacity: 1;
}

.bombo-comment-list .children .comment + .comment {
  margin-top: 0.74rem;
}

.bombo-comment-list .comment-awaiting-moderation {
  display: inline-block;
  margin-top: 0.46rem;
  font-size: 0.76rem;
  color: #5a7390;
  font-weight: 700;
}

.bombo-comment-form .comment-reply-title {
  margin: 0 0 0.65rem;
  font-size: 1.22rem;
  color: #1a3658;
  line-height: 1.28;
}

.bombo-comment-form .comment-reply-title .bombo-reply-target {
  color: #24486f;
}

.bombo-comment-form .comment-reply-title small {
  margin-left: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.bombo-comment-form .comment-reply-title small a {
  color: #2a537f;
  text-decoration: underline;
}

.bombo-comments .comment-respond {
  margin-top: 1rem;
}

.bombo-comment-form {
  margin-top: 1.05rem;
  padding: 1rem;
  border: 1px solid var(--comments-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(22, 45, 74, 0.08);
}

.bombo-comment-form p {
  margin: 0 0 0.72rem;
}

.bombo-comment-form-user {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin: 0 0 0.7rem;
}

.bombo-comment-form-user .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(20, 43, 72, 0.2);
}

.bombo-comment-form-user__meta {
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
}

.bombo-comment-form-user__meta strong {
  color: #1f3d61;
  font-size: 0.92rem;
}

.bombo-comment-form-user__meta span {
  color: #546d8a;
  font-size: 0.8rem;
}

.bombo-comment-form .comment-notes {
  margin: 0 0 0.72rem;
  color: #4f6682;
  font-size: 0.84rem;
}

.bombo-comment-form-message {
  margin: 0 0 0.8rem;
  padding: 0.78rem 0.9rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}

.bombo-comment-form-message--error {
  border: 1px solid rgba(191, 77, 54, 0.24);
  background: linear-gradient(180deg, rgba(255, 244, 240, 0.98), rgba(255, 249, 247, 0.98));
  color: #8e3525;
  box-shadow: 0 6px 16px rgba(157, 63, 39, 0.08);
}

.bombo-comment-form label {
  display: block;
  font-weight: 800;
  color: #203f63;
  margin-bottom: 0.3rem;
}

.bombo-comment-form .comment-form-comment {
  margin: 0 0 0.72rem;
}

.bombo-comment-form .logged-in-as {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  color: #59708b;
}

.bombo-comment-form .logged-in-as a {
  color: #2a4f76;
}

.bombo-comment-form input[type="text"],
.bombo-comment-form input[type="email"],
.bombo-comment-form input[type="url"],
.bombo-comment-form textarea {
  width: 100%;
  border: 1px solid rgba(37, 58, 101, 0.22);
  border-radius: 12px;
  padding: 0.68rem 0.72rem;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(20, 43, 72, 0.08);
}

.bombo-comment-form input[type="text"]:focus,
.bombo-comment-form input[type="email"]:focus,
.bombo-comment-form input[type="url"]:focus,
.bombo-comment-form textarea:focus {
  border-color: #2b5e94;
  outline: 3px solid rgba(37, 58, 101, 0.12);
}

.bombo-comment-form .form-submit {
  margin: 0.45rem 0 0;
}

.bombo-comment-form .submit {
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #365f8f 0%, #2c4e77 100%);
  color: #fff;
  font-weight: 800;
  padding: 0.72rem 1.05rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(25, 55, 89, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bombo-comment-form .submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(25, 55, 89, 0.3);
}

.bombo-comments__closed {
  margin: 0.84rem 0 0;
  font-weight: 700;
  color: #4f6681;
}

.bombo-comments-cta {
  border-radius: 14px;
  padding: 1rem 1.02rem;
}

.bombo-comments--guest .bombo-comments-cta {
  border: 1px solid rgba(143, 178, 222, 0.28);
  background: linear-gradient(155deg, #10233b 0%, #132b49 48%, #1a385c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 30px rgba(9, 20, 35, 0.35);
}

.bombo-comments--guest .bombo-comments-cta__title {
  margin: 0 0 0.48rem;
  font-size: 1.18rem;
  color: #f5f9ff;
}

.bombo-comments--guest .bombo-comments-cta__text {
  margin: 0;
  color: #d7e5f7;
}

.bombo-comments-cta__actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.bombo-comments-cta__btn.btn {
  display: inline-block;
  padding: 0.6rem 0.92rem;
  border-radius: 11px;
  border: 1px solid rgba(196, 226, 255, 0.6);
  background: linear-gradient(145deg, #4f95d9 0%, #3d7abb 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(7, 18, 31, 0.3);
  text-decoration: none;
}

.bombo-comments-cta__btn.btn:hover {
  filter: brightness(1.06);
}

.bombo-comments-cta__login {
  color: #e8f2ff;
  font-weight: 700;
  text-decoration: underline;
}

.comment-navigation {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  margin: 0.3rem 0 1rem;
}

.comment-navigation a {
  text-decoration: none;
  font-weight: 700;
  color: #2f557e;
}

@media (max-width: 768px) {
  .bombo-comments {
    padding: 1rem 0.9rem;
  }

  .single .blog-content {
    margin-left: 0.9375rem;
    margin-right: 0.9375rem;
    width: calc(100% - 1.875rem);
  }

  .single .article-title {
    font-size: 1.9rem;
    line-height: 1.14;
  }

  .bombo-comment-list .comment-body {
    padding-left: 48px;
  }

  .bombo-comment-list .children {
    margin-left: 0.55rem;
    --bombo-thread-x: 0.42rem;
    --bombo-thread-top: -0.54rem;
    --bombo-thread-height: calc(100% + 0.54rem);
    --bombo-children-indent: 0.86rem;
    padding-left: var(--bombo-children-indent);
  }

  .bombo-comment-form .comment-reply-title small {
    display: block;
    margin: 0.28rem 0 0;
  }

  .comment-navigation {
    flex-direction: column;
    gap: 0.32rem;
  }
}
