/* PALTAL 28/10 (owner) — "Cẩm nang & công cụ … cho nàng" ở trang SP (snippets/paltal-pd-guides.liquid).
   Tông sáng sang; mép trái/phải = bề ngang ảnh SP + cột mua (khối nằm trong tab mô tả, container 1360).
   Thẻ bài: ảnh 16:10 + nhãn + tiêu đề 2 dòng + tóm tắt 1 dòng + "Đọc →" — máy tính 3 cột, điện thoại cuộn ngang có snap.
   Công cụ: hàng thẻ đều (icon nét mảnh + tên + 1 dòng lợi ích). Không nền đen, link không gạch chân. */
.pl-gd{min-width:0;flex:1 1 100%;margin:24px 0 8px;padding:20px 22px 22px;border:1px solid #F1E4E1;border-radius:20px;background:linear-gradient(180deg,#FFFBF8 0,#FFFFFF 60%);text-align:left;box-sizing:border-box}
.pl-gd a,.pl-gd a:hover,.pl-gd a:focus{text-decoration:none!important}
.pl-gd ul{margin:0!important;padding:0!important;list-style:none!important}
.pl-gd li{margin:0!important;padding:0!important;list-style:none!important}
.pl-gd li:before,.pl-gd li:after{content:none!important}
.pl-gd__hd{display:flex;align-items:flex-end;justify-content:space-between;gap:10px 16px;flex-wrap:wrap;margin:0 0 16px}
.pl-gd__eb{display:flex;align-items:center;gap:10px;margin:0 0 6px;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#B8801F}
.pl-gd__eb:before{content:"";width:24px;height:2px;border-radius:2px;background:linear-gradient(90deg,#E3B04B,#F4C94F)}
.pl-gd .pl-gd__h{margin:0!important;font-size:22px!important;line-height:1.3!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important;color:#1C1516!important;text-align:left!important}
.pl-gd .pl-gd__h b{font-weight:700;color:#D9121C}
.pl-gd__all{flex:none;display:inline-flex;align-items:center;min-height:38px;padding:0 16px;border-radius:999px;border:1px solid #F1D9D4;background:#fff;color:#D9121C!important;font-size:13.5px;font-weight:700;transition:background .2s,border-color .2s}
.pl-gd__all:hover{background:#FFF1EE;border-color:#EBC3BC}
/* thẻ bài */
.pl-gd__arts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.pl-gd__a>a{min-width:0;display:flex;flex-direction:column;height:100%;border-radius:16px;overflow:hidden;background:#fff;border:1px solid #F1E4E1;color:#3A2A2C!important;transition:box-shadow .25s,border-color .25s,transform .25s}
.pl-gd__a>a:hover{border-color:#EBC9C3;box-shadow:0 14px 30px -18px rgba(120,40,40,.35);transform:translateY(-2px)}
.pl-gd__im{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#F7EEEB}
/* tab mô tả ép img height:auto → ảnh cao theo tỉ lệ gốc; định vị tuyệt đối trong khung 16:10 */
.pl-gd .pl-gd__im img{position:absolute!important;inset:0;display:block;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.pl-gd__a>a:hover .pl-gd__im img{transform:scale(1.05)}
.pl-gd__tx{display:flex;flex-direction:column;gap:6px;flex:1;padding:12px 14px 14px}
.pl-gd__tx em{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#FFF1EE;color:#D9121C;font-style:normal;font-size:11px;font-weight:700;letter-spacing:.04em}
.pl-gd__tx b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em;font-size:15px;line-height:1.35;font-weight:700;color:#1C1516}
.pl-gd__tx small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px;line-height:1.45;color:#7A6668}
.pl-gd__tx i{margin-top:auto;padding-top:4px;font-style:normal;font-size:13px;font-weight:700;color:#D9121C}
/* công cụ */
.pl-gd .pl-gd__tools{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:16px!important}
.pl-gd__tools a{display:flex;align-items:center;gap:12px;height:100%;min-height:64px;box-sizing:border-box;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #F1E4E1;color:#3A2A2C!important;transition:border-color .2s,box-shadow .2s,background .2s}
.pl-gd__tools a:hover{border-color:#EBC9C3;background:#FFFBF8;box-shadow:0 8px 20px -14px rgba(120,40,40,.35)}
.pl-gd__ic{flex:none;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(135deg,#FFF1EE,#FFF8EC);color:#D9121C}
.pl-gd__ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.pl-gd__tt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.pl-gd__tt b{font-size:14.5px;font-weight:700;color:#1C1516}
.pl-gd__tt small{font-size:12.5px;color:#7A6668}
.pl-gd__tools i{flex:none;font-style:normal;font-weight:700;color:#D9121C;transition:transform .2s}
.pl-gd__tools a:hover i{transform:translateX(3px)}
.pl-gd a:focus-visible{outline:2px solid #F2A7A1;outline-offset:2px}
@media (max-width:991px){.pl-gd__arts{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.pl-gd .pl-gd__tools{gap:12px}}
@media (max-width:767px){
  .pl-gd{padding:16px 14px 16px;border-radius:18px}
  .pl-gd .pl-gd__h{font-size:19px!important}
  .pl-gd__hd{margin-bottom:12px}
  .pl-gd__all{min-height:34px;padding:0 12px;font-size:12.5px}
  /* cuộn ngang có snap — thẻ ~78% bề ngang, thấy mép thẻ kế */
  .pl-gd .pl-gd__arts{display:flex!important;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -14px!important;padding:0 14px 4px!important;scroll-padding:0 14px}
  .pl-gd__arts::-webkit-scrollbar{display:none}
  /* bề rộng thẻ theo màn hình (không theo % — cha là flex co theo nội dung, % làm thẻ phình 746px) */
  .pl-gd .pl-gd__a{flex:0 0 min(calc(100vw - 96px),320px);min-width:0;scroll-snap-align:start} /* min-width:0: dòng tóm tắt nowrap làm min-content = cả câu */
  .pl-gd .pl-gd__tools{grid-template-columns:1fr;gap:10px;margin-top:12px!important}
  .pl-gd__tools a{min-height:58px}
}
@media (prefers-reduced-motion:reduce){.pl-gd__im img,.pl-gd__a>a,.pl-gd__tools i{transition:none}}
