/* ewakupiec.com - shared styles for the News pages */
#root a.rounded-full:has(> svg.lucide) { opacity: .6; background-color: transparent !important; transition: opacity .45s ease, transform .45s ease; }
#root a.rounded-full:has(> svg.lucide):hover, #root a.rounded-full:has(> svg.lucide):focus-visible { opacity: 1; transform: translateY(-2px); }
#root a.rounded-full:has(> svg.lucide) > svg.lucide { stroke-width: 1.25; }
@media (pointer: coarse) { #root a.rounded-full:has(> svg.lucide) { padding: 10px; } }
@media (prefers-reduced-motion: reduce) { #root a.rounded-full:has(> svg.lucide):hover, #root a.rounded-full:has(> svg.lucide):focus-visible { transform: none; } }
.ewk-sun, .ewk-sun-t, .ewk-close { display: none; }
.dark .ewk-moon, .dark .ewk-moon-t { display: none; }
.dark .ewk-sun, .dark .ewk-sun-t { display: inline; }
.ewk-menu-open .ewk-open { display: none; }
.ewk-menu-open .ewk-close { display: inline; }
#root a.flex-shrink-0 { color: inherit; text-decoration: none; }
.ewk-news-main { min-height: calc(100vh - 64px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px 24px 80px; }
.ewk-news-main .kick { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .55; margin: 0 0 20px; }
.ewk-news-main h1 { font-size: clamp(36px, 7vw, 64px); font-weight: 200; letter-spacing: .04em; margin: 0 0 20px; line-height: 1.1; }
.ewk-news-main .rule { width: 48px; height: 1px; background: currentColor; opacity: .15; margin: 0 auto 24px; }
.ewk-news-main p.txt { margin: 0 0 36px; opacity: .6; font-size: 15px; line-height: 1.7; max-width: 30rem; }
.ewk-news-main .btn { color: inherit; text-decoration: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; padding: 12px 22px; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; transition: border-color .4s ease; }
.dark .ewk-news-main .btn { border-color: rgba(255,255,255,.2); }
.ewk-news-main .btn:hover, .ewk-news-main .btn:focus-visible { border-color: currentColor; }
@media (prefers-reduced-motion: no-preference) { .ewk-news-main > * { animation: ewkup .8s ease both; } .ewk-news-main > *:nth-child(2) { animation-delay: .08s; } .ewk-news-main > *:nth-child(3) { animation-delay: .16s; } .ewk-news-main > *:nth-child(4) { animation-delay: .24s; } .ewk-news-main > *:nth-child(5) { animation-delay: .32s; } }
@keyframes ewkup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

      .ewk-lang-host > :not(.ewk-lang) { display: none !important; }
      .ewk-lang { position: relative; font-size: 14px; line-height: 20px; }
      .ewk-lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 4px 2px; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; opacity: .75; transition: opacity .3s ease; }
      .ewk-lang-btn:hover, .ewk-lang-btn:focus-visible, .ewk-lang.open .ewk-lang-btn { opacity: 1; }
      .ewk-lang-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
      .ewk-lang-btn .ewk-chev { width: 12px; height: 12px; transition: transform .3s ease; }
      .ewk-lang.open .ewk-chev { transform: rotate(180deg); }
      .ewk-lang-menu { list-style: none; margin: 0; padding: 6px; min-width: 160px; border-radius: 12px; background: #fff; color: #111;
        border: 1px solid rgba(0,0,0,.08); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
      .dark .ewk-lang-menu { background: #0a0a0a; color: #f5f5f5; border-color: rgba(255,255,255,.12); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
      .ewk-lang-menu button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border: 0; border-radius: 8px;
        background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; opacity: .65; transition: opacity .2s ease, background-color .2s ease; }
      .ewk-lang-menu button:hover, .ewk-lang-menu button:focus-visible { opacity: 1; background: rgba(0,0,0,.04); }
      .dark .ewk-lang-menu button:hover, .dark .ewk-lang-menu button:focus-visible { background: rgba(255,255,255,.06); }
      .ewk-lang-menu button[aria-current="true"] { opacity: 1; font-weight: 500; }
      .ewk-lang-menu button span { font-size: 11px; letter-spacing: .12em; opacity: .5; }
      /* desktop: drop-down under the button */
      .ewk-lang.desk .ewk-lang-pop { position: absolute; top: 100%; right: -8px; padding-top: 10px; z-index: 70;
        opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
      .ewk-lang.desk.open .ewk-lang-pop { opacity: 1; visibility: visible; transform: translateY(0); transition: opacity .25s ease, transform .25s ease; }
      /* mobile menu: list opens in place */
      .ewk-lang.mob { width: 100%; }
      .ewk-lang.mob .ewk-lang-pop { display: none; padding-top: 8px; }
      .ewk-lang.mob.open .ewk-lang-pop { display: block; }
      .ewk-lang.mob .ewk-lang-menu { box-shadow: none; }
      @media (prefers-reduced-motion: reduce) { .ewk-lang-pop, .ewk-lang-btn .ewk-chev { transition: none !important; } }
    
/* news items */
.ewk-cover { margin: 0; }
.ewk-cover a { display: block; overflow: hidden; border: 1px solid rgba(0,0,0,.08); background: #f4f4f4; cursor: zoom-in; }
.dark .ewk-cover a { border-color: rgba(255,255,255,.12); background: #111; }
.ewk-cover img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .8s ease; }
.ewk-cover a:hover img, .ewk-cover a:focus-visible img { transform: scale(1.03); }
.ewk-item.past .ewk-cover img { filter: grayscale(1); opacity: .8; }
.ewk-links { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.08); }
.dark .ewk-links { border-color: rgba(255,255,255,.1); }
.ewk-links p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .5; margin: 0 0 12px; }
.ewk-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ewk-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: inherit; text-decoration: none; padding: 7px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; opacity: .8; transition: opacity .3s ease, border-color .3s ease; }
.dark .ewk-links a { border-color: rgba(255,255,255,.18); }
.ewk-links a:hover, .ewk-links a:focus-visible { opacity: 1; border-color: currentColor; }
.ewk-links svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 767px) { .ewk-cover { max-width: 420px; } }
.ewk-news-list { max-width: 64rem; margin: 0 auto; padding: 128px 24px 96px; }
.ewk-news-head { text-align: center; margin-bottom: 56px; }
.ewk-news-head .kick { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; opacity: .55; margin: 0 0 20px; }
.ewk-news-head h1 { font-size: clamp(36px, 7vw, 56px); font-weight: 200; letter-spacing: .04em; margin: 0 0 20px; line-height: 1.1; }
.ewk-news-head .rule { width: 48px; height: 1px; background: currentColor; opacity: .15; margin: 0 auto; }
.ewk-item { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; padding: 40px 0; border-top: 1px solid rgba(0,0,0,.08); }
.ewk-item:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
.dark .ewk-item { border-color: rgba(255,255,255,.1); }
.ewk-snap { position: relative; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 22px 0; overflow: hidden;
  border: 1px solid rgba(0,0,0,.1); background: linear-gradient(160deg, #fafafa, #f0f0f0); }
.dark .ewk-snap { border-color: rgba(255,255,255,.12); background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); }
.snap-type, .snap-place { font-size: 11px; letter-spacing: .25em; text-transform: uppercase; opacity: .6; }
.snap-date { display: flex; flex-direction: column; align-items: flex-start; }
.snap-dow { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .5; }
.snap-day { font-size: 96px; font-weight: 200; line-height: .95; letter-spacing: -.02em; }
.snap-mon { font-size: 14px; letter-spacing: .12em; opacity: .75; margin-top: 6px; }
.snap-place { margin-bottom: 18px; }
.snap-keys { display: block; height: 44px; margin: 0 -22px; border-top: 1px solid rgba(0,0,0,.12);
  background: linear-gradient(90deg, transparent 0 12.3%, currentColor 12.3% 16.3%, transparent 16.3% 26.6%, currentColor 26.6% 30.6%, transparent 30.6% 55.1%, currentColor 55.1% 59.1%, transparent 59.1% 69.4%, currentColor 69.4% 73.4%, transparent 73.4% 83.7%, currentColor 83.7% 87.7%, transparent 87.7%) top / 100% 60% no-repeat,
  repeating-linear-gradient(90deg, transparent 0 calc(100%/7 - 1px), rgba(0,0,0,.12) calc(100%/7 - 1px) calc(100%/7)); opacity: .55; }
.dark .snap-keys { border-color: rgba(255,255,255,.14); background: linear-gradient(90deg, transparent 0 12.3%, currentColor 12.3% 16.3%, transparent 16.3% 26.6%, currentColor 26.6% 30.6%, transparent 30.6% 55.1%, currentColor 55.1% 59.1%, transparent 59.1% 69.4%, currentColor 69.4% 73.4%, transparent 73.4% 83.7%, currentColor 83.7% 87.7%, transparent 87.7%) top / 100% 60% no-repeat,
  repeating-linear-gradient(90deg, transparent 0 calc(100%/7 - 1px), rgba(255,255,255,.14) calc(100%/7 - 1px) calc(100%/7)); opacity: .35; }
.ewk-body .meta { font-size: 12px; letter-spacing: .08em; opacity: .55; margin: 0 0 14px; line-height: 1.6; }
.ewk-body .badge { display: inline-block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 3px 9px; border: 1px solid currentColor; border-radius: 999px; margin-right: 10px; }
.ewk-body h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 300; line-height: 1.25; margin: 0 0 8px; letter-spacing: .01em; }
.ewk-body .sub { font-size: 15px; opacity: .7; margin: 0 0 18px; font-style: italic; }
.ewk-body .sum, .ewk-body .det p { font-size: 15px; line-height: 1.75; opacity: .8; margin: 0 0 14px; }
.ewk-more summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  padding: 10px 18px; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; transition: border-color .3s ease; margin-top: 4px; }
.dark .ewk-more summary { border-color: rgba(255,255,255,.2); }
.ewk-more summary::-webkit-details-marker { display: none; }
.ewk-more summary:hover, .ewk-more summary:focus-visible { border-color: currentColor; }
.ewk-more summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .3s ease; }
.ewk-more[open] summary svg { transform: rotate(180deg); }
.ewk-more .l, .ewk-more[open] .m { display: none; }
.ewk-more[open] .l { display: inline; }
.ewk-more .det { padding-top: 24px; }
@media (prefers-reduced-motion: no-preference) { .ewk-more[open] .det { animation: ewkup .5s ease both; } .ewk-news-list > * { animation: ewkup .8s ease both; } .ewk-news-list > .ewk-item { animation-delay: .12s; } }
.ewk-more dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 8px 0 20px; font-size: 14px; line-height: 1.6; }
.ewk-more dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .5; padding-top: 2px; }
.ewk-more dd { margin: 0; opacity: .85; }
.ewk-more a { color: inherit; text-underline-offset: 3px; }
.ewk-more .src { font-size: 13px !important; opacity: .55 !important; }
.ewk-item.past .ewk-snap { filter: grayscale(1); opacity: .75; }
@media (max-width: 767px) {
  .ewk-news-list { padding: 104px 16px 72px; }
  .ewk-news-head { margin-bottom: 36px; }
  .ewk-item { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .ewk-snap { aspect-ratio: auto; min-height: 240px; gap: 16px; }
  .snap-day { font-size: 72px; }
  .ewk-more dl { grid-template-columns: 1fr; gap: 2px; }
  .ewk-more dd { margin-bottom: 10px; }
}

/* categories + podcast */
.ewk-body .cat { display: inline-block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-right: 10px; background: #111; color: #fff; opacity: 1; vertical-align: 1px; }
.dark .ewk-body .cat { background: #f5f5f5; color: #111; }
.ewk-body .meta .cat + .badge { margin-left: -2px; }
.snap-pt { font-size: 52px; font-weight: 200; line-height: 1; letter-spacing: -.01em; margin-top: 6px; }
.snap-wave { display: block; height: 44px; margin: 0 -22px; border-top: 1px solid rgba(0,0,0,.12); opacity: .5;
  background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px) center / 100% 40% no-repeat,
  repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 21px) center / 100% 80% no-repeat; }
.dark .snap-wave { border-color: rgba(255,255,255,.14); opacity: .35; }
.ewk-eps { list-style: none; margin: 4px 0 8px; padding: 0; display: grid; gap: 14px; }
.ewk-ep { border: 1px solid rgba(0,0,0,.08); padding: 14px 16px; }
.dark .ewk-ep { border-color: rgba(255,255,255,.12); }
.ep-t { font-size: 15px; margin: 0 0 2px; }
.ep-m { font-size: 12px; letter-spacing: .06em; opacity: .55; margin: 0 0 12px; }
.ewk-embed { min-height: 44px; }
.ewk-embed.on iframe { display: block; width: 100%; height: 440px; border: 0; border-radius: 4px; background: #111; }
.ewk-play { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: inherit; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: inherit; background: none; padding: 9px 16px; border: 1px solid rgba(0,0,0,.15); border-radius: 999px; transition: border-color .3s ease; }
.dark .ewk-play { border-color: rgba(255,255,255,.2); }
.ewk-play:hover, .ewk-play:focus-visible { border-color: currentColor; }
.ewk-play svg { width: 12px; height: 12px; fill: currentColor; }
.ewk-note { font-size: 12px; opacity: .5; margin: 0 0 18px; line-height: 1.6; }
.ewk-credit { font-size: 13px; opacity: .6; margin: 18px 0 0; font-style: italic; }

/* share */
.ewk-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; }
.ewk-share .sh-l { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .5; margin-right: 4px; }
.ewk-share .sh-b { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; color: inherit; text-decoration: none; background: none; cursor: pointer; padding: 7px 14px; border: 1px solid rgba(0,0,0,.12); border-radius: 999px; opacity: .8; transition: opacity .3s ease, border-color .3s ease; }
.dark .ewk-share .sh-b { border-color: rgba(255,255,255,.18); }
.ewk-share .sh-b:hover, .ewk-share .sh-b:focus-visible { opacity: 1; border-color: currentColor; }
.ewk-share svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ewk-share .sh-msg { flex-basis: 100%; font-size: 12px; opacity: .65; }
.ewk-item[id] { scroll-margin-top: 80px; }
