/**
 * Theme Name: astra-child
 * Template:   astra
 */

.main-section{
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 30px;
}
  
.main-posts-list {
  list-style-type: none;
  padding: 0;
  margin: 0px;
}

.post-image {
  max-width: 100%;  /* Adjust the size as needed */
  height: auto;
  border-radius: 8px;
}

.main-post-item:nth-child(1) .post-image {
  width: 100%;
  margin-top: 10px;
}

.homepage-container{
  display: flex;
}

.introduction{
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  margin-bottom: 30px;
}

.main-post-item .main-post-title{
  margin-bottom: 0px;
}

.main-post-title{
  margin-top: 10px;
}

@media screen and (max-width: 768px) {
  .homepage-container{
    flex-direction: column;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .main-post-item .main-post-title{
    font-size: 18px;
  }

  .main-post-item:nth-child(2),.main-post-item:nth-child(3) {
    margin-top: 20px;
  }

  .main-post-item{
    margin: 0px;
  }

  .left-column{
    margin: 20px;
  }

  .main-section{
    margin: 20px;
  }

  .left-column{
    order: 3;
  }

  .economic-calendar-page, .cryptocurrencies-page, .stock-chart-page{
    margin-left: 20px;
    margin-right: 20px;
  }
}

@media screen and (min-width: 768px) {
  .left-column, .right-column{
    width: 34%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .left-column{
      margin-left: 20px;
      height: 80%;
  }

  .left-column-content{
      width: 250px;
      text-align: left;
  }

  .right-column{
      margin-right: 20px;
  }

  .main-posts-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .main-post-item:nth-child(1) .main-post-title{
    font-size: 20px;
    margin-top: 5px;
  }

  .main-post-item:nth-child(2) .main-post-title, .main-post-item:nth-child(3) .main-post-title{
    text-align: left;
  }

  .main-post-item {
    display: flex;
  }

  .main-post-item:nth-child(2),.main-post-item:nth-child(3) {
    margin-top: 20px;
  }

  .main-post-item:nth-child(2) a,.main-post-item:nth-child(3) a {
    display: flex;
    flex-wrap: wrap;
  }

  .post-image-container {
    margin-right: 15px;
  }

  .main-post-item:nth-child(2) .post-image-container,.main-post-item:nth-child(3) .post-image-container {
    width: 50%;
  }

  .main-post-item:nth-child(2) .main-post-title, .main-post-item:nth-child(3) .main-post-title{
    width: 45%;
  }

  .main-post-item:nth-child(2){
    margin-right: 20px;
  }

  .main-post-item:nth-child(1){
    display: flex;
    flex-direction: column;
  }

  .main-post-item:nth-child(1) .main-post-excerpt{
    text-align: left;
  }

  .main-post-item:nth-child(1) .main-post-excerpt p{
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .main-post-item:nth-child(2) .main-post-excerpt,.main-post-item:nth-child(3) .main-post-excerpt{
    display: none;
  }

  .introduction{
    margin-left:30px;
    margin-right:30px;
    margin-bottom: 30px;
  }

  .economic-calendar-title{
      font-size: 1.5rem;
      font-weight: 600;
  }
  
  .economic-calendar-section{
      width: 300px; /* Adjust the width as necessary */
  }
  
  .economic-calendar-section h3{
      margin-top: 0px;
  }

  .economic-calendar-page, .cryptocurrencies-page, .stock-chart-page{
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
  }

  .economic-calendar-page h1, .cryptocurrencies-page h1, .stock-chart-page h1{
    text-align: center;
  }

  .economic-calendar-page h2, .cryptocurrencies-page h2, .stock-chart-page h2{
    text-align: left;
  }
}


.left-column, .right-column{
  margin-bottom: 20px;
}

.economic-calendar-section, .left-column{
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.left-column-content{
  max-width: 100%;
}

@media (min-width: 922px) {
  .site-content .ast-container {
    display: inherit;
  }
}