/* Import Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
	--bg:#fafafa; --accent:#111; --muted:#666; --card:#fff;
	--container:1100px;
	--head-weight:700;
	--subhead-weight:600;
	--lead-color:#2f2f2f;
	--body-color:#333;
}
*{box-sizing:border-box}
body{font-family:Inter,Segoe UI,Arial,sans-serif;margin:0;background:var(--bg);color:var(--accent);-webkit-font-smoothing:antialiased}
.container{max-width:var(--container);margin:0 auto;padding:24px}
.site-header {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0;
    width: 100%;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}
.nav-list {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-item {
    position: relative;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 0;
    color: var(--muted);
}
.nav-link:hover {
    color: var(--accent);
    background: #eeeeee;
}
/* Megamenu */
.megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 280px;
    width: auto;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    z-index: 1;
}
.nav-item:hover .megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 24px;
    margin: 0 auto;
    width: max-content;
    max-width: calc(var(--container) - 48px);
}
.menu-section h4 {
    color: #828282;
    margin: 0 0 12px;
    cursor: pointer;
    background: 0 0;
    border: 0;
    border-radius: 9999px;
    outline: none;
    font-size: 14px;
    line-height: 1;
}
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}
.menu-item .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-item-title {
    font-weight: 500;
    font-size: 12px;
}
.menu-item-desc {
    font-size: 11px;
    color: var(--muted);
}
/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}
/* Responsive styles for header/megamenu */
@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }
    .menu-item-title { font-size: 12px; }
    .menu-item-desc { font-size: 11px; color: var(--muted); }
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        flex-direction: column;
        gap: 12px;
    }
    .nav-list.active {display: flex;z-index: 1;}
    .nav-item { width: 100%; }
    .nav-link {
        padding: 12px;
        width: 100%;
        border-radius: 8px;
    }
    .megamenu {
        display: none;
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0 12px;
        background: #fff;
        border-radius: 0;
        min-width: 0;
        width: 100%;
    }
    .nav-item:hover .megamenu { transform: none; }
    .nav-item.open > .megamenu { display: block; }
    .nav-list { flex-direction: column; gap: 2; }
    .nav-item { width: 100%; }
    .nav-link {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid #eee;
        background: none;
    }
    .menu-section h4 { margin: 0 0 5px; font-size: 11px; }
    .megamenu-grid {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 12px;
        gap: 10px;
    }
}

/* --- FOOTER --- */
.site-footer {
    background: #fff;
    border-top: 1px solid #eee;
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}
.footer-section h4 {
    font-size: 14px;
    margin: 0 0 16px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin: 8px 0;
}
.footer-links a {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent);
}
.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    justify-content: space-between;
}
.social-links {
    display: flex;
    gap: 16px;
}
.social-links a {
    color: var(--muted);
    transition: color 0.2s;
}
.social-links a:hover {
    color: var(--accent);
}
@media (max-width: 992px) {
    .site-footer .container { flex-direction: column; }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .site-footer .container {flex-direction: column !important;}
    .footer-bottom {flex-direction: column;align-items: center;}
}

