/**
 * New home page [project_strona_startowa]. Uses the tokens from kurka.css.
 */

body:has(.pcm-landing) { overflow-x: clip; }

/* The whole page spans the window, even inside a narrow theme column
   (block themes force max-width on direct children, hence !important). */
.pcm-landing {
    line-height: 1.55;
    width: 100vw;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    background: var(--k-cream);
    box-sizing: border-box;
}
.pcm-landing h1, .pcm-landing h2, .pcm-landing h3 {
    font-family: var(--k-head);
    color: var(--k-moss);
    line-height: 1.12;
    margin: 0;
    letter-spacing: -.01em;
}
.pcm-landing a { text-decoration: none; }
.pcm-landing p { margin: 0; }

/* full width sections inside a narrow theme column */
.pcm-l-bleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.pcm-l-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* ---------- hero ---------- */
.pcm-l-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fdf3d9 0%, #f6efe0 55%, var(--k-water-l) 100%);
}
.pcm-l-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 30px;
    align-items: center;
    padding-top: 60px;
    padding-bottom: 120px;
}
.pcm-l-tag {
    display: inline-block;
    background: #fff;
    color: var(--k-moss-2);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: var(--k-shadow);
}
.pcm-landing .pcm-l-hero h1 { font-size: clamp(36px, 5.2vw, 64px); margin: 18px 0; }
.pcm-l-hero h1 em { font-style: normal; color: var(--k-coral); }
.pcm-l-lead { font-size: 19px; color: var(--k-muted); max-width: 520px; }
.pcm-l-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pcm-l-stats { display: flex; gap: 28px; margin-top: 34px; flex-wrap: wrap; }
.pcm-l-stats b { display: block; font-family: var(--k-head); font-size: 30px; color: var(--k-moss); line-height: 1.2; }
.pcm-l-stats span { font-size: 14px; color: var(--k-muted); }
.pcm-l-hero-art { width: 100%; height: auto; }
.pcm-l-hero-photo { width: 100%; height: auto; border-radius: 32px; box-shadow: var(--k-shadow-hover); }
.pcm-l-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--k-cream); }
.pcm-l-bob { animation: pcm-l-bob 4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pcm-l-bob { 50% { transform: translateY(-8px) rotate(-2deg); } }
.pcm-l-sway { animation: pcm-l-sway 5s ease-in-out infinite; transform-origin: bottom center; transform-box: fill-box; }
@keyframes pcm-l-sway { 50% { transform: rotate(3deg); } }
/* Superhero moorhen: flies up and down, cape flutters, speed lines and clouds move */
.pcm-l-fly { animation: pcm-l-fly 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pcm-l-fly { 0%, 100% { transform: translate(0, 6px) rotate(1deg); } 50% { transform: translate(8px, -12px) rotate(-3deg); } }
.pcm-l-cape { animation: pcm-l-cape .9s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: 100% 60%; }
@keyframes pcm-l-cape { from { transform: skewY(-3deg) scaleY(.94); } to { transform: skewY(3deg) scaleY(1.05); } }
.pcm-l-speed path { animation: pcm-l-speed 1.4s linear infinite; }
.pcm-l-speed path:nth-child(2) { animation-delay: -.5s; } .pcm-l-speed path:nth-child(3) { animation-delay: -.9s; }
@keyframes pcm-l-speed { 0% { transform: translateX(14px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-26px); opacity: 0; } }
.pcm-l-drift { animation: pcm-l-drift 9s ease-in-out infinite alternate; }
@keyframes pcm-l-drift { to { transform: translateX(-18px); } }

/* ---------- 3 actions ---------- */
.pcm-l-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
}
.pcm-l-act {
    background: #fff;
    border-radius: var(--k-r);
    padding: 28px;
    box-shadow: var(--k-shadow);
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--k-ink);
    transition: transform .25s, box-shadow .25s;
}
.pcm-l-act:hover { transform: translateY(-6px); box-shadow: var(--k-shadow-hover); }
.pcm-l-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; }
.pcm-landing .pcm-l-act h3 { font-size: 23px; }
.pcm-l-act p { color: var(--k-muted); flex: 1; }
.pcm-l-go { font-weight: 800; }
.pcm-l-act-1 .pcm-l-ico { background: #fde3dc; color: var(--k-coral); } .pcm-l-act-1 .pcm-l-go { color: var(--k-coral); }
.pcm-l-act-2 .pcm-l-ico { background: var(--k-leaf-l); color: var(--k-moss-2); } .pcm-l-act-2 .pcm-l-go { color: var(--k-moss-2); }
.pcm-l-act-3 .pcm-l-ico { background: var(--k-water-l); color: var(--k-water); } .pcm-l-act-3 .pcm-l-go { color: var(--k-water); }

/* ---------- sections ---------- */
.pcm-l-section { padding: 80px 0; scroll-margin-top: 80px; }
.pcm-l-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.pcm-landing .pcm-l-head h2 { font-size: clamp(30px, 3.6vw, 44px); }
.pcm-l-head p { color: var(--k-muted); max-width: 540px; }
.pcm-l-empty { padding: 30px; text-align: center; color: var(--k-muted); background: #fff; border-radius: 18px; box-shadow: var(--k-shadow); }

/* ---------- calendar ---------- */
.pcm-l-cal { display: grid; grid-template-columns: 360px 1fr; gap: 26px; }
.pcm-l-month { background: #fff; border-radius: var(--k-r); padding: 22px; box-shadow: var(--k-shadow); align-self: start; }
.pcm-l-month-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.pcm-l-month-top b { font-family: var(--k-head); font-size: 21px; color: var(--k-moss); }
.pcm-l-month-top button {
    border: 0; background: var(--k-sand); width: 36px; height: 36px; border-radius: 50%;
    cursor: pointer; font-size: 18px; line-height: 1; color: var(--k-moss); padding: 0;
}
.pcm-l-month-top button:hover { background: var(--k-leaf-l); }
.pcm-l-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.pcm-l-dn { font-size: 12px; font-weight: 800; color: var(--k-muted); padding: 4px 0; }
.pcm-l-day {
    aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center;
    font-weight: 700; font-size: 15px; position: relative; color: #6f7c75;
    border: 0; background: transparent; font-family: inherit; padding: 0;
}
.pcm-l-day.has { cursor: pointer; color: var(--k-moss); background: #eef5ec; }
.pcm-l-day.has::after {
    content: ""; position: absolute; bottom: 6px; width: 6px; height: 6px;
    border-radius: 50%; background: var(--dot, var(--k-coral));
}
.pcm-l-day.has:hover { background: var(--k-leaf-l); }
.pcm-l-day.sel { background: var(--k-moss) !important; color: #fff; }
.pcm-l-day.today { box-shadow: inset 0 0 0 2px var(--k-sun); }
.pcm-l-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pcm-l-chip {
    border: 0; cursor: pointer; font: 700 14px var(--k-body); padding: 8px 16px; border-radius: 999px;
    background: #fff; color: var(--k-moss); box-shadow: inset 0 0 0 1.5px var(--k-line);
}
.pcm-l-chip.on { background: var(--k-moss); color: #fff; box-shadow: none; }
.pcm-l-events { display: flex; flex-direction: column; gap: 14px; }
.pcm-l-ev {
    display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center;
    background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: var(--k-shadow);
    animation: pcm-l-fade .35s ease both;
}
@keyframes pcm-l-fade { from { opacity: 0; transform: translateY(8px); } }
.pcm-l-date { border-radius: 14px; text-align: center; padding: 8px 0; color: #fff; }
.pcm-l-date b { display: block; font-family: var(--k-head); font-size: 30px; line-height: 1; }
.pcm-l-date span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pcm-landing .pcm-l-ev h3 { font-size: 19px; margin-bottom: 4px; }
.pcm-landing .pcm-l-ev h3 a { color: inherit; }
.pcm-landing .pcm-l-ev h3 a:hover { color: var(--k-coral); }
.pcm-l-series { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pcm-l-desc { color: var(--k-muted); font-size: 15px; margin: 2px 0 6px !important; }
.pcm-l-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--k-muted); }
.pcm-l-seats { display: block; margin-top: 4px; font-size: 13px; font-weight: 800; color: var(--k-moss-2); }
.pcm-l-seats.low { color: var(--k-coral); }

/* ---------- news ---------- */
.pcm-l-news { background: var(--k-sand); }
.pcm-l-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcm-l-card {
    display: block; background: #fff; border-radius: var(--k-r); overflow: hidden;
    box-shadow: var(--k-shadow); color: var(--k-ink); transition: transform .25s, box-shadow .25s;
}
.pcm-l-card:hover { transform: translateY(-6px); box-shadow: var(--k-shadow-hover); }
.pcm-l-card-img { display: block; aspect-ratio: 16 / 9; background: var(--k-leaf-l) center / cover no-repeat; }
.pcm-l-card-body { display: block; padding: 20px; }
.pcm-l-kicker { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--k-coral); }
.pcm-landing .pcm-l-card h3 { font-size: 20px; margin: 6px 0 8px; }
.pcm-l-card p { color: var(--k-muted); font-size: 15px; }

/* ---------- shop ---------- */
.pcm-l-shop {
    display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
    background: var(--k-moss); color: #eaf3ec; border-radius: 32px; padding: 44px;
}
.pcm-landing .pcm-l-shop h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; }
.pcm-l-shop ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 18px 0 24px; }
.pcm-l-shop li { display: flex; gap: 10px; align-items: center; }
.pcm-l-shop li a { color: #fff; }
.pcm-l-shop .pcm-k-btn-coral { box-shadow: none; }
.pcm-l-shop-art { width: 100%; height: auto; }

/* ---------- phone ---------- */
@media (max-width: 900px) {
    .pcm-l-hero-grid { grid-template-columns: 1fr; padding-top: 30px; }
    .pcm-l-hero-art, .pcm-l-hero-photo { max-width: 420px; margin: 0 auto; order: -1; }
    .pcm-l-actions, .pcm-l-cards, .pcm-l-cal, .pcm-l-shop { grid-template-columns: 1fr; }
    .pcm-l-ev { grid-template-columns: 70px 1fr; }
    .pcm-l-ev .pcm-k-btn { grid-column: 1 / -1; }
    .pcm-l-shop { padding: 28px; }
    .pcm-l-section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .pcm-l-bob, .pcm-l-sway, .pcm-l-ev, .pcm-l-fly, .pcm-l-cape, .pcm-l-speed path, .pcm-l-drift { animation: none !important; }
}

/* ---------- cards with inner links (news, recent events, downloads) ---------- */
article.pcm-l-card { display: flex; flex-direction: column; }
.pcm-l-card .pcm-l-card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcm-landing .pcm-l-card h3 a { color: inherit; }
.pcm-landing .pcm-l-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
article.pcm-l-card { position: relative; }
.pcm-l-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; position: relative; z-index: 1; }
.pcm-landing .pcm-l-file { padding: 8px 14px !important; font-size: 13px !important; }
.pcm-l-head-row .pcm-l-head p, .pcm-l-head-row > div > p { margin-top: 8px; }

/* ---------- featured project ---------- */
.pcm-l-featured {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 34px; align-items: center;
    background: linear-gradient(135deg, #fff 0%, #fdf3d9 100%);
    border-radius: 32px; padding: 40px 44px; box-shadow: var(--k-shadow);
}
.pcm-landing .pcm-l-featured h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 14px 0 12px; }
.pcm-l-featured p { color: var(--k-muted); font-size: 17px; margin-bottom: 22px !important; max-width: 560px; }
.pcm-l-featured-art, .pcm-l-featured-photo { width: 100%; height: auto; border-radius: 24px; }

/* ---------- support ---------- */
.pcm-l-support {
    display: grid; grid-template-columns: 140px 1fr; gap: 30px; align-items: center;
    background: #fff; border-radius: 32px; padding: 36px 40px; box-shadow: var(--k-shadow);
    border: 3px solid #fde3dc;
}
.pcm-l-support-art { width: 140px; height: 140px; }
.pcm-landing .pcm-l-support h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 10px; }
.pcm-l-support p { color: var(--k-muted); max-width: 640px; }
.pcm-l-support-data { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 16px 0 0; }
.pcm-l-support-data div { display: flex; gap: 8px; align-items: baseline; }
.pcm-l-support-data dt { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--k-coral); }
.pcm-l-support-data dd { margin: 0; font-weight: 800; color: var(--k-moss); font-variant-numeric: tabular-nums; }

/* ---------- contact band (sits right above the theme footer) ---------- */
.pcm-l-contact { background: #1f4d3a; color: #dbe9df; padding: 56px 0; margin-top: 40px; }
.pcm-l-contact-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.pcm-landing .pcm-l-contact h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 16px; }
.pcm-landing .pcm-l-contact h3 { color: #fff; font-size: 19px; margin-bottom: 12px; }
.pcm-l-contact a { color: #fff; }
.pcm-l-contact a:hover { color: var(--k-sun); }
.pcm-l-contact-list, .pcm-l-contact-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pcm-l-social { display: flex; flex-wrap: wrap; gap: 10px; }
.pcm-l-social a { border: 2px solid rgba(255,255,255,.35); border-radius: 999px; padding: 8px 16px; font-weight: 800; }
.pcm-l-social a:hover { border-color: var(--k-sun); }

/* Blocksy adds vertical space around page content; the home page sits flush. */
body:has(.pcm-landing) [data-vertical-spacing] { padding-top: 0 !important; padding-bottom: 0 !important; }
body:has(.pcm-landing) .entry-content > .pcm-landing:first-child { margin-top: 0 !important; }
body:has(.pcm-landing) .ct-footer { margin-top: 0 !important; }

@media (max-width: 900px) {
    .pcm-l-featured, .pcm-l-support, .pcm-l-contact-grid { grid-template-columns: 1fr; }
    .pcm-l-featured { padding: 28px; }
    .pcm-l-support { padding: 28px; }
    .pcm-l-support-art { width: 90px; height: 90px; }
}

/* The page itself is already full width, so its bands need no extra bleed. */
.pcm-landing .pcm-l-bleed { width: auto; margin-left: 0; margin-right: 0; }

/* Links on the home page: no text underline (the site style underlines links in running text) */
body .pcm-landing a,
body .pcm-landing .entry-content a:not([class]),
body.pcm-site-kurka .entry-content .pcm-landing a:not([class]) { text-decoration: none !important; }
body .pcm-landing .pcm-l-card h3 a { color: var(--k-moss) !important; }
body .pcm-landing .pcm-l-card:hover h3 a { color: var(--k-coral) !important; }

/* Dark contact band: light links */
body .pcm-landing .pcm-l-contact a,
body.pcm-site-kurka .entry-content .pcm-landing .pcm-l-contact a:not([class]) { color: #fff !important; }
body .pcm-landing .pcm-l-contact a:hover { color: var(--k-sun) !important; }

/* Card without a picture: a calm placeholder with a leaf */
.pcm-l-card-img:not([style]) {
    background-color: var(--k-leaf-l);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6a4f' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.5 19 2c1 2 2 4.2 2 8 0 5.5-4.8 10-10 10z'/%3E%3Cpath d='M2 21c0-3 1.9-5.4 5.2-6'/%3E%3C/svg%3E");
    background-size: 64px;
    background-repeat: no-repeat;
    background-position: center;
}

/* ================= Cenny Plastik project page ================= */
.pcm-cp .pcm-cp-hero { background: linear-gradient(180deg, #e8f4f8 0%, #eef6ef 60%, #e3f0e4 100%); }
.pcm-cp .pcm-l-hero h1 em { color: var(--k-water); }
.pcm-cp-audience { margin-top: -80px; }
.pcm-cp-audience .pcm-l-act { cursor: default; }
.pcm-cp-audience .pcm-l-act:hover { transform: none; }

.pcm-cp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.pcm-cp-steps li {
    position: relative; background: #fff; border-radius: var(--k-r); padding: 26px 22px 22px;
    box-shadow: var(--k-shadow); display: flex; flex-direction: column; gap: 8px;
}
.pcm-cp-steps li:not(:last-child)::after {
    content: "→"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%);
    color: var(--k-coral); font-weight: 800; font-size: 22px; z-index: 1;
}
.pcm-cp-step-n {
    position: absolute; top: 14px; right: 16px; font-family: var(--k-head); font-size: 34px;
    color: var(--k-leaf-l); line-height: 1;
}
.pcm-landing .pcm-cp-steps h3 { font-size: 20px; }
.pcm-cp-steps p { color: var(--k-muted); font-size: 15px; }

.pcm-cp-formats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 10px 0 0;
    background: var(--k-moss); color: #dbe9df; border-radius: 24px; overflow: hidden;
}
.pcm-cp-formats div { padding: 26px 28px; border-left: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 4px; }
.pcm-cp-formats div:first-child { border-left: 0; }
.pcm-cp-formats b { font-family: var(--k-head); font-size: 30px; color: #fff; line-height: 1.1; }

.pcm-cp-team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.pcm-cp-person { display: flex; gap: 18px; align-items: flex-start; background: #fff; border-radius: var(--k-r); padding: 22px; box-shadow: var(--k-shadow); }
.pcm-cp-avatar {
    flex: 0 0 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--k-head); font-size: 28px; font-weight: 800; color: #fff; background: var(--k-coral);
}
.pcm-cp-avatar-1 { background: var(--k-water); }
.pcm-landing .pcm-cp-person h3 { font-size: 20px; margin-bottom: 4px; }
.pcm-cp-person p { color: var(--k-muted); font-size: 15px; }

.pcm-cp-order { background: var(--k-water); }
.pcm-cp-note { margin-top: 16px !important; font-size: 14px; opacity: .85; }

@media (max-width: 900px) {
    .pcm-cp-steps, .pcm-cp-formats, .pcm-cp-team { grid-template-columns: 1fr; }
    .pcm-cp-steps li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -20px; transform: translateX(50%); }
    .pcm-cp-formats div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
    .pcm-cp-formats div:first-child { border-top: 0; }
}

/* The project page brings its own big title, so the theme's page title is not needed. */
body:has(.pcm-cp) .hero-section,
body:has(.pcm-cp) .entry-header { display: none; }

/* Links inside the coloured boxes (shop, Cenny Plastik order): white */
body .pcm-landing .pcm-l-shop a:not(.pcm-k-btn),
body.pcm-site-kurka .entry-content .pcm-landing .pcm-l-shop a:not([class]) { color: #fff !important; text-decoration: underline !important; text-decoration-color: rgba(255,255,255,.45) !important; }
body .pcm-landing .pcm-l-shop a:not(.pcm-k-btn):hover { color: var(--k-sun) !important; }

/* Series page (/cykl/<slug>/) */
.pcm-series { max-width: 1180px; margin: 0 auto; }
.pcm-series-block { margin: 40px 0; }
.pcm-series-block > h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 18px; }
.pcm-series .pcm-l-card h3 { font-size: 20px; margin: 6px 0 8px; }
.pcm-series .pcm-l-card.is-past { opacity: .85; }
.pcm-series-place { display: block; font-size: 14px; font-weight: 700; color: var(--k-ink, #2b2b33); }
.pcm-series-go { display: inline-block; margin-top: 6px; font-weight: 800; color: var(--k-coral, #e0533d); }
.pcm-series-empty { padding: 22px; border-radius: 18px; background: var(--k-leaf-l, #e3f0e4); }

/* Calendar archive: past events stay in the calendar, muted */
.pcm-l-day.has.past { color: var(--k-muted); background: #f1efe9; }
.pcm-l-day.has.past::after { opacity: .45; }
.pcm-l-ev.is-past { opacity: .88; }
.pcm-l-ev.is-past .pcm-l-date span { font-size: 11px; }
.pcm-landing .pcm-l-past-head { margin: 26px 0 12px; font-size: 20px; color: var(--k-muted); }
.pcm-l-more { display: block; width: 100%; margin-top: 14px; padding: 14px 18px; border: 2px dashed var(--k-leaf-l, #cfe3cd); border-radius: 16px; background: transparent; color: var(--k-moss, #2d6a4f); font: inherit; font-weight: 800; cursor: pointer; }
.pcm-l-more:hover { background: #eef5ec; }
.pcm-series-hero { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 24px; margin: 18px 0 6px; }
.pcm-series-back { margin: 10px 0 0; font-weight: 800; }
.pcm-series-back a { color: var(--k-moss, #2d6a4f); text-decoration: none; }
.pcm-series-archive .pcm-l-card.is-live .pcm-l-kicker { color: var(--k-moss, #2d6a4f); }
a.pcm-l-more { text-align: center; text-decoration: none; }

/* Events page [project_kalendarz]: big calendar + archive (portfolio) */
.pcm-evp { max-width: 1180px; margin: 0 auto; }
.pcm-evp-block { margin: 36px 0 56px; }
.pcm-evp-block > h2, .pcm-evp-archive-head h2 { font-size: clamp(26px, 3.2vw, 38px); margin: 0 0 18px; }
.pcm-l-cal-big { grid-template-columns: 1fr; }
.pcm-l-cal-big .pcm-l-month { padding: 26px; }
.pcm-l-cal-big .pcm-l-days { gap: 6px; }
.pcm-l-cal-big .pcm-l-day { aspect-ratio: auto; min-height: 92px; place-items: start; align-content: start; gap: 4px; padding: 8px 10px; text-align: left; background: #f7f5ef; font-size: 16px; }
.pcm-l-cal-big .pcm-l-day.has { background: #eef5ec; }
.pcm-l-cal-big .pcm-l-day.has::after { top: 12px; right: 10px; bottom: auto; }
.pcm-l-day-title { display: block; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--k-moss); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.pcm-l-day.sel .pcm-l-day-title { color: #fff; }
.pcm-l-ev.has-img { grid-template-columns: 150px 84px 1fr auto; }
.pcm-l-ev-img { display: block; align-self: stretch; min-height: 96px; border-radius: 14px; background: var(--k-leaf-l) center / cover no-repeat; }
.pcm-evp-archive-head { display: flex; justify-content: space-between; align-items: end; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.pcm-evp-archive-head p { color: var(--k-muted); margin: 0; }
.pcm-evp-year { margin: 28px 0; }
.pcm-evp-year > h3 { font-size: 26px; margin: 0 0 14px; color: var(--k-moss); }
.pcm-evp .pcm-l-card h4 { font-size: 18px; margin: 6px 0 8px; }
.pcm-evp-archive .pcm-l-card[hidden], .pcm-evp-year[hidden] { display: none; }
@media (max-width: 800px) {
    .pcm-l-cal-big .pcm-l-day { min-height: 54px; padding: 6px; font-size: 14px; }
    .pcm-l-day-title { display: none; }
    .pcm-l-ev.has-img { grid-template-columns: 70px 1fr; }
    .pcm-l-ev.has-img .pcm-l-ev-img { grid-column: 1 / -1; min-height: 140px; }
}

/* Home events as a plain list (Strona główna → Wygląd: tylko lista) */
.pcm-l-list-only { display: grid; gap: 14px; }
.pcm-l-list-only .pcm-l-date { background: var(--k-coral, #e0533d); }
.pcm-l-list-only .pcm-l-series { color: var(--k-coral, #e0533d); }
.pcm-l-list-more { margin: 22px 0 0; text-align: center; }
.pcm-landing .pcm-l-list-more { margin: 0; padding-top: 28px; text-align: center; }
.pcm-landing .pcm-l-ev-grid .pcm-l-card h3 { font-size: 19px; margin: 6px 0 6px; }
.pcm-l-ev-grid .pcm-l-series { display: block; margin-top: 6px; color: var(--k-coral, #e0533d); }
.pcm-cp-logo { display: block; width: 150px; height: auto; margin: 0 0 14px; }
@media (max-width: 900px) { .pcm-cp-logo { width: 120px; margin: 0 auto 12px; } }
