/* /plugins page. Uses the theme's global vars (--color-primary etc.). Cards follow the plugin list of the dashboard. */
.pp-page .pp-hero { padding: 140px 0 40px; background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.07) 0%, rgba(var(--color-primary-rgb), 0) 100%); }
.pp-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8a919c; margin-bottom: 26px; }
.pp-breadcrumb a { color: #8a919c; text-decoration: none; }
.pp-breadcrumb a:hover { color: var(--color-primary); }
.pp-breadcrumb i { font-size: 10px; }
.pp-hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.pp-eyebrow { display: inline-block; color: var(--color-primary); font-weight: 700; font-size: 13px; letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 12px; }
.pp-hero h1 { font-size: 44px; font-weight: 800; line-height: 1.2; margin: 0 0 18px; }
.pp-intro { font-size: 18px; line-height: 1.65; color: #4b5563; margin: 0 auto 22px; }
.pp-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: #374151; font-weight: 600; font-size: 15px; }
.pp-trust i { color: var(--color-primary); margin-right: 8px; }
.pp-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.pp-section { padding: 70px 0; scroll-margin-top: 90px; }
.pp-section.pp-list { padding-top: 30px; }
.pp-section.pp-alt { background: #f7f9fc; }
.pp-head { max-width: 780px; margin: 0 auto 36px; text-align: center; }
.pp-head h2 { font-size: 32px; font-weight: 800; line-height: 1.25; margin: 0 0 12px; }

/* search, filter chips, sorting */
.pp-tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.pp-search { position: relative; max-width: 760px; width: 100%; margin: 0 auto; }
.pp-search i { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #8a94a6; pointer-events: none; }
.pp-search input { width: 100%; height: 54px; border: 1px solid #e3e8ef; border-radius: 14px; padding: 0 18px 0 46px; font-size: 16px; background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.pp-search input:focus { outline: 0; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), .15); }
.pp-toolbar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chip { border: 1px solid #e3e8ef; background: #fff; border-radius: 999px; padding: 7px 15px; font-size: 14px; color: #4b5563; cursor: pointer; font-family: inherit; }
.pp-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pp-chip.current { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }
.pp-chip .n { opacity: .75; margin-left: 6px; }
.pp-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6b7280; margin: 0; }
.pp-sort select { height: 38px; border: 1px solid #e3e8ef; border-radius: 10px; background: #fff; padding: 0 10px; font-size: 14px; color: #1f2937; }
.pp-count { font-size: 13px; color: #8a919c; margin: 0; }
.pp-empty { text-align: center; color: #6b7280; padding: 40px 10px; font-size: 16px; }

/* tiles, same look as the plugin list in the dashboard */
.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-items: start; margin-bottom: 10px; }
.pp-tile { position: relative; text-align: left; background: #fff; border: 1px solid #edf0f3; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, transform .2s, border-color .2s; scroll-margin-top: 110px; }
.pp-tile[hidden] { display: none; }
.pp-tile:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .09); transform: translateY(-2px); border-color: #d9e2ef; }
.pp-tile:target, .pp-tile:has(details[open]) { border-color: var(--color-primary); }
.pp-top { display: flex; align-items: center; gap: 12px; }
.pp-logo { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 12px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.pp-name { font-weight: 700; font-size: 16px; line-height: 1.25; margin: 0; }
.pp-by { font-size: 12px; color: #8a8f98; }
.pp-desc { color: #4b5563; font-size: 14px; line-height: 1.5; margin: 0; }
.pp-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pp-more summary::-webkit-details-marker { display: none; }
.pp-pill { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 12px; background: #f1f2f4; color: #6b7280; }
.pp-cta { font-size: 13px; font-weight: 600; color: var(--color-primary); }
.pp-cta i { font-size: 11px; margin-left: 4px; transition: transform .2s; }
.pp-more[open] .pp-cta i { transform: rotate(180deg); }
.pp-more summary:focus-visible { outline: 3px solid rgba(var(--color-primary-rgb), .35); outline-offset: 3px; border-radius: 8px; }
.pp-more-body { margin-top: 12px; padding-top: 12px; border-top: 1px solid #edf0f3; }
.pp-more-body p { font-size: 14px; line-height: 1.65; color: #4b5563; margin: 0 0 10px; }
.pp-points { list-style: none; padding: 0; margin: 0 0 12px; }
.pp-points li { display: flex; gap: 10px; font-size: 13.5px; color: #374151; margin-bottom: 6px; line-height: 1.5; }
.pp-points i { color: #16a34a; margin-top: 4px; font-size: 11px; flex: none; }
.pp-needs { font-size: 12.5px; color: #6b7280; background: #f3f6fa; border-radius: 8px; padding: 6px 10px; display: inline-block; }
.pp-needs i { margin-right: 6px; }

/* topics (text for readers and search engines) */
.pp-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.pp-topic { background: #fff; border: 1px solid #e8ecf1; border-radius: 14px; padding: 22px; scroll-margin-top: 100px; }
.pp-topic h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.pp-topic h3 i { color: var(--color-primary); margin-right: 10px; }
.pp-topic p { font-size: 14.5px; color: #4b5563; line-height: 1.6; margin: 0 0 10px; }
.pp-topic-links a { font-weight: 600; font-size: 14px; }

.pp-steps { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pp-steps li { text-align: center; background: #fff; border: 1px solid #e8ecf1; border-radius: 16px; padding: 26px 22px; }
.pp-step-n { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; background: var(--color-primary); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; font-size: 18px; }
.pp-steps h3 { font-size: 19px; margin: 0 0 8px; } .pp-steps p { color: #4b5563; margin: 0; font-size: 15px; }

.pp-narrow { max-width: 860px; }
.pp-faq details { background: #fff; border: 1px solid #e8ecf1; border-radius: 12px; margin-bottom: 12px; padding: 0 20px; }
.pp-faq summary { cursor: pointer; list-style: none; padding: 16px 0; }
.pp-faq summary::-webkit-details-marker { display: none; }
.pp-faq summary h3 { display: inline; font-size: 17px; font-weight: 700; margin: 0; }
.pp-faq summary::after { content: '+'; float: right; font-size: 22px; line-height: 1; color: var(--color-primary); }
.pp-faq details[open] summary::after { content: '–'; }
.pp-faq p { margin: 0 0 18px; color: #4b5563; line-height: 1.7; }

.pp-cta-band { padding: 70px 0; text-align: center; background: linear-gradient(135deg, rgba(var(--color-primary-rgb), .12), rgba(var(--color-primary-rgb), .03)); }
.pp-cta-band h2 { font-size: 32px; font-weight: 800; margin: 0 0 10px; } .pp-cta-band p { font-size: 17px; color: #4b5563; margin: 0 auto 24px; max-width: 640px; }
.pp-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pp-cta-band .btn-outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }

@media (max-width: 991px) { .pp-hero h1 { font-size: 34px; } .pp-steps { grid-template-columns: 1fr; } .pp-head h2 { font-size: 26px; } }
@media (max-width: 575px) { .pp-page .pp-hero { padding: 120px 0 30px; } .pp-hero h1 { font-size: 28px; } .pp-grid { grid-template-columns: 1fr; } .pp-section { padding: 48px 0; } .pp-sort { width: 100%; justify-content: space-between; } .pp-topics { grid-template-columns: 1fr; } }
