/*
Theme Name: Narzędzia e-biznesu
Description: Motyw katalogu oprogramowania na podstawie publicznych widoków Macify.
Version: 0.1.26
License: MIT
Text Domain: narzedzia-ebiznesu
*/
:root {
 --theme-white:#fff; --theme-black:#000; --theme-canvas:#fbfaf6; --theme-surface:#fff;
 --theme-ink:#101217; --theme-ink-soft:#343a43; --theme-text-muted:#59616b;
 --theme-action:#1457ff; --theme-offer-surface:#ffd34f; --theme-offer-ink:#211b0a;
 --font-caprasimo:"Caprasimo"; --font-urbanist:"Urbanist"; --font-source-sans:"Source Sans 3"; --font-caveat:"Caveat";
}
.ne-nav { display:flex; align-items:center; gap:clamp(.65rem,2vw,1.7rem); flex-wrap:wrap; justify-content:center; }
.ne-nav a { color:inherit; text-decoration:none; font-weight:650; }
.ne-nav a:hover { text-decoration:underline; }
.ne-mark { display:grid; place-items:center; width:2.4rem; aspect-ratio:1; border-radius:.65rem; color:white; background:#1457ff; font:1.4rem var(--public-display-font); }
.ne-hero-title .home-title-line { font-size:.73em; }
.ne-hero-tile { display:grid; place-items:center; min-height:14rem; aspect-ratio:1.85; background:#fff; color:#1457ff; border-radius:1rem; font:clamp(2rem,6vw,5rem) var(--public-display-font); }
.ne-directory-controls { display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; margin:0 0 2rem; }
.ne-directory-controls select,.ne-directory-controls input,.ne-directory-controls button,.ne-visit { font:inherit; border:1px solid var(--public-line); border-radius:999px; padding:.45rem .9rem; background:#fff; color:inherit; }
.ne-directory-controls button,.ne-visit { background:#1457ff;color:white;border-color:#1457ff;cursor:pointer; }
.ne-footer { width:min(calc(100% - var(--public-page-inset)),90rem); margin:auto; padding:2rem 0; border-top:1px solid var(--public-line); }
.ne-detail { max-width:72rem; margin:auto; }
.ne-detail .application-preview { margin:2.5rem auto; }
.ne-detail-columns { display:grid;grid-template-columns:minmax(0,2fr) minmax(12rem,1fr);gap:2.5rem;margin-block:3rem; }
.ne-detail-columns aside { border:1px solid var(--public-line);border-radius:1rem;padding:1.25rem;height:max-content; }
.ne-pager { margin-top:2rem; }
@media(max-width:600px){.ne-detail-columns{grid-template-columns:1fr}.ne-nav{font-size:.9rem}.ne-nav a{white-space:nowrap}.ne-hero-title .home-title-line{font-size:.68em}}
@media (max-width: 48rem) {
  .public-header-inner { grid-template-columns:auto minmax(0,1fr); grid-template-areas:"brand navigation"; }
  .public-header-inner .ne-nav { display:flex; justify-self:end; position:static; transform:none; visibility:visible; opacity:1; pointer-events:auto; }
  .ne-nav a { font-size:.78rem; padding-inline:.5rem; }
}


.public-site, .application-presentation {
  --public-display-font: "Caprasimo", "Cooper Black", Georgia, serif;
}
.home-hero h1, .directory-heading h2 { font-weight: 900; }
.ne-hero-title .home-title-line { font-size: .92em; }
.ne-hero-icon { color: white; font-family: var(--font-body); font-size: .77em; box-shadow: 0 .35rem .8rem #0002; }
.ne-hero-icon-orange { background: linear-gradient(135deg,#ffb600,#ff5b27); }
.ne-hero-icon-blue { background: linear-gradient(145deg,#83d9ff,#2155d1 75%); }
.ne-hero-icon-light { background: #fff; color:#1457ff; }
.ne-hero-tile {
  min-height: 0;
  align-content:center;
  gap:.3rem;
  background: radial-gradient(ellipse at 67% 80%,#dee9ff 0,transparent 55%),linear-gradient(137deg,#b9c8e7,#d4e0f5);
  color: #17274a;
  font: 700 clamp(1.15rem,2.3vw,2rem)/1.1 var(--font-body);
}
.ne-hero-tile small { font-size:.58em; font-weight:400; }
.home-feature-caption .ne-mark { width: clamp(2.6rem,6vw,4.75rem); }
.ne-directory-controls { margin:0; gap:.35rem; }
.ne-directory-controls select,.ne-directory-controls input,.ne-directory-controls button { font-size:.83rem; padding:.4rem .65rem; }
.ne-directory-controls input { width: 9rem; }
.ne-directory-controls button { background:var(--public-ink);border-color:var(--public-ink); }
.screen-reader-text { position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;white-space:nowrap; }
@media(max-width:38rem){.ne-hero-title .home-title-line{font-size:.84em}}

.ne-product-facts { margin-inline:auto; justify-content:center; flex-wrap:wrap; }
.ne-product-facts .ne-visit-counter[hidden] { display:none; }
.ne-product-facts .application-fact-icon { color:#101217; transform:rotate(-7deg); }
.ne-price-icon { background:#b7f2d4; }
.ne-counter-icon { background:#c5afff; }
.ne-link-icon { background:#9eb5ff; }
.ne-detail .application-hero { flex-direction:column; align-items:center; gap:1rem; }
.ne-detail .application-title-line { justify-content:center; }
.ne-detail .application-title-tagline { font-size:clamp(1.55rem,3.5vw,2.8rem); max-width:34ch; margin-inline:auto; }
.ne-detail .application-categories,.ne-detail .application-facts { justify-content:center; }
.ne-detail .application-identity-copy { width:100%; }

.ne-detail .application-story-sections { margin-top:0; }
.ne-detail .application-story-sections > h2 { margin-top:2.5rem; }
.ne-detail .application-title-icon .public-app-icon { width:clamp(3.1rem,7vw,5.5rem); height:auto; aspect-ratio:1; }

.ne-nav a[aria-current="page"] { font-weight:800; }
.ne-nav a.ne-nav-action,.ne-nav a.ne-nav-action:hover { background:#101217;color:#fff; }
.ne-view-tabs { display:flex; align-items:center; flex-wrap:wrap; border:1px solid var(--public-line); background:white; border-radius:999px; padding:.2rem; }
.ne-view-tabs a { padding:.4rem .65rem; border-radius:999px; font-size:.83rem; text-decoration:none; color:inherit; }
.ne-view-tabs a[aria-current="page"] { background:#101217;color:white; }
.ne-search-popover { position:relative; }
.ne-search-popover summary { display:grid;place-items:center;cursor:pointer;width:2.3rem;height:2.3rem;border-radius:50%;border:1px solid var(--public-line);background:white;font-size:1.5rem;list-style:none; }
.ne-search-popover summary::-webkit-details-marker { display:none; }
.ne-search-popover form { position:absolute;z-index:4;right:0;top:calc(100% + .5rem);width:min(24rem,80vw);padding:.7rem;background:white;border:1px solid var(--public-line);border-radius:1rem; }
.ne-search-popover:target form { display:flex; }
.ne-footer { display:grid;grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr));gap:2rem;padding-block:3rem; }
.ne-footer nav { display:grid;align-content:start;gap:.35rem; }
.ne-footer h2 { font-size:1rem;margin:0 0 .25rem; }
.ne-footer small { color:var(--public-text-secondary); }
@media(max-width:38rem){ .ne-footer{grid-template-columns:1fr 1fr}.ne-footer>div{grid-column:1/-1}.ne-nav{gap:.15rem}.ne-nav a{padding-inline:.45rem}.ne-hero-title .home-title-line{white-space:normal} }

@media (min-width: 64rem) {
  .ne-detail .application-title-icon { transform: scale(1.12); }
}

.home-hero h1, .directory-heading h2 {
  font-family: "Fraunces", Georgia, serif;
}

@media (max-width: 48rem) {
  .application-directory .directory-controls {
    position: relative;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: .5rem;
  }

  .directory-controls .ne-view-tabs {
    height: auto;
    flex-wrap: nowrap;
  }

  .directory-controls .ne-view-tabs a {
    padding-inline: clamp(.3rem, 2vw, .65rem);
    white-space: nowrap;
  }

  .directory-controls .ne-search-popover { position: static; }
  .directory-controls .ne-search-popover form {
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .5rem;
  }

  .directory-controls .ne-directory-controls select { grid-column: 1 / -1; }
  .directory-controls .ne-directory-controls input[type="search"] {
    width: 100%;
    min-width: 0;
    font-size: 1rem;
  }
}

.ne-category-index h1 { font-family: "Fraunces", Georgia, serif; }
.ne-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.ne-category-grid a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: .4rem;
  min-height: 10rem;
  padding: 1.35rem;
  border-radius: 1rem;
  background: #e5edff;
  color: #101217;
  text-decoration: none;
}
.ne-category-grid li:nth-child(3n + 2) a { background: #def3ea; }
.ne-category-grid li:nth-child(3n + 3) a { background: #fce9dc; }
.ne-category-grid strong { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.ne-category-grid a:hover strong { text-decoration: underline; }
.ne-category-grid a:focus-visible { outline: 3px solid #1457ff; outline-offset: 3px; }
@media (max-width: 38rem) {
  .ne-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .ne-category-grid a { min-height: 8rem; padding: .9rem; overflow-wrap: anywhere; }
}

.ne-category-logos { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: auto; }
.ne-category-logos .public-app-icon { width: 3rem; height: 3rem; object-fit: contain; }
@media (max-width: 38rem) {
  .ne-category-logos .public-app-icon { width: 2.25rem; height: 2.25rem; }
}

.ne-category-index .category-page-header { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.ne-category-index .category-page-header p { margin-left: 0; }
.ne-category-grid strong { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem; }
.ne-category-grid strong span { flex: none; }
.ne-category-count { font-size: .9rem; color: #465161; }

.ne-privacy { max-width: min(48rem, calc(100% - 2rem)); }
.ne-privacy .category-page-header { margin-bottom: 2rem; }
.ne-privacy .category-page-header h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(2.5rem, 7vw, 4.75rem); }
.ne-privacy .category-page-header p { margin-left: 0; }
.ne-footer-privacy { margin-top: .65rem; }

.ne-blog h1 { font-family: "Fraunces", Georgia, serif; }
.ne-blog .category-page-header p { margin-left: 0; }
.ne-blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1.25rem; }
.ne-blog-grid article a { display: block; height: 100%; padding: 1rem; border: 1px solid var(--public-line); border-radius: 1rem; background: white; color: inherit; text-decoration: none; }
.ne-blog-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .65rem; display: block; margin-bottom: .75rem; }
.ne-blog-grid time { color: var(--public-text-secondary); font-size: .9rem; }
.ne-blog-grid h2 { margin: .4rem 0; font-size: 1.3rem; }
.ne-blog-grid p { margin: 0; }
.ne-blog-grid a:hover h2 { text-decoration: underline; }
@media (max-width: 38rem) {
  .public-header-inner .ne-nav { flex-wrap: wrap; }
}

.directory-controls .ne-view-tabs { height: auto; padding: 0; gap: 0; }
.directory-controls .ne-view-tabs a {
  gap: .45rem;
  padding: .55rem .75rem;
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
}
.ne-tab-icon { font-size: 1em; line-height: 1; }
.ne-tab-icon[data-view="najnowsze"] { color: #8757ed; }
.ne-tab-icon[data-view="wyroznione"] { color: #f56a37; }
.ne-tab-icon[data-view="nazwa"] { color: #168467; }
.ne-search-popover summary { width: 2.55rem; height: 2.55rem; }
.ne-search-icon { position: relative; width: .92rem; height: .92rem; border: 2px solid currentColor; border-radius: 50%; }
.ne-search-icon::after {
  content: "";
  position: absolute;
  width: .42rem;
  height: 2px;
  background: currentColor;
  right: -.32rem;
  bottom: -.14rem;
  transform: rotate(45deg);
  border-radius: 2px;
}
@media (max-width: 48rem) {
  .directory-controls .ne-view-tabs a { gap: .24rem; padding: .45rem clamp(.3rem, 1.7vw, .65rem); font-size: .78rem; }
}

.ne-article { width: min(100% - 2rem, 65rem); margin: clamp(2.5rem, 7vw, 6rem) auto; }
.ne-article-header, .ne-article-content { max-width: 46rem; margin-inline: auto; overflow-wrap: anywhere; }
.ne-article-header h1 { font: 900 clamp(2.25rem, 6vw, 4.5rem)/1.08 "Fraunces", Georgia, serif; margin: 1rem 0; }
.ne-article-lead { font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; }
.ne-article-header time { color: var(--public-text-secondary); }
.ne-article-cover { margin: 2rem 0; }
.ne-article-cover img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.ne-article-content { margin-top: 2rem; font-size: 1.125rem; line-height: 1.75; }
.ne-article-content img { max-width: 100%; height: auto; }
.ne-article-content pre, .ne-article-content .wp-block-table { overflow-x: auto; }

.directory-app-preview::after {
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / .52) 50%, transparent);
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .directory-app-row:focus-within .directory-app-preview::after {
    animation: directory-preview-shimmer 1400ms cubic-bezier(.25, 1, .5, 1);
  }
}

.ne-category-index .category-page-header .category-page-period,
.ne-blog .category-page-header .category-page-period {
  margin-inline-start: -.12em;
}


.home-hero-intro {
  font-family: Caveat, cursive;
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-weight: 500;
  line-height: 1.25;
  color: #485466;
}
.home-hero-intro .home-hero-intro-emphasis {
  padding-bottom: .25em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 6Q17 2 32 6T62 6T92 6T122 6T152 6T182 6T212 6T242 6T272 6T298 6' fill='none' stroke='%231955ff' stroke-width='4.6' stroke-linecap='round'/%3E%3C/svg%3E") center bottom / 100% .42em no-repeat;
}
.home-hero-intro .home-hero-intro-squiggle { display: none; }

.home-hero-intro .home-hero-intro-emphasis { background: none; }
.home-hero-intro .home-hero-intro-squiggle { display: block; }
.home-hero-intro .home-hero-intro-squiggle path { stroke: #1955ff; stroke-width: 4.6; fill: none; stroke-linecap: round; }
