/* =================================
   🎨 Windwex Custom Styles
   自定义样式配置
   ================================= */

/* ==================== 隐藏元素 ==================== */

/* 隐藏作者信息 */
.c-post-header__authors-names,
.c-post-header__authors-images,
.c-card-author,
.c-post-card__authors-names {
  display: none !important;
}

.c-header {
  margin-bottom: 32px;
}

/* 隐藏侧边栏 */
.c-sidebar {
  display: none;
}

/* 让主内容区域占据全宽 */
.o-grid__col--2-3-l {
  flex: 0 0 100%;
  max-width: 100%;
}

/* 隐藏社交分享按钮 */
.c-share {
  display: none !important;
}

/* 隐藏文章标题后面的「公开」标签 */
.c-post-card__visibility {
  display: none !important;
}

/* ==================== 主页多栏文章布局 ==================== */

/* 移动端：1栏（默认） */

/* 平板端：2栏 */
@media (min-width: 40em) {
  .js-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 30px;
  }
  
  .c-post-card__content {
    display: flex;
    flex-direction: column;
  }
  
  .c-post-card__title {
    font-size: 20px;
    line-height: 24px;
  }
  
  .c-post-card__excerpt {
    margin-bottom: 16px;
  }
  
  .c-post-card__meta {
    margin-top: auto;
  }
}

/* 桌面端：3栏 */
@media (min-width: 64em) {
  .js-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 40px;
  }
}

/* ==================== 其他布局 ==================== */

/* 导航菜单居中 */
.c-nav-wrap {
  justify-content: space-around !important;
}
