:root {
    --color: #9fdf55;
    /* Ramka hero: boki + dół (+ 20px padding-top od treści). Masthead: odsunięcie tylko przez `top`. */
    --ek-hero-outer-padding: 40px;
}

body {
    font-family: "Syne", sans-serif;
    font-weight: 400;
}

.return-box {
    display: inline-block;
    border: 2px dashed #ccc;
    padding: 15px 25px;
    border-radius: 10px;
    color: #fff;
    background: rgba(255,255,255,0.05);
    text-align: center;
    margin-top: 25px;
}
.return-label {
    font-size: 16px;
    margin-bottom: 5px;
}
.return-code-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 5px 10px;
}
.return-code {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
}
.copy-code-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: opacity 0.2s;
    padding: 0;
}

.copy-code-btn svg {
    width: 24px;
    height: 24px;
}

.copy-code-btn:hover { opacity: 0.7; }
.return-expiration {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}
.copy-notice {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #c4d6b0;
}

.ekoliga-auth,
.ekoliga-dashboard {
    max-width: 1160px;
    margin: 30px auto;
    padding: 0 16px;
}

.ekoliga-auth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.ekoliga-auth-grid--single {
    max-width: 440px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

.ekoliga-card__intro {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.45;
    opacity: 0.95;
}

.ekoliga-auth__row-actions {
    margin: 10px 0 0;
    text-align: center;
}

.ekoliga-auth__forgot-link {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    color: #fff8c5;
    font: inherit;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.ekoliga-auth__forgot-link:hover {
    color: #fff;
}

.ekoliga-auth__footer-link {
    margin: 14px 0 0;
    text-align: center;
}

.ekoliga-auth__footer-link a {
    color: #fff8c5;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ekoliga-auth__footer-link a:hover {
    color: #fff;
}

.ekoliga-dashboard__points {
    font-size: 1.1rem;
    margin-top: 0;
}

.ekoliga-card {
    background: #0f6b67;
    color: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(11, 98, 94, 0.2);
}

.ekoliga-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.ekoliga-card form,
.ekoliga-inline-form {
    display: grid;
    gap: 8px;
}

.ekoliga-card input,
.ekoliga-card select,
.ekoliga-card textarea,
.ekoliga-inline-form input,
.ekoliga-inline-form textarea {
    border: 1px solid #d8e6e5;
    border-radius: 8px;
    padding: 10px 12px;
}

.ekoliga-card button,
.ekoliga-inline-form button {
    background: #f3c63f;
    color: #0b3f3c;
    border: none;
    border-radius: 8px;
    font-weight: 400;
    padding: 10px 14px;
    cursor: pointer;
}

.ekoliga-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.ekoliga-table th,
.ekoliga-table td {
    border: 1px solid #d7e6e5;
    padding: 8px 10px;
    text-align: left;
}

.ekoliga-notice {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    padding: 12px 14px;
    border-radius: 8px;
    color: #fff;
    max-width: 420px;
}

.ekoliga-notice-success { background: #1e8c00; }
.ekoliga-notice-error { background: #c0392b; }

.points-info {
    background: #e7f6f5;
    color: #0a4b47;
    border: 1px solid #badfdb;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
}

/* === Home look refresh (without shipment block changes) === */
:root {
    --ek-dark: #0e2b33;
    --ek-dark-2: #102f37;
    --ek-mint-bg: #eef4ef;
    --ek-card: #f8faf8;
    --ek-green: #9fdf55;
    --ek-green-dark: #0f5f53;
    --ek-text: #1a2124;
}

.faq-button a,
.info-button a,
.packing-button a {
    border-radius: 999px;
    background: var(--ek-green);
    color: var(--ek-dark);
    font-weight: 400;
    letter-spacing: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 10px 20px rgba(159, 223, 85, 0.25);
}

.faq-button a:hover,
.info-button a:hover,
.packing-button a:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(159, 223, 85, 0.32);
}

.section-wrapper.info-section__section.global-section-style,
.section-wrapper.faq-section__section.global-section-style {
    background: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}

.info-wrapper-left,
.faq-wrapper-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-header,
.faq-header {
    color: var(--ek-text);
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.info-header strong,
.faq-header strong {
    background: transparent;
    color: var(--ek-green);
    padding: 0;
}

.info-text,
.faq-text {
    color: #4f5a60;
    font-size: 18px;
    max-width: 680px;
}

.info-wrapper-right img {
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(12, 40, 40, 0.12);
}

.section-wrapper.packing-section__section.global-section-style {
    background:
        linear-gradient(180deg, rgba(237, 245, 238, 0.96), rgba(237, 245, 238, 0.96)),
        repeating-linear-gradient(
            135deg,
            rgba(131, 160, 142, 0.08) 0,
            rgba(131, 160, 142, 0.08) 2px,
            transparent 2px,
            transparent 14px
        );
    padding-top: 90px;
    padding-bottom: 90px;
}

.packing-header {
    color: var(--ek-text);
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.15;
}

.packing-header strong {
    background: transparent;
    color: var(--ek-green);
    padding: 0;
}

.packing-text {
    color: #4f5a60;
}

.packing-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.packing-item {
    display: block;
    border: 1px solid #dfe9e1;
    border-bottom: 1px solid #dfe9e1;
    border-radius: 16px;
    padding: 18px;
    background: var(--ek-card);
    box-shadow: 0 10px 24px rgba(18, 57, 54, 0.08);
}

.packing-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
    max-height: 180px;
    object-fit: cover;
}

.number-circle {
    height: 34px;
    width: 34px;
    font-size: 14px;
    font-weight: 400;
    background: var(--ek-green);
    color: var(--ek-dark);
}

.packing-question {
    color: #152126;
    font-size: 17px;
    grid-template-columns: 34px 1fr;
    gap: 12px;
}

.packing-answer {
    margin-top: 12px;
    color: #5c666c;
    font-size: 14px;
}

.faq-list {
    border-radius: 16px;
    background: #fff;
    border: 1px solid #dce9dd;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #e3ece4;
    padding: 16px 18px;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    color: #1d2a2f;
}

.faq-answer {
    color: #546067;
}

@media screen and (max-width: 1200px) {
    .packing-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 800px) {
    .packing-list {
        grid-template-columns: 1fr;
    }
}

.ekoliga-section-heading {
    text-align: center;
    margin: 0 auto 28px;
    max-width: 860px;
}

.ekoliga-section-kicker {
    display: inline-block;
    color: var(--ek-green);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-size: 13px;
    margin-bottom: 8px;
}

.ekoliga-section-heading h2 {
    margin: 0;
    color: #161f24;
    font-size: clamp(24px, 3vw, 44px);
    line-height: 1.15;
}

.ekoliga-section-heading h2 strong,
.info-header strong,
.packing-header strong,
.faq-header strong {
    border-radius: 100px;
    padding: 2px 12px;
    background: var(--color) !important;
    color: #0b2a30 !important;
}

.packing-section--ranking .packing-wrapper {
    grid-template-columns: calc(34% - 25px) calc(66% - 25px);
    gap: 50px;
}

.ekoliga-ranking-table-wrapper {
    background: #ffffff;
    border: 1px solid #dfe9e1;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(17, 56, 52, 0.08);
    margin-bottom: 16px;
}

.ekoliga-ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ekoliga-ranking-table th,
.ekoliga-ranking-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #edf2ed;
    text-align: left;
    font-size: 14px;
}

.ekoliga-ranking-table thead th {
    background: #f5faf6;
    color: #0f5f53;
    font-weight: 400;
}

.ekoliga-ranking-table tbody tr:last-child td {
    border-bottom: none;
}

.ekoliga-ranking-table tbody tr:nth-child(1) td:first-child,
.ekoliga-ranking-table tbody tr:nth-child(2) td:first-child,
.ekoliga-ranking-table tbody tr:nth-child(3) td:first-child {
    color: #0d684f;
    font-weight: 400;
}

.faq-section--rewards .faq-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
}

.faq-section--rewards .faq-wrapper-left {
    text-align: center;
}

.ekoliga-rewards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.ekoliga-reward-card {
    background: #fff;
    border: 1px solid #e2ece4;
    border-radius: 14px;
    padding: 16px;
    min-height: 180px;
    box-shadow: 0 10px 24px rgba(18,57,54,0.06);
}

.ekoliga-reward-card h3 {
    margin: 0 0 10px;
    color: #1a2528;
    font-size: 20px;
}

.ekoliga-reward-points {
    display: inline-block;
    border-radius: 999px;
    background: #eaf7df;
    color: #205f2f;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 10px;
}

.ekoliga-reward-desc {
    color: #556166;
    font-size: 14px;
    line-height: 1.5;
}

@media screen and (max-width: 1200px) {
    .ekoliga-rewards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    .packing-section--ranking .packing-wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 700px) {
    .ekoliga-rewards-grid {
        grid-template-columns: 1fr;
    }
}

/* Tytuł strony / wpisu: ta sama „karta” co hero (gradienty), bez zdjęcia w tle */
body.singular header.entry-header {
    box-sizing: border-box;
    margin-top: calc(var(--ek-hero-outer-padding) + 88px);
    margin-bottom: var(--ek-hero-outer-padding);
    margin-left: calc(var(--ek-hero-outer-padding) + max(var(--global-padding), calc((100% - 1920px + (2 * var(--global-padding))) / 2)));
    margin-right: calc(var(--ek-hero-outer-padding) + max(var(--global-padding), calc((100% - 1920px + (2 * var(--global-padding))) / 2)));
    padding: clamp(72px, 12vh, 120px) 40px 48px;
    border-radius: 16px;
    background-color: #0d2b34;
    background-image:
        linear-gradient(180deg, rgba(9, 31, 40, 0.72), rgba(8, 27, 34, 0.85)),
        radial-gradient(circle at 30% 10%, rgba(158, 223, 85, 0.24), transparent 40%),
        radial-gradient(circle at 70% 20%, rgba(255, 255, 204, 0.14), transparent 35%);
    color: #e8f1ee;
    overflow: hidden;
    position: relative;
}

body.singular header.entry-header .entry-title {
    margin: 0;
    color: #fff;
    font-family: "Syne", sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 4vw, 52px);
    letter-spacing: 0.02em;
    line-height: 1.08;
}

