/*!************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/blocks/editor-choice/style.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************/
.editor-choice {
  display: flex;
  flex-direction: row;
  min-height: 630px;
  gap: 20px;
}
.editor-choice .ec-column {
  position: relative;
  flex: 1 1 0; /* grow and shrink equally, start from 0 width */
  min-width: 0; /* prevent overflow from long text */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-size: cover;
  background-position: 50% 50%;
  background-attachment: fixed;
}
.editor-choice .ec-column .ec-raw {
  position: relative;
  height: 100%;
  flex: 1 1 0;
  box-sizing: border-box;
}
.editor-choice .ec-column > .ec-overlay p {
  height: auto;
  opacity: 1;
}
.editor-choice .ec-post {
  background-size: cover;
  border-radius: 13px;
  overflow: hidden;
  background-color: #333333;
}
.editor-choice .ec-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 0.6s ease-in-out;
}
.editor-choice .ec-overlay h3 {
  color: #ffffff;
  font-weight: bold;
  margin: 0;
  font-size: 1.4rem;
  margin: 0;
  text-shadow: 1px 1px 0 #032D69;
}
.editor-choice .ec-overlay p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: normal;
  margin: 0;
  padding: 10px 0;
  height: 0;
  opacity: 0;
  transition: height 0.6s ease, opacity 0.3s ease;
}
.editor-choice .ec-overlay:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.editor-choice .ec-overlay:hover p {
  height: auto;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .editor-choice {
    display: block;
    min-height: auto;
  }
  .editor-choice .ec-column {
    display: block;
  }
  .editor-choice .ec-column .ec-raw {
    margin: 10px 12vw;
    height: 180px;
    gap: 10px;
  }
  .editor-choice .ec-post {
    height: 250px;
    margin: 10px;
    border: 1px solid #F7FCFF;
  }
  .editor-choice .ec-overlay h3 {
    font-weight: normal;
    font-size: 1.1rem;
  }
  .editor-choice .ec-overlay p {
    display: none;
  }
}

/*# sourceMappingURL=style-index.css.map*/