/**
Theme Name: steepedroots
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: steepedroots
Template: astra
*/
/**
Theme Name: steepedroots
Template: astra
*/

/* 通用栅格容器样式 */
.steepedroots-grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

@media (min-width: 600px) {
  .steepedroots-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .steepedroots-grid-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 统一卡片样式 */
.steepedroots-post-card {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steepedroots-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.steepedroots-post-card a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.steepedroots-post-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* 卡片内容区域 */
.steepedroots-card-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* 标题 */
.steepedroots-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #b30059;
  margin: 0 0 0.5rem 0;
}

/* Meta 信息 */
.steepedroots-card-meta {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
  margin-bottom: 0.75rem;
  display: flex;
  justify-content: space-between;
}

/* 摘要 */
.steepedroots-card-excerpt {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.5;
  flex-grow: 1;
}

/* Section 标题样式 */
.steepedroots-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #3a3a3a;
  text-transform: capitalize;
}

/* 移动端调整 */
@media (max-width: 768px) {
  .steepedroots-post-card img {
    height: 160px;
  }
  .steepedroots-card-title {
    font-size: 1rem;
  }
  .steepedroots-card-excerpt {
    font-size: 0.9rem;
  }
}
/* 横向排列每篇文章卡片 */
/* 更高优先级地强制横排布局 */
.elementor-shortcode .steepedroots-post-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 2rem !important;
  justify-content: space-between !important;
  margin-top: 2rem !important;
}

/* 单个卡片的宽度与样式 */
.elementor-shortcode .steepedroots-post-card {
  flex: 1 1 calc(33.33% - 2rem) !important;
  box-sizing: border-box !important;
  background-color: #f8f8f8 !important;
  padding: 1.5rem !important;
  border-radius: 12px !important;
  transition: transform 0.2s ease !important;
}

.elementor-shortcode .steepedroots-post-card:hover {
  transform: scale(1.02) !important;
}

.elementor-shortcode .steepedroots-post-card h4 {
  font-size: 1.1rem !important;
  margin-bottom: 0.5rem !important;
}

.elementor-shortcode .steepedroots-post-card p {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  color: #444 !important;
}

/* 响应式处理 */
@media (max-width: 768px) {
  .elementor-shortcode .steepedroots-post-card {
    flex: 1 1 100% !important;
  }
}
