/* Stories Section Styles */
.stories-section {
    padding: 0px 0;
    background: #F8F7EC;
}

.stories-section .section-header {
    margin-bottom: 0px;
}
.stories-section .container {
      max-width: 1200px;
      margin: 0 160px;
    }
    .stories-section h2 {
      text-align: left;
    }
    .subtitle {
      font-size: 16px;
      color: #484848;
      font-weight: 400;
      line-height: 1.6;
    }
    .stories-row {
      display: flex;
      gap: 32px;
      flex-wrap: wrap;
      margin-bottom: 1.5em;
    }
    .story-card {
      /* background: #fff; */
      /* box-shadow: 0 2px 12px rgba(80,80,80,0.08); */
      /* border-radius: 14px; */
      flex: 1 1 300px;
      width: 357px;
      /* height: 473px; */
      display: flex;
      flex-direction: column;
      overflow: hidden;
      /* transition: box-shadow 0.2s; */
    }
    /* .story-card:hover {
      box-shadow: 0 8px 32px rgba(40,40,80,0.15);
    } */
    .story-img {
      width: 357px;
        height: 219px;
      object-fit: cover;
      /* background: #f0f0f0; */
      /* display: block; */
      border-radius: 4px;
      clip-path: polygon(0 0, 73% 0, 100% 37%, 100% 100%, 0 100%);
    }
    .story-card-corner{
        position: absolute;
        top: 0;
        right: -1px;
        width: 35px;
        height: 40px;
        background: #F8F7EC;
        /* background: #000000; */
        clip-path: polygon(100% 0, 0 0, 100% 100%);
        z-index: 1;
    }
    .story-content {
      padding-top: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .story-tags {
      margin-bottom: 16px;
    }
    .tag {
      display: inline-block;
      background: #E7E5DC;
      color: #1F1F1F;
      border-radius: 30px;
      font-size: 14px;
      padding: 8px 12px;
      margin-right: 5px;
      margin-bottom: 2px;
      font-weight: 400;
    }
    .story-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 7px;
      color: #1F1F1F;
      line-height: 1.3;
      margin-bottom: 16px;
    }
    .story-text{
        margin-bottom: 40px;
    }
    .story-desc {
      color: #484848;
      font-size: 16px;
      font-weight: 400;
      margin-bottom: 29px;
    }
    .read-more {
        text-decoration: none;
        color: #1F1F1F;
        font-weight: 400;
        font-size: 16px;
        /* text-align: center; */
        /* align-items: center; */
    }
    .read-more span {
        background: #FFCC29;
        padding: 7px 12px;
        border-radius: 4px;
    }
    /* .read-more:hover {
      color: #c49a00;
      text-decoration: underline;
    } */
    .read-more-icon {
      margin-left: 6px;
      font-size: 1.3em;
      vertical-align: middle;
    }
    .view-all {
      display: flex;
      justify-content: flex-end;
      margin-bottom: 2em;
    }
    .view-all-link {
      color: #1F1F1F;
      font-weight: 400;
      font-size: 16px;
      text-decoration: none;
      display: flex;
      align-items: center;
      transition: color 0.2s;
    }
    /* .view-all-link:hover {
      color: #e2b300;
      text-decoration: underline;
    } */
    .view-all-link span{
        background: #FFCC29;
    padding: 0px 9px;
    border-radius: 4px;
        margin-left: 8px;
    }
    .view-all-icon {
      margin-left: 7px;
      font-size: 1.15em;
      color: #e2b300;
    }

    /* Responsive Design */
@media (max-width: 1024px) {

}

@media (max-width: 768px) {
  .stories-section .container {
    margin: 0 60px;
  }
}

@media (max-width: 480px) {
  .stories-section{
    text-align: center;
  }
  .stories-section .container {
    margin: 0 0px;
  }
  .stories-row {
    display: -webkit-inline-box;
    gap: 24px;
    width: 311px;
  }
  .stories-section h2 {
    text-align: center;
  }

  .story-content{
    text-align: left;
  }
  .story-text {
    margin-bottom: 21px;
  }
  .view-all {
    justify-content: center;
  }
}

@media (max-width: 360px) {
      .story-content {
        text-align: center;
    }
}

