/* Teknobu 1.3 polish — uses the existing local Manrope and theme variables. */
body { font-family: Manrope, system-ui, sans-serif; transition: none; }
button,input,select,textarea { font-family: inherit; }
.site-header.teknobu-masthead { box-shadow: 0 9px 28px #10071a26; }
.teknobu-masthead .main-nav a { font-weight: 750; }
.teknobu-masthead .main-nav a.active::after { height: 2px; background: linear-gradient(90deg,#a983ff,#df77c7); }
.teknobu-masthead .main-nav .teknobu-premium-icon { border: 1px solid color-mix(in srgb,currentColor 16%,transparent); border-radius: 9px; }
.teknobu-drawer-links a { border-radius: 13px; }
.premium-search-dialog { box-shadow: 0 20px 60px #14091e65; }

.featured-slider { border-radius: 20px; isolation: isolate; box-shadow: 0 14px 35px #130c2826; }
.featured-slider .featured-slide::after {
  background: linear-gradient(90deg,#180f2bf5 4%,#231139dc 39%,#27153b66 77%,#150c2638),
    linear-gradient(0deg,#140d24a8,transparent 56%);
}
.featured-slider .featured-content h2 {
  font-weight: 800; line-height: 1.085; letter-spacing: -.045em; text-wrap: pretty;
}
.featured-slider .featured-content p { color: #ebdff4; max-width: 64ch; }
.premium-hero-meta time { font-weight: 700; }
.featured-slider .featured-cta {
  padding: 11px 16px; border: 1px solid #e0ff9d80;
  box-shadow: 0 7px 18px #a7e64324; font-weight: 800;
}
.featured-slider .featured-controls { padding: 5px; gap: 9px; border-color: #c6a9ef51; }
.featured-slider :is(.featured-prev,.featured-next) { display: grid; place-items: center; }
.featured-slider :is(.featured-prev,.featured-next) svg { width: 17px; height: 17px; }
.home-trend-panel .home-trend-box { padding: 15px 17px; }
.premium-hot-card { min-height: 56px; }
.premium-hot-card:hover { border-color: var(--icon-pink); }

.premium-feed-head h1 { gap: 9px; text-transform: none; letter-spacing: -.035em; }
.premium-feed-head h1::before { content: none; }
.polish-section-icon {
  display: inline-grid; place-items: center; flex: 0 0 auto; width: 33px; height: 33px;
  border-radius: 9px; color: var(--icon-violet);
  background: color-mix(in srgb,var(--icon-violet) 13%,var(--card-bg)); border: 1px solid var(--border);
}
.polish-section-icon svg { width: 17px; height: 17px; }
.premium-feed-card {
  background: linear-gradient(138deg,color-mix(in srgb,var(--icon-violet) 5%,var(--bg-alt)),var(--bg-alt) 65%);
  border-radius: 17px;
}
.premium-feed-card:is(:hover,:focus-within) { border-color: color-mix(in srgb,var(--icon-violet) 42%,var(--border)); }
.premium-feed-cover { border-radius: 11px; }
.premium-feed-cover img { transition: transform .24s ease-out; }
@media (hover:hover) { .premium-feed-card:hover .premium-feed-cover img { transform: scale(1.035); } }
.premium-feed-copy h2 { font-weight: 800; letter-spacing: -.032em; }
.premium-feed-copy p { line-height: 1.62; }
.premium-feed-meta a { background: color-mix(in srgb,var(--icon-cyan) 10%,var(--bg-alt)); }
.premium-feed-foot a { border-color: color-mix(in srgb,var(--icon-cyan) 33%,var(--border)); }
.polish-collection .main-grid > section { min-width: 0; }
.polish-collection .section-title { margin-bottom: 18px; }

.premium-side-heading .sidebar-title { letter-spacing: -.022em; }
.sidebar-box:is(.premium-trend-box,.premium-categories-box) { padding: 15px; border-radius: 16px; }
.premium-trend-box .trend-card { background: var(--bg-alt); }
.premium-trend-box .trend-card:first-child { background: linear-gradient(110deg,color-mix(in srgb,var(--icon-violet) 14%,var(--bg-alt)),var(--bg-alt)); }
.premium-trend-copy strong { font-size: 14px; font-weight: 800; }
.premium-categories-box .category-pills .pill { min-height: 42px; }
.premium-categories-box .category-pills .pill:hover { border-color: var(--icon-violet); }

.sp-card { --polish-gutter: clamp(17px,3.1vw,42px); border-radius: 18px; }
.sp-card .sp-head {
  padding: clamp(23px,3.4vw,39px) var(--polish-gutter) 22px;
  background: radial-gradient(ellipse at 98% 0,color-mix(in srgb,var(--icon-violet) 12%,transparent),transparent 67%);
}
.sp-card .sp-title { font-weight: 800; font-size: clamp(30px,4.25vw,58px); line-height: 1.085; text-wrap: pretty; }
.polish-article-deck { font-size: clamp(16px,1.55vw,19px); max-width: 72ch; line-height: 1.65; margin-top: 13px; color: var(--text-muted); }
.sp-card .sp-cat { background: color-mix(in srgb,var(--icon-violet) 17%,var(--card-bg)); color: var(--icon-violet); border: 1px solid var(--border); }
.sp-card .sp-cover { margin-inline: var(--polish-gutter); aspect-ratio: 16/8.5; border-radius: 13px; }
.sp-card .sp-content { padding: 23px var(--polish-gutter) 30px; font-size: clamp(16px,1.48vw,18px); line-height: 1.75; }
.sp-card .sp-content > :is(p,ul,ol) { max-width: 78ch; }
.sp-card .sp-content a { color: var(--icon-violet); }
.sp-content .toc-box { border-radius: 12px; padding: 15px; }
.sp-content .toc-item a { padding: 10px; line-height: 1.4; color: var(--text); }
.sp-content .toc-item a:hover { color: var(--icon-violet); border-color: var(--icon-violet); }
.sp-content .toc-toggle { color: var(--icon-violet); }
.sp-content .premium-code { border-radius: 11px; }
.sp-rel-card { border-radius: 12px; }

.site-footer {
  padding: clamp(26px,4vw,52px) 0 14px; margin-top: clamp(35px,5vw,72px);
  background: radial-gradient(ellipse at 10% 0,color-mix(in srgb,var(--icon-violet) 9%,transparent),transparent 55%),var(--card-bg);
  border-top: 2px solid color-mix(in srgb,var(--icon-violet) 68%,var(--border));
}
.site-footer .footer-grid { grid-template-columns: 1.25fr .9fr 1.15fr .8fr; gap: clamp(15px,3vw,40px); }
.site-footer .footer-col img { max-width: 100%; }
.site-footer .footer-col h4 { margin-bottom: 13px; font-size: 15px; font-weight: 800; }
.site-footer .footer-links a { font-size: 13px; }
.site-footer .footer-post { border-radius: 10px; }
.site-footer .footer-post--text::before { background: var(--icon-violet); }
.polish-back-top { display: inline-flex; align-items: center; gap: 6px; color: var(--icon-violet); font-size: 12px; font-weight: 800; }
.polish-back-top svg { width: 16px; height: 16px; }

@media (max-width:1024px) {
 .site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
 .featured-slider .featured-slide::after { background: linear-gradient(0deg,#19102cee 4%,#211434d4 49%,#24133585); }
 .featured-slider .featured-content p { font-size: 13px; }
 .home-trend-panel .home-trend-box { padding: 11px; }
 .premium-feed { padding: 10px; }
 .premium-feed-head { margin-bottom: 11px; }
 .polish-section-icon { width: 29px; height: 29px; }
 .polish-section-icon svg { width: 15px; height: 15px; }
 .premium-feed-card { border-radius: 12px; gap: 9px; }
 .premium-feed-copy h2 { font-size: clamp(14px,4.05vw,18px); line-height: 1.3; }
 .premium-feed-meta { gap: 4px; }
 .premium-feed-save { width: 27px; height: 27px; }
 .sp-card .sp-title { font-size: clamp(28px,7.2vw,40px); }
 .site-footer .footer-grid { gap: 21px 14px; }
}
@media(prefers-reduced-motion:reduce) { .premium-feed-cover img { transition: none; } }
