/*
Theme Name: divi-child
Version: 1.0
Description: A child theme of Divi
Author: haitianguy
Template: Divi
*/

@import url("../Divi/style.css");
.center {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap onto the next line */
  justify-content: flex-start; /* Align items to the left */
  max-width: 1350px; /* Set your desired maximum width */
  margin: 0 auto; /* Center the container on the page */
}

.carda {
  width: 48%; /* Adjust the width as needed for your layout */
}
.article-card {
  width: 98%; /* Adjust the width as needed for your layout */
  margin: 10px; /* Add margin between cards */
  height: 332px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 300ms;
}
@media (max-width: 767px) {
  .article-card {
    width: 100%; /* Make cards full width on mobile */
  }
	.carda {
  width: 100%; /* Adjust the width as needed for your layout */
}
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .content {
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  padding: 30px 20px 20px 20px;
  height: auto;
  bottom: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
}

.article-card .date,
.article-card .title,
.article-card .description { /* Apply Barlow font to description */
  margin: 0;
  color: #fff; /* Make text white */
}

.article-card .date {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

.article-card .title {
  font-size: 17px;
  color: #fff;
}

#main-content > div > div > div.et_pb_section.et_pb_section_1_tb_body.et_section_regular > div.et_pb_row.et_pb_row_2_tb_body > div.et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_body.et_pb_css_mix_blend_mode_passthrough.et-last-child > div.et_pb_module.et_pb_wc_add_to_cart.et_pb_wc_add_to_cart_0_tb_body.et_pb_fields_label_position_default.et_pb_bg_layout_.et_pb_text_align_left > div > form > table > tbody > tr > th,
#main-content > div > div > div.et_pb_section.et_pb_section_1_tb_body.et_section_regular > div.et_pb_row.et_pb_row_2_tb_body > div.et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_body.et_pb_css_mix_blend_mode_passthrough.et-last-child > div.et_pb_module.et_pb_wc_add_to_cart.et_pb_wc_add_to_cart_0_tb_body.et_pb_fields_label_position_default.et_pb_bg_layout_.et_pb_text_align_left > div > form > table > tbody > tr > td
{
	display:block;
}

#main-content > div > div > div.et_pb_section.et_pb_section_1_tb_body.et_section_regular > div.et_pb_row.et_pb_row_2_tb_body > div.et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_body.et_pb_css_mix_blend_mode_passthrough.et-last-child > div.et_pb_module.et_pb_wc_add_to_cart.et_pb_wc_add_to_cart_0_tb_body.et_pb_fields_label_position_default.et_pb_bg_layout_.et_pb_text_align_left > div > form > table > tbody > tr > th > label > span
{
	font-size: 25px;
}

.woo-variation-gallery-trigger-position-top-right
{
	display:none !important;
}

#main-content > div.et-l.et-l--body > div > div.et_pb_section.et_pb_section_1_tb_body.et_section_regular > div.et_pb_row.et_pb_row_2_tb_body > div.et_pb_column.et_pb_column_1_2.et_pb_column_3_tb_body.et_pb_css_mix_blend_mode_passthrough.et-last-child > div.et_pb_module.et_pb_wc_add_to_cart.et_pb_wc_add_to_cart_0_tb_body.et_pb_fields_label_position_default.et_pb_bg_layout_.et_pb_text_align_left > div > form > table > tbody > tr > td > div.cfvsw-swatches-container.cfvsw-product-container > div:nth-child(1) > div {
    background-position: center bottom 57% !important;
}
