/**
Theme Name: advbase-child
Author: AdvBase
Author URI: https://advbase.com/
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: advbase-child
Template: astra
*/

/* =========================
   Sidebar clean design (Astra)
========================= */
/* =========================
   Gutenberg: カテゴリ一覧（wp-block-categories）
   ========================= */

/* 外枠をカード化 */
.wp-block-categories.wp-block-categories-list{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  padding: 12px;
  margin: 0;              /* margin-top:0 の上書きも兼ねる */
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

/* リストの余白を消す */
.wp-block-categories.wp-block-categories-list{
  list-style: none;
}
.wp-block-categories.wp-block-categories-list li{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各行（リンク）を押しやすく、区切り線＋ホバー */
.wp-block-categories.wp-block-categories-list li a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  line-height: 1.4;
}

/* 行と行の間にうっすら区切り */
.wp-block-categories.wp-block-categories-list li + li a{
  border-top: 1px solid rgba(0,0,0,.06);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* ホバー */
.wp-block-categories.wp-block-categories-list li a:hover,
.wp-block-categories.wp-block-categories-list li a:focus{
  background: rgba(0,0,0,.05);
}

/* “今いるカテゴリ” を少し目立たせる（アーカイブ等で current-cat が付く場合） */
.wp-block-categories.wp-block-categories-list li.current-cat > a{
  background: rgba(0,0,0,.06);
  font-weight: 700;
}

/* ネスト（子カテゴリ）がある場合のインデント */
.wp-block-categories.wp-block-categories-list ul.children{
  margin: 6px 0 0;
  padding-left: 14px;
}


