/*
Theme Name: Kadence Child 02
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.1.43.1695708385
Updated: 2023-09-26 06:06:25

*/

#companies {
    display: none; /* Piilota lista aluksi */
}

#company-list {
    max-width: 800px;
    margin: auto;
}

#category-filters {
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: center;
}

#category-filters .filter-btn {
    margin: 5px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    cursor: pointer;
    color: #333; /* Tekstin väri */
    text-decoration: none;
}

#category-filters .filter-btn.active,
#category-filters .filter-btn:hover {
    background-color: #ddd;
    color: #000; /* Aktiivisen ja hover-tilan tekstin väri */
}

#companies .category-section {
    margin-bottom: 30px;
}

#companies .category-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

#companies .company-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    cursor: pointer;
}

#companies .company-item:hover {
    background-color: #e9e9e9;
}

#companies .company-description {
    flex: 1;
    color: #333; /* Tekstin väri */
}

#companies .company-link {
    margin-left: 15px;
    white-space: nowrap;
    color: #333; /* Linkkien tekstin väri */
    text-decoration: none;
}

@media (max-width: 600px) {
    #companies .company-item {
        flex-direction: column;
        align-items: flex-start;
    }

    #companies .company-link {
        margin-left: 0;
        margin-top: 10px;
    }
}
    background-color: #ddd;
}

#companies .category-section {
    margin-bottom: 30px;
}

#companies .category-title {
    font-size: 1.2em;
    margin-bottom: 10px;
}

#companies .company-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    cursor: pointer;
}

#companies .company-item:hover {
    background-color: #e9e9e9;
}

#companies .company-description {
    flex: 1;
}

#companies .company-link {
    margin-left: 15px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    #companies .company-item {
        flex-direction: column;
        align-items: flex-start;
    }

    #companies .company-link {
        margin-left: 0;
        margin-top: 10px;
    }
}

.article-summary-container {
  background: linear-gradient(to bottom, #f8f9fb, #e9f0f8);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(220, 30, 30, 0.1);
  margin: 40px auto;
  padding: 5px;
  max-width: 800px;
  position: relative;
  overflow: hidden;
  border: 1px solid #e3e3e3;
}

.article-summary-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(to right, #c93636, #e85454, #c93636);
}

.article-summary-container::after {
  content: "🎁";
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 32px;
  color: #c93636;
}

.wp-block-group__inner-container {
  padding: 25px 30px 30px;
}

.article-summary-container h3 {
  font-family: 'Playfair Display', serif;
  color: #c93636;
  font-size: 28px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-bottom: 15px;
}

.article-summary-container h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 3px;
  background: linear-gradient(to right, transparent, #c93636, transparent);
}

.article-summary-container p {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 25px;
}

.key-points {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 25px 25px 25px 45px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  border-left: 4px solid #c93636;
}

.key-points::before {
  content: "✨ Lyhyesti";
  position: absolute;
  top: -12px;
  left: 20px;
  background-color: #c93636;
  color: white;
  padding: 4px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(201, 54, 54, 0.3);
}

.key-points li {
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 12px;
  line-height: 1.5;
  position: relative;
  color: #333;
}

.key-points li::before {
  content: "🎄";
  position: absolute;
  left: -28px;
  font-size: 18px;
}

/* Joulukoristeita nurkissa */
.article-summary-container .wp-block-group__inner-container::before {
  content: "❄️";
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 28px;
  opacity: 0.3;
  transform: rotate(-15deg);
}

.article-summary-container .wp-block-group__inner-container::after {
  content: "🕰️";
  position: absolute;
  bottom: 25px;
  right: 25px;
  font-size: 28px;
  opacity: 0.3;
  transform: rotate(10deg);
}

@media (max-width: 768px) {
  .article-summary-container {
    margin: 30px 15px;
  }
  
  .wp-block-group__inner-container {
    padding: 20px 15px;
  }
  
  .article-summary-container h3 {
    font-size: 24px;
  }
  
  .key-points {
    padding: 20px 15px 20px 35px;
  }
  
  .key-points li::before {
    left: -22px;
  }
}