.blog-container {
  display: flex;
  gap: 4rem;
  align-items: flex-start; 
  margin:auto;
  max-width: 1200px;
    font-family: Arial, sans-serif;
        padding-bottom: 6rem;
}

.blog-content {
  flex: 1; 
  margin:auto;
  
}


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

.blog-sidebar {
  flex: 0 0 300px;
  max-width: 300px;
}

.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;
}






@media (max-width: 768px) {
  .blog-container {
    flex-direction: column;
    gap: 2rem;
  }

  .blog-content {
    order: 1;
  }


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

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

  .blog-sidebar {
    order: 2;       
    max-width: 100%; 
    flex: unset;  
  }

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


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


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






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


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

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

.recent-text a {
  font-weight: bold;
  display: block;
}

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

.widget {text-align: left;
border-top: 1px solid #eee;
    padding-top: 1rem;
    padding-bottom: 1rem;

}




































/*SINGLE*/
.single-blog-header {
  display: none;
  align-items: center;      
  justify-content: flex-start;
  gap: 8px;                 
  margin-bottom: 1rem;
  display: none;
}

@media (max-width: 768px) {
.single-blog-header {display: flex !important;}
}



.single-blog-header a {
  display: flex;         
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.single-blog-header img {
    height: 34px;
    width: auto;
    margin-right: 6px;
}

.single-blog-header span {
    font-size: 1rem;
    font-weight: bold;
}



.single-article {
  max-width: 900px;
  margin: 2rem auto;
  text-align: left;
}

.single p {margin-top:0.1rem;
font-size: 1rem;
}

.single h2 {margin-top:3rem;}
.article-categories .article-category {
  display: inline-block;
  background-color: var(--accent-color-2);
  color: #fff;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  margin-right: 0.4rem;
}



/* Single article */
.single-article {
  margin-bottom: 3rem;
}

/* Artikkelin kansikuva */
.single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Meta-otsikko: päivämäärä + kategoriat */
.article-meta-top {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0rem;
  align-items: center;
}

/* Erotin päivämäärän ja kategoriat välillä */
.article-meta-top .article-date::after {
  content: "•";
  margin: 0 0.3rem;
  color: #ccc;
}



/* Artikkelin otsikko */
.article-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

/* Artikkelin sisältö */
.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .blog-container {
    flex-direction: column;
    padding-bottom: 1rem;
  }
  .blog-sidebar {
    margin-bottom: 2rem;
  }


}



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: "“";
  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;
}






}


/*ASENNUSOHJEET*/
/* Tab-painikkeet */
.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;
}

/* Tab-sisältö */
.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 {
   
  font-family: Arial, sans-serif;
  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;
}





















/* ARTIKKELIKUVAT */
.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;
}

/* ARTIKKELIOSIOT */
.latest-articles,
.sticky-section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}



/* ARTIKKELILISTA GRID */
.articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  grid-auto-flow: dense;
  margin-top:1rem;
}

/* ARTIKKELIEN YLEISET TYYLIT */
.article-item {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  padding: 1rem;
  text-align: center;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 300px;
  margin:auto;
  min-height: 360px;
}

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

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

/* LINKIT */
.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;
}










/* TEKSTIOSAT */
.article-item h3,
.article-item p {
    font-size: 1.1rem;
text-align: center;
    margin:0.1rem;
}

.article-meta {    text-align: center;
    font-size: 0.8rem;
  margin:0.3rem;}

.article-excerpt {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 1rem;
    text-align: center;
}

/* RESPONSIIVISUUS */
@media (max-width: 900px) {
  .articles-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-item.sticky {
    grid-column: 2;
  }
}

@media (max-width: 600px) {
  .articles-list {
    grid-template-columns: 1fr;
  }
  .article-item.sticky {
    grid-column: 1;
  }
}





/* SIDEBAR CAT*/

/* KATEGORIAT */
.article-categories {
  margin-bottom: 0.3rem;
  text-align: center;
}

.category-list {
  list-style: none; /* poistaa bulletit */
  padding: 0;
  margin: 0;
}

.category-list li {
  display: inline-block; /* pill-mallinen lista */
  margin: 0.2rem 0.4rem 0.2rem 0;
}

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

.category-list li a:hover {
  background-color: var(--accent-color); /* hover-väri */
}

.category-list li .post-count {
  font-size: 0.5rem;
  margin-left: 0.3rem;
  opacity: 0.7;
}



/*SIDEBAR 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: grey;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  text-decoration: none;
  user-select: none;
  transition: background-color 0.3s ease;
}

.tag-link:hover {
  background-color: lightgrey;
  color:#fff;
}