.hero{padding:48px 0;text-align:center}
.search-form{display:flex;justify-content:center;gap:8px;margin-top:12px}
.search-form input{width:60%;padding:10px;border:1px solid #ddd;border-radius:6px;margin-top: 0;}
.search-form button{padding:10px 16px;border:0;background:#111;color:#fff;border-radius:6px}
.hero-actions{margin-top:12px}
.btn{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap: 8px;
	padding:10px 14px;
	border-radius:10px;
	border:0;
	color:#fff;
	background:linear-gradient(180deg,#111 0%, #000 100%);
	box-shadow:0 8px 20px rgba(17,17,17,0.12);
	transition:transform .12s ease, box-shadow .12s ease, opacity .12s ease;
	cursor:pointer;
	font-weight:600;
	margin: 15px 0;
	font-size: 13.3333px;
}
.btn:hover{transform:translateY(-3px);box-shadow:0 18px 36px rgba(17,17,17,0.14);opacity:0.98;color: #ededed;}
.btn:active{ transform:translateY(-1px); box-shadow:0 8px 18px rgba(17,17,17,0.12); }
.btn:focus{ outline:3px solid rgba(17,112,245,0.12); outline-offset:3px; }

/* Ghost / secondary variant */
.btn.ghost{
	background:transparent;
	color:var(--accent);
	border:1px solid rgba(17,17,17,0.08);
	box-shadow:none;
	font-size: 13.3333px;
}
.btn.ghost:hover{ background: rgba(17,17,17,0.03); }

/* Small variant */
.small, .btn.small{ padding:6px 10px; border-radius:8px; font-size:13px; }

.two-col{display:flex;gap:20px;margin-top:20px}
.sidebar{width:250px;background:var(--card);padding:16px;border:1px solid #eee;border-radius:8px;height:max-content}
.plugin-grid{flex:1}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.card{
	transition: box-shadow .18s ease, transform .14s ease, border-color .12s ease;
	border-radius:12px;
	padding:14px;
	border:1px solid rgba(16,16,16,0.04);
	background:linear-gradient(180deg,#fff,#fbfbfb);
}
.card:hover{
	transform:translateY(-8px);
	box-shadow:0 20px 48px rgba(11,15,25,0.06);
	border-color:rgba(16,16,16,0.06);
}

/* Thumbnails */
.card img{
	width:100%;
	height:140px;
	object-fit:cover;
	border-radius:10px;
	transition: transform .18s ease, box-shadow .18s ease;
	box-shadow:0 6px 18px rgba(11,15,25,0.04);
}
.card img:hover{ transform:scale(1.03); }

/* Admin plugin list action buttons */
.admin-main .card button.delPlugin {
	background: linear-gradient(180deg,#ffeaea,#ffd6d6);
	color: #d00;
	border: 1px solid #ffd6d6;
	border-radius: 8px;
	font-weight: 600;
	padding: 7px 14px;
	margin-right: 8px;
	margin-bottom: 6px;
	transition: background .12s, color .12s, box-shadow .12s, transform .12s;
	box-shadow: 0 2px 8px rgba(255,51,51,0.04);
}
.admin-main .card button.delPlugin:hover {
	background: #ffd6d6;
	color: #fff;
	box-shadow: 0 8px 24px rgba(255,51,51,0.10);
	transform: translateY(-2px) scale(1.04);
}

.admin-main .card button.editPluginBtn {
	background: linear-gradient(180deg,#eaf6ff,#d6eaff);
	color: #0b63ff;
	border: 1px solid #d6eaff;
	border-radius: 8px;
	font-weight: 600;
	padding: 7px 14px;
	margin-right: 8px;
	margin-bottom: 6px;
	transition: background .12s, color .12s, box-shadow .12s, transform .12s;
	box-shadow: 0 2px 8px rgba(11,99,255,0.04);
}
.admin-main .card button.editPluginBtn:hover {
	background: #d6eaff;
	color: #fff;
	box-shadow: 0 8px 24px rgba(11,99,255,0.10);
	transform: translateY(-2px) scale(1.04);
}

.admin-main .card a {
	display: inline-block;
	background: linear-gradient(180deg,#f7f7f7,#efefef);
	color: #222;
	border: 1px solid #eee;
	border-radius: 8px;
	font-weight: 600;
	padding: 7px 14px;
	margin-bottom: 6px;
	margin-right: 8px;
	transition: background .12s, color .12s, box-shadow .12s, transform .12s;
	box-shadow: 0 2px 8px rgba(11,15,25,0.04);
	font-size: 13px;
}
.admin-main .card a:hover {
	background: #eaf6ff;
	color: #0b63ff;
	box-shadow: 0 8px 24px rgba(11,99,255,0.08);
	transform: translateY(-2px) scale(1.04);
	text-decoration: none;
}

/* Trash icon button style */
.delCatBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid rgba(255, 51, 51, 0.2);
	color: #ff3333;
	cursor: pointer;
	transition: background .12s ease, transform .12s ease;
}
.delCatBtn:hover {
	background: rgba(255, 51, 51, 0.1);
	transform: translateY(-2px);
}
.delCatBtn:active {
	transform: translateY(0);
}
.delCatBtn svg {
	pointer-events: none;
	transition: stroke .15s;
}
.delCatBtn:hover svg path {
	stroke: #ff3333;
}

/* Meta action buttons (like/heart/ok) */
.meta-actions button{
	background:transparent;
	border:1px solid rgba(16,16,16,0.06);
	padding:6px 8px;
	border-radius:10px;
	cursor:pointer;
	transition:background .12s ease, transform .08s ease, color .12s ease;
	color:var(--muted);
	font-weight:600;
}
.meta-actions button:hover{
	background:rgba(16,16,16,0.04);
	transform:translateY(-3px);
	color:var(--accent);
}

/* Tag pill visuals */
.tag{
	background:linear-gradient(180deg,#f7f7f7,#efefef);
	padding:6px 10px;
	border-radius:999px;
	font-size:13px;
	border:1px solid rgba(16,16,16,0.04);
	cursor:pointer;
	transition:transform .12s ease, box-shadow .12s ease, background .12s ease;
	margin: 5px;
}
.tag:hover{ transform:translateY(-4px); box-shadow:0 12px 30px rgba(11,15,25,0.04); }

/* Category link style */
.link-btn{
	background:transparent;
	border:0;
	color:var(--accent);
	cursor:pointer;
	padding:6px 8px;
	border-radius:8px;
	transition:background .12s ease, color .12s ease;
}
.link-btn:hover{ background:rgba(16,16,16,0.03); color:var(--accent); }

/* Filters inputs slightly rounded and softer */
.filters-row input, .filters-row select{
	min-width:140px;
	border-radius:10px;
	padding:9px 10px;
	box-shadow:inset 0 1px 0 rgba(255,255,255,0.6);
}

/* Form fields focus */
input:focus, textarea:focus, select:focus{
	outline: none;
	box-shadow:0 6px 20px rgba(17,17,17,0.06);
	border-color: rgba(17,112,245,0.14);
}

.filters-row{display:flex;gap:8px;align-items:center;padding:16px;border-bottom:1px solid #eee;margin-bottom: 20px;}
.filters-row input, .filters-row select{padding:8px;border:1px solid #ddd;border-radius:6px}

.plugin-detail{background:var(--card);padding:20px;border:1px solid #eee;border-radius:8px}
.plugin-meta{display:flex;gap:20px;align-items:center}
.meta-actions button{margin-right:8px}

.form-panel{background:var(--card);padding:20px;border:1px solid #eee;border-radius:8px;max-width:700px;margin:24px auto}
input, textarea, select{width:100%;padding:10px;border:1px solid #ddd;border-radius:6px;margin-top:8px}
textarea{min-height:120px}
.site-footer{padding:20px;background:#fff;border-top:1px solid #eee;margin-top:30px}
.site-footer .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    font-size: 13px;
}

.modal{position:fixed;inset:0;background:rgba(0,0,0,0.45);display:none;align-items:center;justify-content:center}
.modal[aria-hidden="false"]{display:flex}
.modal-panel {
	background:#fff;
	padding:18px;
	border-radius:8px;
	max-width:640px;
	width:100%;
	position:relative;
	z-index:1001;
	overflow-y:auto;
	max-height:90vh;
}
.modal-panel .close {
	position: absolute;
	right: 12px;
	top: 8px;
	border: none;
	background: transparent;
	font-size: 24px;
	color: #888;
	cursor: pointer;
	padding: 4px 10px;
	border-radius: 50%;
	transition: background .15s, color .15s, transform .12s;
	z-index: 1002;
}
.modal-panel .close:hover {
	background: #f2f2f2;
	color: #d00;
	transform: scale(1.15);
}
.modal-panel .close:focus {
	outline: 2px solid #0b63ff;
	background: #eaf6ff;
	color: #0b63ff;
}

/* Font improvements for headings, labels, paragraphs, buttons, links */
body, input, textarea, select, button {
	font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
	font-weight: var(--head-weight);
	letter-spacing: -0.01em;
}

label {
	font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--accent);
	margin-bottom: 4px;
	display: inline-block;
	margin-top: 10px;
}

p, .lead, .muted, .plugin-desc-text, .card p {
	font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
	font-weight: 400;
}

.btn, .link-btn, .meta-actions button, .admin-main .card button, .admin-main .card a {
	font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
	font-weight: 600;
	letter-spacing: 0.01em;
}

a, .meta-actions a {
	font-family: 'Inter', 'Segoe UI', 'Arial', sans-serif;
	font-weight: 500;
	letter-spacing: 0.01em;
}

.plugin-desc-text.card {
    transition: initial;
    border-radius: inherit;
    padding: inherit;
    border: none;
    background: none;
}
section.plugin-desc-text.card:hover {
    transform: inherit;
    box-shadow: none;
    border-color: inherit;
}

.admin-grid{display:flex;gap:20px}
.admin-side{width:260px;background:var(--card);padding:12px;border-radius:8px;border:1px solid #eee}
.admin-main{flex:1;background:var(--card);padding:12px;border-radius:8px;border:1px solid #eee}
@media (max-width:900px){
	.two-col{flex-direction:column}
	.sidebar{width:100%}
	.grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}
	.filters-row{flex-direction:column;align-items:stretch}
	.admin-grid{flex-direction:column}
    .plugin-meta {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
}
}

/* Links: remove underlines, smooth color transitions, accessible focus outline */
a {
	text-decoration: none;
	color: inherit;
	transition: color .12s ease, opacity .12s ease;
}
a:hover, a:active {
	color: #0b63ff; /* accent hover color */
	opacity: 0.95;
	text-decoration: none;
}
a:focus {
	outline: 3px solid rgba(11,99,255,0.12);
	outline-offset: 3px;
	text-decoration: none;
}

/* Ensure header nav links keep intended muted color */
.site-header nav a {text-decoration:none;color: #8e8e8e;cursor: pointer;background: 0 0;border: 0;border-radius: 9999px;outline: none;padding: 8px 12px;font-size: 14px;line-height: 1;}

/* Card title links: stronger weight, no underline and subtle hover color */
.card h4 a {
	color: var(--accent);
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
}
.card h4 a:hover { color: #0b63ff; }

/* Meta-action link style (for "View ÃƒÂ¢Ã¢â‚¬Â Ã¢â‚¬â„¢" etc.) */
.meta-actions a {
	text-decoration: none;
	color: var(--muted);
	font-weight: 600;
	font-size: 11px;
	display: block;
	text-align: end;
}
.meta-actions a:hover { color: var(--accent); }

/* Category lists: remove markers and default padding */
#categoryList, .category-list, #adminCats {
	list-style: none;
	padding: 0;
	margin: 0;
}
#categoryList li, .category-list li, #adminCats li {
	list-style: none;
	margin: 6px 0;
	padding: 0;
}

/* Link button visual polish (category buttons) */
.link-btn{
	display:inline-flex;
	align-items:center;
	gap:8px;
	padding:8px 10px;
	border-radius:8px;
	background:transparent;
	border:1px solid transparent;
	transition:background .12s ease, border-color .12s ease, transform .08s ease;
}
.link-btn:hover{
	background:rgba(11,15,25,0.03);
	border-color:rgba(11,15,25,0.04);
	transform:translateY(-2px);
}

/* Toggle View button (listing page) */
#toggleView{
	display:inline-flex;
	align-items:center;
	gap:10px;
	padding:8px 12px;
	border-radius:999px;
	background:linear-gradient(180deg,#ffffff,#f2f6ff);
	color:var(--accent);
	border:1px solid rgba(11,99,255,0.08);
	box-shadow:0 8px 20px rgba(11,15,25,0.04);
	cursor:pointer;
	transition:transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
	font-weight:600;
	min-height:40px;
}

/* subtle lift on hover, accessible focus */
#toggleView:hover{ transform:translateY(-3px); box-shadow:0 14px 34px rgba(11,15,25,0.06); }
#toggleView:focus{ outline:3px solid rgba(11,99,255,0.12); outline-offset:3px; }

/* small icon drawn using pseudo-element for visual hint */
#toggleView::before{
	content:'';
	width:18px;
	height:18px;
	display:inline-block;
	border-radius:4px;
	background:linear-gradient(180deg,#e6efff,#d6e6ff);
	box-shadow:inset 0 1px 0 rgba(255,255,255,0.6);
	flex:0 0 18px;
}

/* active / pressed state - when JS toggles .active on the button */
#toggleView.active{
	background:linear-gradient(180deg,#0b63ff,#084acc);
	color:#ffffff;
	border-color:transparent;
	box-shadow:0 18px 40px rgba(11,99,255,0.12);
}
#toggleView.active::before{
	background:rgba(255,255,255,0.95);
	box-shadow:none;
}

/* Typography: headings and paragraphs */
h1, .plugin-detail h1 {font-size:28px;line-height:1.12;margin: 0 0 20px;letter-spacing:-0.02em;font-weight:var(--head-weight);color:var(--accent);}
h2 { font-size:22px; line-height:1.18; margin:0 0 10px; font-weight:var(--head-weight); color:var(--accent); }
h3 { font-size:18px; line-height:1.2; margin:0 0 8px; font-weight:var(--subhead-weight); color:var(--accent); }
h4 { font-size:16px; line-height:1.25; margin:0 0 6px; font-weight:var(--subhead-weight); color:var(--accent); }
h5, h6 { font-size:14px; margin:0 0 6px; color:var(--accent); }

/* Paragraphs and readable measure */
p { margin:0 0 14px; color:var(--body-color); line-height:1.6; font-size:15px; max-width:70ch; }
.lead { font-size:18px; color:var(--lead-color); font-weight:600; margin-bottom:16px; }

/* Muted / secondary text */
.muted, .muted p { color:var(--muted); font-size:14px; }

/* Card titles spacing */
.card h4 { margin:10px 0 6px; }

/* Improve readability for main article content */
article, .policy, .form-panel, .plugin-detail { max-width:78ch; }

/* Responsive scaling for larger viewports */
@media (min-width:1100px){
	h1 { font-size:34px; }
	h2 { font-size:26px; }
	h3 { font-size:20px; }
	p { font-size:16px; line-height:1.65; }
}
.muted.category-name {
    font-size: 11px;
    font-weight: normal;
    color: #a1a1a1;
}
.muted.category-name span {
    font-size: 11px;
}
/* Detail sidebar and related items styles */
#detailSidebar { 
	width: 320px;
	flex: 0 0 320px;
}
.related-list { list-style:none;padding:0;margin:0; }
.related-list li { display:flex; gap:10px; align-items:center; margin:8px 0; }
.related-list img { width:64px; height:44px; object-fit:cover; border-radius:6px; border:1px solid #eee; }
.related-list a { color:var(--accent); font-weight:600; text-decoration:none; }
.ad-box { background: linear-gradient(180deg,#fff,#fafafa); border:1px solid #eee; border-radius:8px; }

/* Tag cloud in sidebar smaller pills */
#detailTags .tag { padding:6px 8px; font-size:12px; margin:4px; }

/* Ensure sidebar hides under mobile breakpoint (reuse .sidebar hide behavior) */
@media (max-width:900px){
	#detailSidebar { display:none; }
	.two-col { flex-direction:column; }
}

/* Responsive scaling for larger viewports */
@media (min-width:1100px){
	h1 { font-size:34px; }
	h2 { font-size:26px; }
	h3 { font-size:20px; }
	p { font-size:16px; line-height:1.65; }
}
.muted.category-name {
    font-size: 11px;
    font-weight: normal;
    color: #a1a1a1;
}
.muted.category-name span {
    font-size: 11px;
}
/* Trash icon button style */
.delCatBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid rgba(255, 51, 51, 0.2);
	color: #ff3333;
	cursor: pointer;
	transition: background .12s ease, transform .12s ease;
}
.delCatBtn:hover {
	background: rgba(255, 51, 51, 0.1);
	transform: translateY(-2px);
}
.delCatBtn:active {
	transform: translateY(0);
}
.delCatBtn svg {
	pointer-events: none;
	transition: stroke .15s;
}
.delCatBtn:hover svg path {
	stroke: #ff3333;
}

/* Mobile only utility */
.mobile-only { display: none !important; }
@media (max-width:900px){
	.mobile-only { display: inline-flex !important; }
	.sidebar { display: none; }
}

/* Filter sidebar modal for mobile */
.filter-sidebar-modal {
	z-index: 1200;
	background: rgba(0,0,0,0.32);
	transition: background .18s;
}
.filter-sidebar-modal[aria-hidden="true"] {
	opacity: 0;
	pointer-events: none;
}

/* Filter sidebar modal overlay for mobile */
.filter-sidebar-modal {
	z-index: 1200;
	background: rgba(0,0,0,0.32);
	transition: background .18s;
}
.filter-sidebar-modal[aria-hidden="true"] {
	opacity: 0;
	pointer-events: none;
}

.sidebar-panel {
	max-width: 340px;
	width: 90vw;
	padding: 24px 18px 18px 18px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12);
	position: relative;
	animation: slideInSidebar .22s cubic-bezier(.4,.8,.4,1);
}
@keyframes slideInSidebar {
	from { transform: translateX(-60px) scale(.98); opacity: 0; }
	to { transform: translateX(0) scale(1); opacity: 1; }
}

.hero-banner {
	position: relative;
	overflow: hidden;
	margin-bottom: 32px;
}
.hero-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	/* background: rgba(255,255,255,0.18); */
	z-index: 0;
}
.hero-banner > div {
	position: relative;
	z-index: 1;
}
@media (max-width:700px){
	.hero-banner {
		min-height: 220px;
		padding: 0;
	}
	.hero-banner > div {
		padding: 24px 8px;
	}
	.hero-banner h1 {
		font-size: 1.4rem !important;
	}
}
h3 { font-size:18px; line-height:1.2; margin:0 0 8px; font-weight:var(--subhead-weight); color:var(--accent); }
h4 { font-size:16px; line-height:1.25; margin:0 0 6px; font-weight:var(--subhead-weight); color:var(--accent); }
h5, h6 { font-size:14px; margin:0 0 6px; color:var(--accent); }

/* Paragraphs and readable measure */
p { margin:0 0 14px; color:var(--body-color); line-height:1.6; font-size:15px; max-width:70ch; }
.lead { font-size:18px; color:var(--lead-color); font-weight:600; margin-bottom:16px; }

/* Muted / secondary text */
.muted, .muted p { color:var(--muted); font-size:14px; }

/* Card titles spacing */
.card h4 { margin:10px 0 6px; }

/* Improve readability for main article content */
article, .policy, .form-panel, .plugin-detail { max-width:78ch; }

/* Responsive scaling for larger viewports */
@media (min-width:1100px){
	h1 { font-size:34px; }
	h2 { font-size:26px; }
	h3 { font-size:20px; }
	p { font-size:16px; line-height:1.65; }
}
.muted.category-name {
    font-size: 11px;
    font-weight: normal;
    color: #a1a1a1;
}
.muted.category-name span {
    font-size: 11px;
}
/* Trash icon button style */
.delCatBtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: transparent;
	border: 1px solid rgba(255, 51, 51, 0.2);
	color: #ff3333;
	cursor: pointer;
	transition: background .12s ease, transform .12s ease;
}
.delCatBtn:hover {
	background: rgba(255, 51, 51, 0.1);
	transform: translateY(-2px);
}
.delCatBtn:active {
	transform: translateY(0);
}
.delCatBtn svg {
	pointer-events: none;
	transition: stroke .15s;
}
.delCatBtn:hover svg path {
	stroke: #ff3333;
}

/* Mobile only utility */
.mobile-only { display: none !important; }
@media (max-width:900px){
	.mobile-only { display: inline-flex !important; }
	.sidebar { display: none; }
}

/* Filter sidebar modal for mobile */
.filter-sidebar-modal {
	z-index: 1200;
	background: rgba(0,0,0,0.32);
	transition: background .18s;
}
.filter-sidebar-modal[aria-hidden="true"] {
	opacity: 0;
	pointer-events: none;
}

/* Filter sidebar modal overlay for mobile */
.filter-sidebar-modal {
	z-index: 1200;
	background: rgba(0,0,0,0.32);
	transition: background .18s;
}
.filter-sidebar-modal[aria-hidden="true"] {
	opacity: 0;
	pointer-events: none;
}

.sidebar-panel {
	max-width: 340px;
	width: 90vw;
	padding: 24px 18px 18px 18px;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 32px rgba(0,0,0,0.12);
	position: relative;
	animation: slideInSidebar .22s cubic-bezier(.4,.8,.4,1);
}
@keyframes slideInSidebar {
	from { transform: translateX(-60px) scale(.98); opacity: 0; }
	to { transform: translateX(0) scale(1); opacity: 1; }
}


