/*
Theme Name: Thiền Chữa Lành
Theme URI: https://thienchualanh.com
Author: Thiền Chữa Lành
Description: Giao diện "Đồi hoa mơ" nhẹ nhàng, tải nhanh, không cần plugin. Trang chủ có hai lối vào: Đọc bài viết và Xem các khóa học.
Version: 1.0.0
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
Text Domain: thien-chua-lanh
*/

:root{
  --bg:#FFF3F0; --cream:#FFF0EA; --pink-bg:#FFE9EC; --pink:#F8C9D4; --pink-d:#F29BB3;
  --lilac:#E6DAFA; --lilac-d:#D8C6F3; --mint:#D4F0E2; --mint-card:#CDEEDD; --butter:#FFF1B8;
  --plum:#3E2A66; --plum-m:#6B4A9E; --text:#3A2A55; --muted:#5A4878;
  --cta:#C73E6E; --link:#B03060; --berry:#8A2250;
  --head:'Baloo 2',system-ui,sans-serif; --body:'Nunito',system-ui,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:17px;line-height:1.6;overflow-x:hidden}
img,svg,video{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{opacity:.88}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--plum-m);outline-offset:2px}
button,input,select,textarea{font-family:inherit;font-size:16px;color:var(--text)}
button{cursor:pointer}
h1,h2,h3,h4{font-family:var(--head);color:var(--plum);margin:0}
.screen-reader-text,.sr-only{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.skip{position:absolute;left:-9999px;top:8px;background:#fff;padding:10px 16px;border-radius:999px;z-index:100;font-weight:700}
.skip:focus{left:8px}
.wrap{max-width:1200px;margin:0 auto;padding-left:24px;padding-right:24px}
.scene{display:block;width:100%;height:auto}
.wave{display:block;width:100%;height:48px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;border-radius:999px;border:0;font-weight:800;font-size:16px;line-height:1.2;text-align:center}
.btn--cta{background:var(--cta);color:#fff}
.btn--plum{background:var(--plum);color:#fff}
.btn--white{background:#fff;color:var(--plum)}
.btn--line{background:#fff;color:var(--link);border:2px solid var(--pink)}
.chip{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 14px;border-radius:999px;background:#EADFFB;color:var(--plum);font-weight:700;font-size:14px;border:2px solid transparent;transition:transform .15s ease,background .15s ease}
.chip svg{width:16px;height:16px;flex:0 0 auto;fill:none;stroke:var(--plum-m);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.chip:hover{transform:translateY(-1px)}
.chip--all{background:var(--cta);color:#fff}
.chip--all svg{stroke:#fff}
.chip--tam-thien-hanh-thien{background:#DDF1E6}
.chip--nang-luong-luan-xa{background:#FBF0CC}
.chip--mo-rong-tam-tri{background:#E2EAFB}
.chip--chia-se-cua-thien-sinh{background:#FBE0D5}
.chip.is-on:not(.chip--all){border-color:var(--cta)}
/* ---------- Header ---------- */
.site-header{background:var(--bg)}
.site-header.is-home{background:var(--cream)}
.site-header .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 24px;padding-top:16px;padding-bottom:16px}
.brand{display:flex;align-items:center;gap:10px;font-family:var(--head);font-weight:800;font-size:25px;color:var(--plum)}
.menu-btn{display:none;align-items:center;background:#fff;border:2px solid var(--pink);color:var(--plum);border-radius:999px;padding:8px 20px;font-weight:700;min-height:48px}
.primary-nav{display:flex;flex-wrap:wrap;align-items:center;gap:4px 26px;font-weight:600}
.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 26px}
.primary-nav li a{display:inline-block;padding:10px 0}
.primary-nav .btn-reg{background:var(--cta);color:#fff;padding:11px 26px;border-radius:999px;font-weight:700}
.home-phone{min-height:48px;display:inline-flex;align-items:center;font-weight:700;color:var(--berry)}
@media (max-width:860px){
  .menu-btn{display:inline-flex}
  .primary-nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:4px 0 12px}
  .primary-nav.is-open{display:flex}
  .primary-nav ul{flex-direction:column;gap:0}
  .primary-nav li a{display:block;padding:14px 6px;border-top:1px solid #F3D6DD}
  .primary-nav .btn-reg{text-align:center;margin-top:10px}
}

/* ---------- Hero (inner pages) ---------- */
.hero{background:var(--pink-bg)}
.hero--lilac{background:var(--lilac)}
.hero--mint{background:var(--mint)}
.hero__in{max-width:1200px;margin:0 auto;padding:40px 24px 56px;display:flex;flex-direction:column;gap:16px}
.hero h1{font-weight:800;font-size:clamp(38px,5.4vw,64px);line-height:1.05;text-wrap:balance}
.hero__lead{margin:0;max-width:560px;font-size:18px;color:var(--muted)}
.crumbs{font-size:15px;color:var(--muted)}
.crumbs a:hover{text-decoration:underline}
.tools{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-top:8px}
.chips{display:flex;flex-wrap:wrap;gap:6px}
.searchform{flex:0 1 210px;min-width:180px;margin-left:auto;display:flex;align-items:center;height:40px;background:#fff;border:1.5px solid var(--lilac);border-radius:999px;padding:0 6px 0 18px;transition:box-shadow .15s ease,border-color .15s ease}
.searchform:focus-within{border-color:var(--plum-m);box-shadow:0 0 0 3px rgba(107,74,158,.18)}
.searchform input[type=search]{flex:1;min-width:0;height:36px;min-height:0;border:0;outline:0;background:transparent;padding:0;font-size:15px;-webkit-appearance:none;appearance:none}
.searchform input[type=search]::placeholder{color:#8A7AA6}
.searchform button{flex:0 0 auto;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;background:transparent;color:var(--plum-m);border:0;border-radius:50%;padding:0;cursor:pointer;transition:color .15s ease}
.searchform button:hover{color:var(--cta)}
.hero--narrow .hero__in{max-width:760px}
.hero--read .hero__in{max-width:1100px;padding-bottom:24px}

/* ---------- Home ---------- */
.home-hero{background:var(--cream)}
.home-hero__in{max-width:1000px;margin:0 auto;padding:34px 32px 48px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:18px}
.badge{background:var(--mint);color:#1F6B42;font-weight:700;font-size:15px;padding:6px 18px;border-radius:999px}
.home-hero h1{font-weight:800;font-size:clamp(32px,4.2vw,56px);line-height:1.1;text-wrap:balance}
.home-hero .lead{margin:0;max-width:540px;font-size:19px;color:var(--muted)}
.gates{width:100%;margin-top:clamp(6px,5vw,72px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:24px;text-align:left}
.gate{position:relative;display:flex;align-items:center;gap:20px;min-height:160px;padding:30px 30px 30px 32px;border-radius:48px;color:var(--plum)}
.gate--read{background:var(--mint-card);box-shadow:0 12px 28px rgba(110,190,150,.30)}
.gate--learn{background:#FFD9E4;box-shadow:0 12px 28px rgba(242,155,179,.32)}
.gate__icon,.gate__arrow{flex:0 0 auto}
.gate__petal{position:absolute;top:18px;right:92px}
.gate__txt{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}
.gate__title{font-family:var(--head);font-weight:800;font-size:clamp(28px,3vw,36px);line-height:1.1;text-wrap:balance}
.gate__sub{font-size:16px;color:var(--muted)}
.home-foot{background:var(--lilac-d);color:var(--plum)}
.home-foot .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 28px;padding-top:8px;padding-bottom:20px;font-size:15px}
.home-foot nav{display:flex;flex-wrap:wrap;gap:0 22px;font-weight:700}
.home-foot nav a{min-height:48px;display:inline-flex;align-items:center}

/* ---------- Post cards ---------- */
.grid{max-width:1200px;margin:0 auto;padding:32px 24px 56px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:24px}
.grid--courses{grid-template-columns:repeat(auto-fit,minmax(min(420px,100%),1fr));padding-bottom:72px}
.card{background:#fff;border-radius:32px;overflow:hidden;display:flex;flex-direction:column}
.thumb{display:block;aspect-ratio:2/1;overflow:hidden;background:var(--pink-bg)}
.thumb img,.thumb svg{display:block;width:100%;height:100%;object-fit:cover}
.card__body{padding:24px 26px 28px;display:flex;flex-direction:column;gap:8px;flex-grow:1}
.card__meta{font-size:14px;font-weight:700;color:var(--berry)}
.card__title{font-family:var(--head);font-weight:700;font-size:24px;line-height:1.2;color:var(--plum)}
.card__text{font-size:16px;color:var(--muted);flex-grow:1}
.card__more{color:var(--link);font-weight:700;padding:6px 0}
.empty{max-width:640px;margin:0 auto;padding:48px 24px 72px;text-align:center;color:var(--muted)}
.empty strong{display:block;font-family:var(--head);font-size:28px;color:var(--plum);margin-bottom:8px}

/* ---------- Pagination ---------- */
.pagination{max-width:1200px;margin:0 auto;padding:0 24px 72px;display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.pagination .page-numbers{min-width:48px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:999px;font-weight:700;padding:0 6px}
.pagination .current{background:var(--cta);color:#fff}
.pagination .dots{background:transparent}
.pagination .next,.pagination .prev{background:var(--plum);color:#fff;padding:0 24px}

/* ---------- Single ---------- */
.pill{align-self:flex-start;background:#fff;color:var(--berry);font-weight:700;font-size:14px;padding:6px 16px;border-radius:999px}
.meta{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:15px;color:var(--muted)}
.avatar{width:72px;height:72px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-family:var(--head);font-weight:800;font-size:30px;color:var(--plum-m);flex:0 0 auto}
.who{display:flex;align-items:center;gap:16px}
.who b{display:block;font-size:20px;color:var(--plum)}
.read-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;max-width:1100px;margin:0 auto;padding:0 24px}
.read-main{min-width:0}
.entry{padding:16px 0 24px;font-size:19px;line-height:1.85;overflow-wrap:break-word}
.entry>*:first-child{margin-top:0}
.entry p{margin:0 0 24px}
.entry h2{margin:40px 0 16px;font-weight:700;font-size:30px;line-height:1.2}
.entry h3{margin:32px 0 12px;font-weight:700;font-size:24px;line-height:1.25}
.entry h4{margin:24px 0 10px;font-size:20px}
.entry a{color:var(--link);text-decoration:underline}
.entry blockquote{margin:32px 0;padding:28px 32px;background:#fff;border-radius:28px;font-family:var(--head);font-weight:600;font-size:24px;line-height:1.4;color:var(--plum)}
.entry blockquote p{margin:0}
.entry ul,.entry ol{margin:0 0 24px;padding-left:1.4em}
.entry li{margin-bottom:6px}
.entry img,.entry figure,.entry iframe,.entry video{max-width:100%;border-radius:20px}
.entry img{height:auto}
.entry figure{margin:24px 0}
.entry figcaption,.wp-caption-text{font-size:15px;color:var(--muted);text-align:center;margin-top:6px}
.entry table{width:100%;border-collapse:collapse;display:block;overflow-x:auto;margin:0 0 24px}
.entry td,.entry th{border:1px solid var(--pink);padding:8px 12px}
.entry pre{overflow:auto;background:#fff;padding:16px;border-radius:16px}
.entry hr{border:0;border-top:2px dotted #E8B8C6;margin:36px 0}
.alignleft{float:left;margin:4px 24px 12px 0}
.alignright{float:right;margin:4px 0 12px 24px}
.aligncenter{display:block;margin-left:auto;margin-right:auto}
.wp-caption{max-width:100%}
.entry::after{content:"";display:table;clear:both}
.quote{margin:0 0 32px;padding:28px 32px;background:#fff;border-radius:28px;font-family:var(--head);font-weight:600;font-size:26px;line-height:1.4;color:var(--plum)}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:8px 0 32px}
.share b{color:var(--plum);margin-right:6px}
.share .btn{min-height:48px;padding:0 20px;font-weight:700;font-size:15px;background:#fff;border:2px solid var(--pink);color:var(--text)}
.prevnext{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:16px;padding-bottom:56px}
.pn{background:#fff;border-radius:28px;padding:22px 26px;display:flex;flex-direction:column;gap:4px}
.pn small{font-size:14px;font-weight:700;color:var(--berry)}
.pn span{font-family:var(--head);font-weight:700;font-size:21px;line-height:1.25;color:var(--plum)}
.pn--next{text-align:right}
.side{position:sticky;top:24px;align-self:start;padding-bottom:32px}
.side__box{background:#fff;border-radius:28px;padding:24px 20px 16px}
.side h2{padding:0 8px;font-weight:800;font-size:24px;line-height:1.2}
.side__sub{padding:2px 8px 14px;font-size:14px;color:var(--muted)}
.side__link{display:flex;gap:12px;align-items:flex-start;padding:12px 8px;min-height:48px;border-top:1px solid #F3D6DD;border-radius:12px}
.side__link:hover{background:var(--bg);opacity:1}
.side__n{flex:0 0 auto;width:28px;height:28px;border-radius:50%;background:var(--pink-bg);color:var(--berry);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;margin-top:1px}
.side__t{font-family:var(--head);font-weight:600;font-size:18px;line-height:1.3;color:var(--plum)}
.side__all{display:flex;align-items:center;min-height:48px;padding:0 8px;border-top:1px solid #F3D6DD;font-weight:700;color:var(--link)}
.band{background:var(--lilac)}
.band__in{max-width:1200px;margin:0 auto;padding:56px 24px 64px;display:flex;flex-direction:column;gap:28px}
.band h2{font-weight:800;font-size:34px}
.band .grid{padding:0}
.col720{max-width:1100px;margin:0 auto;padding:0 24px}
.col720>*{max-width:720px}
.cta-box{background:var(--pink);border-radius:36px;padding:32px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin:40px 0 72px}
.cta-box strong{font-family:var(--head);font-weight:800;font-size:26px;line-height:1.2;color:var(--plum);flex:1 1 240px}
@media (max-width:980px){
  .read-wrap{grid-template-columns:minmax(0,1fr);gap:0}
  .side{position:static}
}

/* ---------- Comments ---------- */
.comments{padding:64px 0 24px;display:flex;flex-direction:column;gap:20px}
.comments h2,.comments .comment-reply-title{font-weight:800;font-size:32px;color:var(--plum)}
.comment-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.comment-list .children{list-style:none;margin:16px 0 0;padding-left:24px;display:flex;flex-direction:column;gap:16px}
.comment-body{background:#fff;border-radius:28px;padding:22px 26px;font-size:16px}
.comment-author{display:flex;align-items:center;gap:12px;font-weight:700}
.comment-author img{border-radius:50%}
.comment-author .says{display:none}
.form form{display:flex;flex-direction:column;gap:14px}
.form .field{display:flex;flex-direction:column;gap:6px}
.comment-metadata{font-size:14px;color:var(--muted);margin:4px 0 10px}
.comment-content p{margin:0 0 10px}
.reply a{font-weight:700;color:var(--link)}
.comments .note{background:#fff;border-radius:28px;padding:24px 28px;color:var(--muted);font-size:16px}
.comment-form{display:flex;flex-direction:column;gap:14px}
.comment-form label{font-weight:700;font-size:15px;display:block;margin-bottom:4px}
.comment-form input[type=text],.comment-form input[type=email],.comment-form input[type=url]{width:100%;min-height:48px;border:2px solid var(--pink);border-radius:20px;padding:0 18px;background:#fff}
.comment-form textarea{width:100%;border:2px solid var(--pink);border-radius:20px;padding:14px 18px;background:#fff;resize:vertical}
.comment-form .comment-form-cookies-consent{display:flex;gap:10px;align-items:flex-start;font-size:14px}
.comment-form .comment-form-cookies-consent label{font-weight:400;margin:0}
.comment-form .submit{align-self:flex-start;min-height:52px;background:var(--cta);color:#fff;border:0;border-radius:999px;padding:0 32px;font-weight:800}
.comment-form p{margin:0}

/* ---------- Courses ---------- */
.course{background:#fff;border-radius:36px;overflow:hidden;display:flex;flex-direction:column}
.course .thumb{aspect-ratio:5/2}
.course__body{padding:28px 30px 32px;display:flex;flex-direction:column;gap:12px;flex-grow:1}
.course__title{font-family:var(--head);font-weight:800;font-size:30px;line-height:1.1;color:var(--plum)}
.course__text{font-size:17px;color:var(--muted)}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tag{border-radius:999px;padding:4px 14px;font-size:14px;font-weight:700;background:var(--pink-bg);color:var(--berry)}
.tag--b{background:var(--lilac);color:#4A2F80}
.tag--c{background:var(--butter);color:#6B5200}
.facts{display:flex;flex-wrap:wrap;gap:6px 20px;font-size:15px;color:var(--muted);flex-grow:1;align-items:flex-end}
.course__btns{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.callbox{max-width:1200px;margin:0 auto;padding:0 24px 72px}
.callbox>div{background:var(--lilac);border-radius:40px;padding:36px 40px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 32px}
.callbox strong{display:block;font-family:var(--head);font-weight:800;font-size:30px;line-height:1.15;color:var(--plum)}
.callbox span{font-size:17px;color:#4A3A6E}
.course-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:32px 48px;align-items:center;max-width:1200px;margin:0 auto;padding:40px 24px 56px}
.course-hero h1{font-weight:800;font-size:clamp(38px,5.4vw,64px);line-height:1.05;color:#1F4D3A}
.course-hero .crumbs{color:#1C5C38}
.course-hero .hero__lead{color:#2C5A4F;font-size:19px}
.course-hero .pic{border-radius:36px;overflow:hidden}
.course-hero .pic img{display:block;width:100%;height:auto}
.course-body{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:40px 48px;align-items:start;max-width:1200px;margin:0 auto;padding:32px 24px 72px}
.info{background:#fff;border-radius:36px;padding:32px;display:flex;flex-direction:column;gap:14px;border:3px solid var(--pink)}
.info h2{font-weight:800;font-size:26px}
.info__row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px dotted #E8B8C6}
.info__row span{color:var(--muted)}
.info__row strong{text-align:right}
.info .btn{margin-top:8px}

/* ---------- Registration ---------- */
.reg{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:32px 56px;align-items:start;max-width:1200px;margin:0 auto;padding:40px 24px 72px}
.reg__intro{display:flex;flex-direction:column;gap:20px}
.reg__intro h1{font-weight:800;font-size:clamp(38px,5.2vw,60px);line-height:1.05;text-wrap:balance}
.reg__pic{border-radius:32px;overflow:hidden;max-width:460px}
.form{background:#fff;border-radius:40px;padding:36px 32px;display:flex;flex-direction:column;gap:14px}
.form label,.form legend{font-weight:700;font-size:15px}
.form legend{padding:0 0 6px}
.form input[type=text],.form input[type=tel],.form input[type=email],.form select{min-height:52px;border:2px solid var(--pink);border-radius:20px;padding:0 18px;background:#fff;width:100%}
.form textarea{border:2px solid var(--pink);border-radius:20px;padding:14px 18px;background:#fff;resize:vertical;width:100%}
.form fieldset{border:0;padding:0;margin:0}
.radios{display:flex;flex-wrap:wrap;gap:10px}
.radios label{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 20px;border:2px solid var(--pink);border-radius:999px;font-weight:600;cursor:pointer}
.form .btn{min-height:56px;font-size:17px;margin-top:6px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.notice{border-radius:24px;padding:16px 20px;font-weight:700}
.notice--err{background:#FFE3E3;color:#8A1F1F}
.thanks{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:32px 8px}
.thanks strong{font-family:var(--head);font-weight:800;font-size:30px;color:var(--plum)}

/* ---------- 404 ---------- */
.lost{max-width:760px;margin:0 auto;padding:40px 24px 56px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px}
.lost__num{font-family:var(--head);font-weight:800;font-size:clamp(64px,12vw,110px);line-height:1;color:var(--cta)}
.lost .searchform{width:100%;max-width:480px;margin-left:0}
.lost__links{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:6px}

/* ---------- Footer ---------- */
.site-footer{background:var(--lilac-d);color:var(--plum)}
.site-footer .cols{max-width:1200px;margin:0 auto;padding:24px 24px 16px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:28px}
.site-footer .brandline{font-family:var(--head);font-weight:800;font-size:24px}
.site-footer .col{display:flex;flex-direction:column;font-size:15px}
.site-footer .col a{padding:6px 0;min-height:36px}
.site-footer .copy{max-width:1200px;margin:0 auto;padding:12px 24px 32px;font-size:14px}

/* Bài cũ: bỏ màu/cỡ chữ/nền gắn cứng trong nội dung để hợp tông pastel */
.entry [style*="color"],.entry [style*="background"],.entry font{color:inherit!important;background:none!important}
.entry [style*="font-family"]{font-family:inherit!important}
.entry [style*="font-size"]{font-size:inherit!important}
.entry [style*="line-height"]{line-height:inherit!important}
.entry [style*="width"]:not(img):not(iframe):not(table){max-width:100%}

@media (max-width:640px){.searchform{flex:1 1 100%;margin-left:0}}

/* ---------- Danh sách có cột Mục lục ---------- */
.listing{max-width:1200px;margin:0 auto;padding:32px 24px 56px;display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:32px;align-items:start}
.listing__main{min-width:0}
.listing .grid{display:flex;flex-direction:column;gap:18px;padding:0;max-width:none}
.listing .card{flex-direction:row;border-radius:28px;box-shadow:0 6px 16px rgba(242,155,179,.14)}
.listing .thumb{flex:0 0 200px;aspect-ratio:auto;min-height:150px}
.listing .card__body{padding:18px 22px 16px;gap:6px}
.listing .card__title{font-size:22px}
.listing .card__text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:15.5px;flex-grow:0}
.listing .pagination{padding:28px 0 0;max-width:none;justify-content:flex-start}
.toc{position:sticky;top:24px}
.toc__toggle{display:none}
.toc__body{background:#fff;border-radius:28px;padding:22px 18px 18px;box-shadow:0 8px 20px rgba(242,155,179,.16);max-height:calc(100vh - 48px);overflow:auto}
.toc h2{font-weight:800;font-size:24px;line-height:1.2;padding:0 6px}
.toc__sub{padding:0 6px 12px;font-size:14px;color:var(--muted)}
.toc__search input{width:100%;height:42px;padding:0 18px;border:1.5px solid var(--lilac-d);border-radius:999px;background:#fff;font-size:15px;-webkit-appearance:none;appearance:none}
.toc__search input:focus{outline:0;border-color:var(--plum-m);box-shadow:0 0 0 3px rgba(107,74,158,.18)}
.toc__none{margin:12px 6px 0;color:var(--muted);font-size:15px}
.toc [hidden]{display:none!important}
.toc__year{margin-top:8px}
.toc__year summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 14px;border-radius:14px;background:#F7F0FC;color:var(--plum);font-weight:800;font-size:16px;cursor:pointer;list-style:none}
.toc__year summary::-webkit-details-marker{display:none}
.toc__year summary::before{content:"▸";margin-right:8px;font-size:13px;color:var(--plum-m)}
.toc__year[open] summary::before{content:"▾"}
.toc__year[open] summary{background:var(--pink-bg)}
.toc__year summary span{flex:1}
.toc__year summary small{font-size:13px;font-weight:700;color:var(--plum-m)}
.toc__year ul{list-style:none;margin:6px 0 0;padding:0 2px 0 4px;max-height:320px;overflow:auto}
.toc__year li a{display:flex;gap:10px;align-items:flex-start;padding:9px 6px;min-height:44px;border-bottom:1px solid #F3D6DD;font-size:15px;line-height:1.35}
.toc__year li a:hover{background:var(--bg);opacity:1}
.toc__d{flex:0 0 42px;color:#7A6A96;font-size:13px;padding-top:2px}
.toc__t{font-weight:700;color:var(--plum)}
@media (max-width:860px){
  .listing{grid-template-columns:minmax(0,1fr);gap:18px;padding-top:20px}
  .toc{position:static}
  .listing .toc{order:-1}
  .toc__body{max-height:none;overflow:visible}
  .toc--js .toc__toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:0 20px;border:0;border-radius:999px;background:var(--plum-m);color:#fff;font-weight:800;font-size:16px}
  .toc--js:not(.is-open) .toc__body{display:none}
  .toc--js.is-open .toc__body{margin-top:10px}
  .listing .card{flex-direction:column}
  .listing .thumb{flex:0 0 auto;aspect-ratio:2/1;min-height:0}
}
.read-wrap .toc{align-self:start}
.toc__year ul{position:relative}
.toc__year li a.is-current{background:var(--pink-bg);border-radius:12px}
.toc__year li a.is-current .toc__t{color:var(--berry)}
@media (max-width:980px){.read-wrap .toc{margin-top:8px;padding-bottom:32px}}

/* mobile-soft-3d */
@media (max-width:640px){
  .tools{gap:14px}
  .chips{display:grid;grid-template-columns:1fr 1fr;gap:10px;width:100%}
  .chip{justify-content:flex-start;min-height:46px;padding:6px 14px;border-radius:18px;background:#fff;border:1.5px solid #EFE3F8;font-size:14px;line-height:1.2;box-shadow:0 10px 16px -10px rgba(107,74,158,.35)}
  .chip svg{width:18px;height:18px}
  .chip--all{grid-column:1/-1;justify-content:center;background:var(--cta);border-color:var(--cta);box-shadow:0 14px 20px -10px rgba(199,62,110,.5)}
  .chip.is-on:not(.chip--all){border-color:var(--cta);background:#FFF5F8}
  .searchform{height:50px;border:0;padding:0 8px 0 20px;box-shadow:0 12px 18px -10px rgba(107,74,158,.4),inset 0 1px 2px rgba(107,74,158,.1)}
  .searchform input[type=search]{font-size:16px}
  .toc--js .toc__toggle{min-height:54px;background:linear-gradient(180deg,#7C5CB2,#5F4496);box-shadow:0 16px 22px -10px rgba(95,68,150,.6),0 4px 8px -2px rgba(95,68,150,.25),inset 0 2px 3px rgba(255,255,255,.35),inset 0 -6px 10px rgba(40,20,80,.18)}
  .toc--js.is-open .toc__body{box-shadow:0 18px 30px -14px rgba(107,74,158,.35)}
}

/* mobile-soft-3d v2 */
@media (max-width:640px){
  .chips{gap:12px}
  .chip{min-height:58px;padding:8px 12px;gap:10px;font-size:14px;line-height:1.2;text-wrap:balance}
  .chip svg{width:30px;height:30px;padding:6px;box-sizing:border-box;border-radius:50%;background:#fff;box-shadow:0 3px 6px rgba(60,40,80,.12)}
  .chips .chip--all{min-height:52px;gap:10px}
  .chips .chip--all svg{background:rgba(255,255,255,.22);box-shadow:none}
  .chips .chip--tam-thien-hanh-thien{background:#DDF1E6;border-color:#CBE8D8;box-shadow:0 14px 18px -10px rgba(70,170,130,.6),inset 0 2px 2px rgba(255,255,255,.85)}
  .chips .chip--nang-luong-luan-xa{background:#FBF0CC;border-color:#F3E3AE;box-shadow:0 14px 18px -10px rgba(210,165,50,.55),inset 0 2px 2px rgba(255,255,255,.85)}
  .chips .chip--mo-rong-tam-tri{background:#E2EAFB;border-color:#CFDBF6;box-shadow:0 14px 18px -10px rgba(90,120,200,.55),inset 0 2px 2px rgba(255,255,255,.85)}
  .chips .chip--chia-se-cua-thien-sinh{background:#FBE0D5;border-color:#F4CDBD;box-shadow:0 14px 18px -10px rgba(225,120,90,.5),inset 0 2px 2px rgba(255,255,255,.85)}
  .chips .chip.is-on:not(.chip--all){border:2px solid var(--cta)}
}

/* mobile-hide-meta */
@media (max-width:640px){.single-post .hero .meta{display:none}}

/* share-3d */
.share a.btn,.share button.btn{min-height:50px;padding:0 26px;font-size:15.5px;font-weight:800;color:var(--plum);cursor:pointer;transition:transform .25s ease,box-shadow .25s ease}
.share a.btn{background:#E2EAFB;border:2px solid #CFDBF6;box-shadow:0 14px 18px -10px rgba(90,120,200,.6),0 3px 6px -2px rgba(90,120,200,.2),inset 0 2px 2px rgba(255,255,255,.85)}
.share button.btn{background:#FBE0D5;border:2px solid #F4CDBD;box-shadow:0 14px 18px -10px rgba(225,120,90,.55),0 3px 6px -2px rgba(225,120,90,.2),inset 0 2px 2px rgba(255,255,255,.85)}
@media (hover:hover){.share a.btn:hover,.share button.btn:hover{transform:translateY(-3px)}}
.share a.btn:active,.share button.btn:active{transform:translateY(1px)}
@media (max-width:640px){
  .share{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
  .share b{grid-column:1/-1;margin-right:0}
  .share a.btn,.share button.btn{width:100%;padding:0 12px;min-height:54px}
}

/* hero-airy */
@media (max-width:640px){
  .hero__in{gap:24px;padding-top:36px}
  .hero .crumbs{margin-bottom:4px;line-height:1.5}
  .hero .pill{align-self:flex-start;padding:10px 22px;min-height:44px;background:linear-gradient(180deg,#fff,#FCE9F0);border:1.5px solid #F6CBDA;box-shadow:0 14px 18px -10px rgba(194,62,110,.5),0 3px 6px -2px rgba(194,62,110,.18),inset 0 2px 2px rgba(255,255,255,.95)}
  .hero h1{margin-top:4px;line-height:1.15}
}

/* hero-pill-gap */
@media (max-width:640px){.hero .pill+h1{margin-top:20px}}
