/* DarmoweCzcionki.pl — Premium site elements, scoped to shared components */
.dc-site-header{background:#fbfcf9eF;border-bottom:1px solid #e2ece2;box-shadow:0 3px 17px #103b2010}
.dc-site-header .shell>a:first-child{letter-spacing:-.055em;font-size:clamp(19px,1.6vw,23px);white-space:nowrap}
.dc-site-header nav a{color:#315640;transition:color .2s}
.dc-site-header nav a:hover{color:#168358}
.dc-site-header .icon-button:hover{background:#e8f4e7}
.dc-site-footer{background:#fff;border-top:1px solid #e2eae2}
.dc-site-footer strong{letter-spacing:-.025em}
.dc-site-footer a:hover{color:#217c54;text-decoration:underline}
.dc-premium-card.font-card{padding:0!important;margin:0;min-width:0;background:#fff;border:1px solid #dce8de;border-radius:18px;box-shadow:none;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s,border-color .2s}
.dc-premium-card:hover{transform:translateY(-4px);box-shadow:0 16px 34px #143d251a;border-color:#b4d5c0}
.dc-premium-card-visual{height:166px;position:relative;display:grid;place-items:center;background:#ecf3ec}
.dc-premium-card:nth-child(4n+2) .dc-premium-card-visual{background:#f4f0e8}
.dc-premium-card:nth-child(4n+3) .dc-premium-card-visual{background:#edf0f4}
.dc-premium-card:nth-child(4n+4) .dc-premium-card-visual{background:#f3ebed}
.dc-premium-card-image{display:grid;place-items:center;width:100%;height:100%;padding:17px;text-decoration:none}
.dc-premium-card-image img{display:block;width:100%;height:116px;object-fit:contain;mix-blend-mode:multiply;border-radius:6px}
.dc-premium-card-fallback{font:italic 52px Georgia,serif;letter-spacing:-.07em;color:#568067}
.dc-premium-card-actions{position:absolute;right:10px;top:10px;display:flex;gap:6px;z-index:2}
.dc-premium-card-icon{width:34px;height:34px;background:#fff;border:1px solid #dbe8dd;color:#1b6848;box-shadow:0 3px 8px #153e2812;border-radius:50%;display:grid;place-items:center;font-size:20px;cursor:pointer;line-height:1}
.dc-premium-card-icon:hover,.dc-premium-card-icon[aria-pressed=true]{background:#dff0e3;border-color:#afcfb5}
.dc-premium-card-info{display:flex;flex-direction:column;flex:1}
.dc-premium-card-title-row{padding:18px 16px 13px;display:flex;justify-content:space-between;align-items:center;gap:7px}
.dc-premium-card-title-row>div{min-width:0}
.dc-premium-card-category{font-size:10px;font-weight:810;color:#31815a;letter-spacing:.08em;text-transform:uppercase}
.dc-premium-card-title-row h2{font-weight:850;font-size:16px;letter-spacing:-.025em;line-height:1.3;margin:7px 0 0;overflow-wrap:anywhere;color:#193b2c}
.dc-premium-card-title-row h2 a:hover{color:#24815b}
.dc-premium-card-author{font-size:11px;color:#889a8e;margin:7px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dc-premium-card-arrow{height:32px;width:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center;background:#eaf4e9;color:#277c54;text-decoration:none;font-size:17px}
.dc-premium-card-arrow:hover{background:#d7eedd}
.dc-premium-card-details{border-top:1px solid #edf2ed;padding:11px 16px 7px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;font-size:10px;color:#89998d;margin-top:auto}
.dc-premium-card-polish{font-weight:800;color:#218258}
.dc-premium-card-license{padding:1px 16px 14px;font-size:10px;color:#99a79b}
.dc-premium-card-license a{color:#21845a;font-weight:760;text-decoration:underline;text-underline-offset:3px}
.dc-premium-card a:focus-visible,.dc-premium-card button:focus-visible{outline:3px solid #63b888;outline-offset:2px}
.dc-utility-page{padding-top:24px;padding-bottom:72px;min-height:55vh}
.dc-utility-hero{border-radius:24px;position:relative;overflow:hidden;background:linear-gradient(120deg,#113e2e,#185944);color:#fff;padding:50px 54px 48px;margin-bottom:30px;isolation:isolate}
.dc-utility-hero:after{content:'Ag';font:italic 180px Georgia,serif;letter-spacing:-.14em;color:#ffffff15;position:absolute;right:4%;top:-55px;z-index:-1;pointer-events:none}
.dc-utility-hero .eyebrow{color:#b1e4c2;font-size:10px;letter-spacing:.18em}
.dc-utility-hero .page-title{color:#fff;font-size:clamp(37px,4vw,60px);max-width:820px;letter-spacing:-.058em;margin-top:17px}
.dc-utility-hero .text-muted,.dc-utility-hero .dc-utility-intro{color:#cce0d0;font-size:14px;line-height:1.75;max-width:690px;margin-top:17px}
.dc-utility-page>.font-grid,.dc-utility-page>.dc-utility-results{margin-top:23px}
.dc-utility-page .empty-state{border-color:#d8e6d9;background:#fff;border-radius:20px;box-shadow:0 8px 22px #102e1908}
.dc-utility-page .prose-card{max-width:960px;border:1px solid #e1ebdf;border-radius:22px;padding:clamp(24px,4vw,48px);margin-left:0;box-shadow:0 12px 35px #173f2710}
.dc-utility-page .prose-card h2{color:#1a5039;letter-spacing:-.035em;font-size:clamp(20px,2vw,25px)}
.dc-utility-page .prose-card p{line-height:1.88;color:#516959}
.dc-utility-page .prose-card a{font-weight:750;color:#1b825a;text-decoration:underline;text-underline-offset:3px}
.dc-utility-page .card{border-color:#dce8dd;border-radius:20px;box-shadow:0 11px 31px #102d200d}
.dc-utility-page .dc-preview-toolbar{margin-top:24px}
.dc-utility-page .field span{color:#315945}
.dc-utility-page .field input,.dc-utility-page .field select,.dc-utility-page .field textarea{border-color:#d7e4d9;background:#fcfefa;border-radius:11px}
.dc-utility-page .field input:focus,.dc-utility-page .field select:focus{border-color:#449b72;outline-offset:1px}
.dc-utility-page .button-primary{background:#175c43;border-radius:11px}
.dc-utility-page .button-primary:hover{background:#217b55}
.dc-utility-page .button-secondary{color:#1a694a}
.dc-utility-page nav[aria-label*='Paginacja']{margin-top:26px}
@media(max-width:900px){.dc-utility-hero{padding:40px 32px}.dc-premium-card-visual{height:150px}}
@media(max-width:640px){
.dc-site-header .shell>a:first-child{font-size:20px}
.dc-premium-card-visual{height:132px}
.dc-premium-card-image{padding:9px}
.dc-premium-card-image img{height:97px}
.dc-premium-card-title-row{padding:12px 10px 9px}
.dc-premium-card-title-row h2{font-size:13px}
.dc-premium-card-category{font-size:9px}
.dc-premium-card-author{font-size:10px}
.dc-premium-card-arrow{height:28px;width:28px;flex-basis:28px}
.dc-premium-card-icon{width:30px;height:30px;font-size:18px}
.dc-premium-card-actions{top:7px;right:7px}
.dc-premium-card-details{font-size:9px;padding:9px 10px 7px}
.dc-premium-card-license{font-size:9px;padding:0 10px 11px}
.dc-utility-page{padding-top:16px;padding-bottom:50px}
.dc-utility-hero{padding:34px 24px;border-radius:18px}
.dc-utility-hero:after{font-size:125px;top:-25px}
.dc-utility-hero .page-title{font-size:clamp(32px,9vw,45px)}
.dc-utility-page .prose-card{padding:22px}
}
@media(max-width:360px){.dc-premium-card-arrow{display:none}.dc-premium-card-title-row h2{font-size:12px}}
@media(prefers-reduced-motion:reduce){.dc-premium-card{transition:none}}

/* Ultra-narrow phones: prevent existing header and homepage grid from widening the document. */
@media(max-width:360px){
  .dc-site-header .shell{gap:4px;padding-left:12px;padding-right:12px}
  .dc-site-header .shell>a:first-child{font-size:16px;letter-spacing:-.045em;min-width:0}
  .dc-site-header .shell>div:last-child{gap:4px;flex-shrink:0}
  .dc-site-header .icon-button{width:38px;height:38px;font-size:17px}
  .dch .dch-hero{grid-template-columns:minmax(0,1fr)}
  .dch .dch-hero-copy,.dch .dch-hero-studio{min-width:0;width:100%}
  .dch .dch-search{gap:4px;min-width:0;width:100%}
  .dch .dch-search>span{font-size:20px}
  .dch .dch-search button{padding:10px 8px}
}
/* Keep decorative detail within mobile viewport. */
@media(max-width:760px){.dcps-download::before{right:0!important}}
