/* Selected category navigation; server-rendered links, no carousel dependency. */
.py-featured-categories{display:none;margin:32px auto 42px;padding:0;width:100%;color:var(--py-c-text)}
.py-featured-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.py-featured-heading h2{margin:0;font-size:22px;line-height:1.7;font-weight:800;color:var(--py-c-heading)}
.py-featured-heading p{margin:4px 0 0;font-size:13px;color:var(--py-c-muted);line-height:1.9}
.py-featured-categories .py-featured-all{display:inline-flex;align-items:center;gap:10px;flex:none;min-height:44px;color:var(--py-c-link);font-size:13px;font-weight:650;text-decoration:none}
.py-featured-grid{display:grid;gap:14px;list-style:none!important;padding:0!important;margin:0!important;grid-template-columns:repeat(var(--fc-cols-desktop),minmax(0,1fr))}
.py-featured-grid>li{display:none;min-width:0;margin:0;padding:0}
.py-featured-card{--fc-accent:#2563aa;--fc-tint:#eaf3ff;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:12px;padding:19px 8px 16px;height:100%;min-height:144px;border:1px solid var(--py-c-border);border-radius:18px;background:var(--py-c-surface);text-decoration:none!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.py-featured-card[data-tone=teal]{--fc-accent:#087a73;--fc-tint:#e5f6f1}
.py-featured-card[data-tone=violet]{--fc-accent:#7653bd;--fc-tint:#f0eafd}
.py-featured-card[data-tone=amber]{--fc-accent:#966009;--fc-tint:#fff3d9}
.py-featured-icon{display:grid;place-items:center;width:58px;height:58px;flex:none;border-radius:19px;background:var(--fc-tint);color:var(--fc-accent);transition:transform .22s ease}
.py-featured-icon svg{display:block;width:31px;height:31px}
.py-featured-name{color:var(--py-c-heading);font-size:13px;font-weight:700;line-height:1.8;text-align:center;overflow-wrap:anywhere}
html[data-py-theme=dark] .py-featured-card{--fc-accent:#94c5ff;--fc-tint:#18344c}
html[data-py-theme=dark] .py-featured-card[data-tone=teal]{--fc-accent:#80dfc6;--fc-tint:#183d3a}
html[data-py-theme=dark] .py-featured-card[data-tone=violet]{--fc-accent:#c6afff;--fc-tint:#352b4e}
html[data-py-theme=dark] .py-featured-card[data-tone=amber]{--fc-accent:#f1cd81;--fc-tint:#443922}
.py-featured-categories a:focus-visible{outline:3px solid var(--py-c-link);outline-offset:4px}
@media(hover:hover){.py-featured-card:hover{transform:translateY(-4px);border-color:var(--fc-accent);box-shadow:0 10px 24px #102a5610}.py-featured-card:hover .py-featured-icon{transform:rotate(-5deg)}}
@media(min-width:1025px){.py-featured-categories.py-fc-visible-desktop{display:block}.py-featured-grid>.py-fc-desktop{display:block}}
@media(min-width:601px) and (max-width:1024px){.py-featured-categories.py-fc-visible-tablet{display:block}.py-featured-grid>.py-fc-tablet{display:block}.py-featured-grid{grid-template-columns:repeat(var(--fc-cols-tablet),minmax(0,1fr));gap:10px}.py-featured-categories{margin-block:22px 26px}.py-featured-heading{gap:14px;margin-bottom:14px}.py-featured-heading h2{font-size:18px;line-height:1.7}.py-featured-heading p{font-size:12px;margin-top:2px}.py-featured-card{min-height:108px;padding:12px 8px 10px;border-radius:15px;gap:7px}.py-featured-icon{width:44px;height:44px;border-radius:14px}.py-featured-icon svg{width:25px;height:25px}.py-featured-name{font-size:12px;line-height:1.7}}
@media(max-width:600px){.py-featured-categories.py-fc-visible-mobile{display:block}.py-featured-grid>.py-fc-mobile{display:block}.py-featured-grid{grid-template-columns:repeat(var(--fc-cols-mobile),minmax(0,1fr));gap:7px}.py-featured-categories{margin-block:18px 22px}.py-featured-heading{gap:8px;margin-bottom:11px;align-items:flex-start}.py-featured-heading h2{font-size:16px;line-height:1.7}.py-featured-heading p{font-size:11px;max-width:24em;line-height:1.7;margin-top:2px}.py-featured-categories .py-featured-all{font-size:11px;gap:4px;min-height:36px}.py-featured-card{padding:10px 4px 8px;border-radius:12px;gap:6px;min-height:101px}.py-featured-icon{width:38px;height:38px;border-radius:12px}.py-featured-icon svg{width:23px;height:23px}.py-featured-name{font-size:11px;line-height:1.65}}
@media(prefers-reduced-motion:reduce){.py-featured-card,.py-featured-icon{transition:none}.py-featured-card:hover,.py-featured-card:hover .py-featured-icon{transform:none}}

/* Original topic SVGs are isolated images, keeping their gradients and IDs independent. */
.py-featured-icon[data-icon-library=topic-icons]{width:64px;height:64px;padding:0;border-radius:50%;background:#f1f3f3!important;color:initial}.py-featured-icon[data-icon-library=topic-icons] img{display:block;width:47px;height:47px;object-fit:contain;max-width:100%;filter:none!important;opacity:1}.py-featured-card:hover .py-featured-icon[data-icon-library=topic-icons]{transform:translateY(-2px)}@media(min-width:601px) and (max-width:1024px){.py-featured-icon[data-icon-library=topic-icons]{width:48px;height:48px}.py-featured-icon[data-icon-library=topic-icons] img{width:36px;height:36px}}@media(max-width:600px){.py-featured-icon[data-icon-library=topic-icons]{width:40px;height:40px}.py-featured-icon[data-icon-library=topic-icons] img{width:31px;height:31px}}@media(prefers-reduced-motion:reduce){.py-featured-card:hover .py-featured-icon[data-icon-library=topic-icons]{transform:none}}

/* Open topic navigation: no surrounding card, only illustration and label. */
.py-featured-categories .py-featured-card{border:0;border-radius:12px;background:transparent;padding:8px 5px;min-height:124px;gap:10px;box-shadow:none;--fc-hover-circle:#eaf0f9}.py-featured-categories .py-featured-card[data-tone=teal]{--fc-hover-circle:#e5f6f1}.py-featured-categories .py-featured-card[data-tone=violet]{--fc-hover-circle:#f0eafd}.py-featured-categories .py-featured-card[data-tone=amber]{--fc-hover-circle:#fff3d9}.py-featured-categories .py-featured-icon[data-icon-library=topic-icons]{width:76px;height:76px;transition:background-color .24s ease;transform:none!important}.py-featured-icon[data-icon-library=topic-icons] img{width:52px;height:52px;transition:transform .24s ease}.py-featured-categories .py-featured-name{font-weight:600;transition:color .2s ease}.py-featured-categories .py-featured-card:active .py-featured-icon[data-icon-library=topic-icons],.py-featured-categories .py-featured-card:focus-visible .py-featured-icon[data-icon-library=topic-icons]{background:var(--fc-hover-circle)!important}.py-featured-categories .py-featured-card:active .py-featured-icon img{transform:scale(1.05)}
.py-featured-categories .py-featured-card:hover{transform:none;border:0;box-shadow:none}.py-featured-categories .py-featured-card:hover .py-featured-icon[data-icon-library=topic-icons]{background:var(--fc-hover-circle)!important}.py-featured-categories .py-featured-card:hover .py-featured-icon[data-icon-library=topic-icons] img{transform:scale(1.1)}.py-featured-categories .py-featured-card:hover .py-featured-name{color:var(--fc-accent)}
@media(min-width:601px) and (max-width:1024px){.py-featured-categories .py-featured-card{padding:6px 4px;min-height:100px;gap:8px}.py-featured-categories .py-featured-icon[data-icon-library=topic-icons]{width:56px;height:56px}.py-featured-categories .py-featured-icon[data-icon-library=topic-icons] img{width:39px;height:39px}}
@media(max-width:600px){.py-featured-categories .py-featured-card{padding:5px 2px;min-height:85px;gap:7px}.py-featured-categories .py-featured-icon[data-icon-library=topic-icons]{width:44px;height:44px}.py-featured-categories .py-featured-icon[data-icon-library=topic-icons] img{width:31px;height:31px}}
@media(prefers-reduced-motion:reduce){.py-featured-categories .py-featured-card .py-featured-icon img,.py-featured-categories .py-featured-icon,.py-featured-categories .py-featured-name{transition:none!important;transform:none!important}}

/* Shared homepage shelf: responsive heading and action, open icon navigation inside. */
#page .py-featured-categories{position:relative;box-sizing:border-box;padding:22px 24px 14px;border:1px solid var(--py-c-border);border-radius:24px;background:var(--py-c-surface);isolation:isolate}#page .py-featured-categories.py-fc-frame-tinted{background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--py-c-link) 7%,transparent),transparent 58%),radial-gradient(ellipse at 0 100%,color-mix(in srgb,var(--py-c-offerink) 3%,transparent),transparent 50%),var(--py-c-surface)}#page .py-featured-categories:before{content:'';position:absolute;inset-block-start:0;inset-inline:24px;height:1px;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--py-c-link) 38%,transparent),transparent);pointer-events:none}#page .py-featured-categories.py-fc-frame-open{padding:0;border:0;background:transparent;border-radius:0}#page .py-featured-categories.py-fc-frame-open:before{display:none}#page .py-featured-categories .py-featured-heading{align-items:center;gap:16px}#page .py-featured-heading>.py-home-section-heading{flex:1;min-width:0}#page .py-featured-categories .py-featured-grid{column-gap:12px;row-gap:14px}@media(min-width:601px) and (max-width:1024px){#page .py-featured-categories{padding:18px 18px 12px;border-radius:20px}#page .py-featured-categories .py-featured-grid{gap:10px}}@media(max-width:600px){#page .py-featured-categories{padding:14px 11px 9px;border-radius:18px}#page .py-featured-categories:before{inset-inline:16px}#page .py-featured-categories .py-featured-heading{gap:8px}#page .py-featured-categories .py-featured-grid{gap:8px 5px}}