body.singular header.entry-header .entry-meta,
body.singular header.entry-header .entry-meta a {
    color: rgba(255, 255, 255, 0.72);
}

body.singular header.entry-header .entry-meta a:hover {
    color: var(--color);
}

@media screen and (max-width: 1200px) {
    body.singular header.entry-header {
        margin-top: calc(var(--ek-hero-outer-padding) + 76px);
        padding: clamp(56px, 10vh, 96px) 24px 40px;
    }
}

@media screen and (max-width: 700px) {
    body.singular header.entry-header {
        margin-left: max(var(--global-padding), calc((100% - 1920px + (2 * var(--global-padding))) / 2));
        margin-right: max(var(--global-padding), calc((100% - 1920px + (2 * var(--global-padding))) / 2));
        padding-left: 20px;
        padding-right: 20px;
        border-radius: 12px;
    }
}

/* Masthead: odsunięcie od góry viewport tylko przez `top` (bez padding-top); hero bez dodatkowego paddingu u góry */
header#masthead {
    top: var(--ek-hero-outer-padding);
    padding-left: calc(var(--ek-hero-outer-padding) + max(var(--global-padding), calc((100% - 1920px + (2 * var(--global-padding))) / 2)));
    padding-right: calc(var(--ek-hero-outer-padding) + max(var(--global-padding), calc((100% - 1920px + (2 * var(--global-padding))) / 2)));
}

.admin-bar header#masthead {
    top: calc(32px + var(--ek-hero-outer-padding));
}

@media screen and (max-width: 782px) {
    .admin-bar header#masthead {
        top: calc(46px + var(--ek-hero-outer-padding));
    }
}