:root {
    --cec-et-green: #075b55;
    --cec-et-green-2: #16823f;
    --cec-et-ink: #123c3a;
    --cec-et-cream: #f7f5ed;
    --cec-et-border: #dce5e0;
    --cec-et-shadow: 0 14px 42px rgba(11, 55, 51, 0.17);
}

.cec-et-shell {
    position: relative;
    width: 100%;
    min-height: var(--cec-et-height);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--cec-et-ink);
    overflow: hidden;
    background: var(--cec-et-cream);
    border-radius: 14px;
}

.cec-et-topbar {
    position: absolute;
    z-index: 900;
    top: 16px;
    left: 16px;
    right: 16px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    pointer-events: none;
}

.cec-et-topbar > * {
    pointer-events: auto;
}

.cec-et-search-wrap,
.cec-et-category-bar,
.cec-et-create-button {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 5px 18px rgba(15, 60, 56, 0.15);
    border: 1px solid rgba(7, 91, 85, 0.1);
}

.cec-et-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 9px;
}

.cec-et-search {
    width: 100%;
    padding: 12px 0;
    border: 0 !important;
    outline: none;
    background: transparent;
    color: var(--cec-et-ink);
    box-shadow: none !important;
}

.cec-et-category-bar {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 5px;
    border-radius: 9px;
    overflow-x: auto;
}

.cec-et-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 42px;
    height: 38px;
    padding: 5px 9px;
    border: 0;
    border-radius: 7px;
    background: #f4f7f5;
    color: var(--cec-et-green);
    cursor: pointer;
    white-space: nowrap;
}

.cec-et-category img {
    width: 22px;
    height: 30px;
    object-fit: contain;
}

.cec-et-category span {
    display: none;
}

.cec-et-category.is-active {
    color: #fff;
    background: var(--cec-et-green);
}

.cec-et-create-button,
.cec-et-my-pins-button,
.cec-et-publish-button,
.cec-et-next,
.cec-et-back,
.cec-et-save-position,
.cec-et-delete-pin {
    border: 0;
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 700;
}

.cec-et-create-button,
.cec-et-publish-button,
.cec-et-next,
.cec-et-save-position {
    background: var(--cec-et-green);
    color: #fff;
}

.cec-et-create-button-large {
    width: 100%;
    margin-top: 12px;
}

.cec-et-my-pins-button,
.cec-et-back {
    background: #edf3f0;
    color: var(--cec-et-green);
}

.cec-et-delete-pin {
    background: #a12f2f;
    color: #fff;
}

.cec-et-map-wrap,
.cec-et-map {
    min-height: var(--cec-et-height);
    height: var(--cec-et-height);
}

.cec-et-panel {
    position: absolute;
    z-index: 1100;
    top: 0;
    right: 0;
    width: min(420px, 92vw);
    height: 100%;
    overflow-y: auto;
    padding: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--cec-et-shadow);
    transform: translateX(105%);
    transition: transform 0.28s ease;
}

.cec-et-panel.is-open {
    transform: translateX(0);
}

.cec-et-panel-close {
    position: sticky;
    z-index: 4;
    top: 0;
    float: right;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f1f4f2;
    color: var(--cec-et-ink);
    font-size: 23px;
    cursor: pointer;
}

.cec-et-panel h2 {
    margin-top: 18px;
    margin-bottom: 9px;
}

.cec-et-login-note {
    padding: 12px;
    background: #edf3f0;
    border-radius: 8px;
}

.cec-et-step-label {
    color: #5b7772;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.cec-et-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
}

.cec-et-category-choice {
    display: grid;
    place-items: center;
    min-height: 130px;
    padding: 12px;
    border: 2px solid var(--cec-et-border);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
}

.cec-et-category-choice:has(input:checked) {
    border-color: var(--cec-et-green);
    background: #edf8f0;
}

.cec-et-category-choice input {
    position: absolute;
    opacity: 0;
}

.cec-et-category-choice img {
    width: 54px;
    height: 80px;
    object-fit: contain;
}

.cec-et-category-choice span {
    margin-top: 5px;
    font-weight: 700;
}

.cec-et-create-form label {
    display: grid;
    gap: 6px;
    margin: 15px 0;
    font-weight: 700;
}

.cec-et-create-form input,
.cec-et-create-form textarea {
    width: 100%;
    padding: 11px;
    border: 1px solid #cbd8d3;
    border-radius: 7px;
    background: #fff;
}

.cec-et-create-form small {
    color: #68807c;
    font-weight: 400;
}

.cec-et-coordinates,
.cec-et-form-message,
.cec-et-owner-status {
    margin: 12px 0;
    padding: 10px;
    border-radius: 7px;
    background: #edf3f0;
}

.cec-et-my-pins-list {
    display: grid;
    gap: 8px;
}

.cec-et-my-pin-item {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px;
    border: 1px solid var(--cec-et-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: left;
}

.cec-et-my-pin-item small {
    color: #70847f;
    text-transform: uppercase;
}

.cec-et-owner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.cec-et-owner-status {
    flex-basis: 100%;
}

.cec-et-popup {
    display: grid;
    gap: 7px;
    min-width: 250px;
}

.cec-et-popup-photo {
    width: 100%;
    height: 145px;
    object-fit: cover;
    border-radius: 7px;
}

.cec-et-popup-category {
    margin-top: 3px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 12px;
}

.cec-et-popup h3,
.cec-et-popup p {
    margin: 0;
}

.cec-et-popup-meta {
    color: #617772;
    font-size: 13px;
}

.cec-et-popup-link,
.cec-et-project-button {
    display: inline-block;
    padding: 9px 12px;
    border-radius: 7px;
    background: var(--cec-et-green-2);
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
}

.cec-et-project-extras {
    margin-top: 28px;
}

.cec-et-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.cec-et-gallery img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 9px;
}

.cec-et-share-buttons {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    align-items: center;
    margin: 18px 0;
}

.cec-et-share-buttons a {
    padding: 8px 10px;
    border: 1px solid var(--cec-et-border);
    border-radius: 7px;
    text-decoration: none;
}

.cec-et-comment-photo-field {
    display: grid;
    gap: 6px;
}

.cec-et-comment-photo {
    display: block;
    max-width: min(100%, 600px);
    height: auto;
    margin-top: 12px;
    border-radius: 9px;
}

@media (max-width: 1100px) {
    .cec-et-topbar {
        grid-template-columns: 1fr auto;
    }

    .cec-et-category-bar {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 700px) {
    .cec-et-shell {
        --cec-et-height: 700px !important;
        border-radius: 0;
    }

    .cec-et-topbar {
        top: 8px;
        left: 8px;
        right: 8px;
        grid-template-columns: 1fr auto;
    }

    .cec-et-category-bar {
        max-width: calc(100vw - 16px);
    }

    .cec-et-category span {
        display: none;
    }

    .cec-et-create-button {
        padding: 11px;
    }

    .cec-et-panel {
        top: auto;
        bottom: 0;
        width: 100%;
        height: min(82%, 660px);
        transform: translateY(105%);
        border-radius: 18px 18px 0 0;
    }

    .cec-et-panel.is-open {
        transform: translateY(0);
    }
}

/* Dedicated Eco Tag profile page */
.cec-et-single-page {
    padding: 38px 18px 70px;
    background: linear-gradient(180deg, #eef6f3 0%, #f8f6ef 100%);
    color: #153e3a;
}

.cec-et-single-card {
    max-width: 1240px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(14, 63, 57, 0.16);
}

.cec-et-single-hero {
    display: grid;
    grid-template-columns: minmax(320px, 48%) 1fr;
    min-height: 430px;
    background: #0a4f4a;
    color: #fff;
}

.cec-et-single-hero > img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
}

.cec-et-single-heading {
    align-self: center;
    padding: 52px;
}

.cec-et-single-category {
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cec-et-single-heading h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(34px, 5vw, 66px);
    line-height: 1.02;
}

.cec-et-single-byline {
    margin-top: 18px;
    color: rgba(255,255,255,0.78);
}

.cec-et-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 36px;
    padding: 44px;
}

.cec-et-single-description {
    font-size: 18px;
    line-height: 1.75;
}

.cec-et-single-section {
    margin-top: 44px;
    padding-top: 34px;
    border-top: 1px solid #dfe8e4;
}

.cec-et-single-section h2,
.cec-et-single-panel h2 {
    color: #0b5751;
}

.cec-et-single-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.cec-et-single-panel {
    padding: 20px;
    border: 1px solid #dce7e2;
    border-radius: 13px;
    background: #f8fbf9;
}

.cec-et-single-map {
    width: 100%;
    height: 290px;
    margin: 12px 0;
    overflow: hidden;
    border-radius: 9px;
}

.cec-et-directions-button,
.cec-et-copy-link {
    display: inline-block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 7px;
    background: #075b55;
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

.cec-et-single-panel .cec-et-share-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.cec-et-single-panel .cec-et-share-buttons a,
.cec-et-single-panel .cec-et-share-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px;
    border: 1px solid #cbd9d4;
    border-radius: 7px;
    background: #fff;
    color: #075b55;
    text-decoration: none;
    cursor: pointer;
}

.cec-et-copy-status {
    margin-top: 8px;
    color: #17642f;
    font-weight: 700;
}

.cec-et-comments-intro {
    color: #617b76;
}

.cec-et-comments-section .comment-list {
    list-style: none;
    padding: 0;
}

.cec-et-comments-section .comment-body {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid #dde7e3;
    border-radius: 11px;
    background: #fbfdfc;
}

.cec-et-comments-section .comment-meta {
    margin-bottom: 10px;
}

.cec-et-comments-section textarea,
.cec-et-comments-section input[type="text"],
.cec-et-comments-section input[type="email"],
.cec-et-comments-section input[type="url"],
.cec-et-comments-section input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd9d4;
    border-radius: 7px;
}

.cec-et-comments-section input[type="submit"] {
    padding: 11px 18px;
    border: 0;
    border-radius: 7px;
    background: #16823f;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 900px) {
    .cec-et-single-hero,
    .cec-et-single-grid {
        grid-template-columns: 1fr;
    }

    .cec-et-single-hero > img {
        min-height: 320px;
        max-height: 500px;
    }

    .cec-et-single-heading,
    .cec-et-single-grid {
        padding: 28px;
    }
}


/* 0.3.0 launch theme */
.cec-et-single-page,
.cec-et-single-page * {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif !important;
}

.cec-et-single-page {
    padding: 34px 18px 72px;
    background: #142d45;
    color: #ffffff;
}

.cec-et-single-card {
    max-width: 1260px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    background: #1f4261;
    box-shadow: 0 22px 65px rgba(0, 10, 25, 0.38);
}

.cec-et-single-hero {
    display: grid;
    grid-template-columns: minmax(320px, 50%) 1fr;
    min-height: 450px;
    background: #173850;
    color: #ffffff;
}

.cec-et-single-image-wrap {
    min-height: 450px;
    background: #10283c;
}

.cec-et-single-image-wrap > img {
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
}

.cec-et-single-image-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 450px;
    color: rgba(255,255,255,0.55);
    font-size: 32px;
    font-weight: 700;
}

.cec-et-single-heading {
    align-self: center;
    padding: 54px;
}

.cec-et-back-to-map {
    display: inline-block;
    margin-bottom: 34px;
    color: #d7e8f4 !important;
    text-decoration: none !important;
    font-weight: 700;
}

.cec-et-single-category {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cec-et-single-heading h1 {
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(35px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.025em;
}

.cec-et-single-byline {
    margin-top: 20px;
    color: #d1dfeb;
    font-size: 16px;
}

.cec-et-single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 36px;
    padding: 44px;
    background: #1f4261;
}

.cec-et-single-main,
.cec-et-single-sidebar {
    min-width: 0;
}

.cec-et-single-description {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.75;
}

.cec-et-single-description a {
    color: #8fd5ff;
}

.cec-et-single-section {
    margin-top: 44px;
    padding-top: 34px;
    border-top: 1px solid rgba(255,255,255,0.14);
}

.cec-et-single-section h2,
.cec-et-single-panel h2,
.cec-et-comments-section h3 {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.cec-et-single-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.cec-et-single-panel {
    padding: 21px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 13px;
    background: #173850;
    color: #ffffff;
}

.cec-et-single-map {
    position: relative;
    width: 100%;
    height: 310px;
    margin: 12px 0;
    overflow: hidden;
    border-radius: 10px;
    background: #c9dbe7;
}

.cec-et-map-loading,
.cec-et-map-error {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: #173850;
    text-align: center;
}

.cec-et-directions-button,
.cec-et-project-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    background: #16823f;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
}

.cec-et-single-panel .cec-et-share-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
}

.cec-et-single-panel .cec-et-share-buttons a,
.cec-et-single-panel .cec-et-share-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 43px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 8px;
    background: #244d6e;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
}

.cec-et-copy-status {
    margin-top: 9px;
    color: #aee7bf;
    font-weight: 700;
}

.cec-et-gallery {
    gap: 12px;
}

.cec-et-gallery img {
    height: 210px;
    border: 1px solid rgba(255,255,255,0.1);
}

.cec-et-comments-intro {
    color: #cedce8;
}

.cec-et-comments-section,
.cec-et-comments-section p,
.cec-et-comments-section label,
.cec-et-comments-section .comment-meta,
.cec-et-comments-section .comment-author,
.cec-et-comments-section .comment-content {
    color: #ffffff !important;
}

.cec-et-comments-section a {
    color: #8fd5ff !important;
}

.cec-et-comments-section .comment-body {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 11px;
    background: #173850;
}

.cec-et-comments-section textarea,
.cec-et-comments-section input[type="text"],
.cec-et-comments-section input[type="email"],
.cec-et-comments-section input[type="url"],
.cec-et-comments-section input[type="file"] {
    width: 100%;
    padding: 11px;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    background: #102d45;
    color: #ffffff;
}

.cec-et-comments-section textarea::placeholder,
.cec-et-comments-section input::placeholder {
    color: #aebfcd;
}

.cec-et-comments-section input[type="submit"] {
    min-height: 44px;
    padding: 11px 18px;
    border: 0;
    border-radius: 8px;
    background: #16823f;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.cec-et-comment-photo {
    border: 1px solid rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
    .cec-et-single-page {
        padding: 0;
    }

    .cec-et-single-card {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .cec-et-single-hero,
    .cec-et-single-grid {
        grid-template-columns: 1fr;
    }

    .cec-et-single-image-wrap,
    .cec-et-single-image-wrap > img {
        min-height: 320px;
        max-height: 520px;
    }

    .cec-et-single-heading,
    .cec-et-single-grid {
        padding: 26px;
    }

    .cec-et-single-heading h1 {
        font-size: clamp(34px, 10vw, 52px);
    }

    .cec-et-single-sidebar {
        grid-row: 1;
    }

    .cec-et-single-map {
        height: 270px;
    }
}


/* 0.3.1 hard font override: defeats theme/Elementor typography */
.cec-et-shell,
.cec-et-shell *,
.cec-et-panel,
.cec-et-panel *,
.cec-et-topbar,
.cec-et-topbar *,
.cec-et-create-form,
.cec-et-create-form *,
.cec-et-my-pins,
.cec-et-my-pins *,
.cec-et-popup,
.cec-et-popup *,
.cec-et-single-page,
.cec-et-single-page *,
.cec-et-single-card,
.cec-et-single-card *,
.cec-et-comments-section,
.cec-et-comments-section * {
    font-family: Helvetica, Arial, sans-serif !important;
    font-style: normal !important;
}

.cec-et-panel h1,
.cec-et-panel h2,
.cec-et-panel h3,
.cec-et-panel h4,
.cec-et-panel h5,
.cec-et-panel h6,
.cec-et-single-page h1,
.cec-et-single-page h2,
.cec-et-single-page h3,
.cec-et-single-page h4,
.cec-et-single-page h5,
.cec-et-single-page h6 {
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.cec-et-panel .cec-et-step-label,
.cec-et-single-category {
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
}


/* 0.3.2 CEC heading colour and front-end contributor profile */
.cec-et-panel h1,
.cec-et-panel h2,
.cec-et-panel h3,
.cec-et-panel h4,
.cec-et-panel h5,
.cec-et-panel h6,
.cec-et-panel .cec-et-step-label {
    color: #203b56 !important;
}

.cec-et-panel h1,
.cec-et-panel h2,
.cec-et-panel h3 {
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.cec-et-panel .cec-et-step-label {
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
}

.cec-et-profile-card,
.cec-et-profile-card * {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif !important;
}

.cec-et-profile-card {
    max-width: 760px;
    margin: 38px auto;
    padding: 30px;
    border-radius: 16px;
    background: #203b56;
    color: #ffffff;
    box-shadow: 0 18px 45px rgba(17, 43, 66, 0.2);
}

.cec-et-profile-card h1,
.cec-et-profile-card h2 {
    margin-top: 0;
    color: #ffffff !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
}

.cec-et-profile-intro {
    color: #d7e2ec;
    line-height: 1.6;
}

.cec-et-profile-form {
    display: grid;
    gap: 17px;
    margin-top: 24px;
}

.cec-et-profile-form label {
    display: grid;
    gap: 7px;
    color: #ffffff;
    font-weight: 700;
}

.cec-et-profile-form input,
.cec-et-profile-form textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
    background: #142d45;
    color: #ffffff;
}

.cec-et-profile-form input[readonly] {
    color: #cbd8e3;
    cursor: not-allowed;
}

.cec-et-profile-form small {
    color: #cbd8e3;
    font-weight: 400;
}

.cec-et-profile-form button {
    width: fit-content;
    padding: 11px 18px;
    border: 0;
    border-radius: 8px;
    background: #16823f;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.cec-et-profile-success {
    max-width: 760px;
    margin: 28px auto -18px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #dff4e5;
    color: #155d2c;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 700;
}


/* 0.4.0 launch polish */
.cec-et-popup h3,
.leaflet-popup-content .cec-et-popup h3,
.cec-et-panel h1,
.cec-et-panel h2,
.cec-et-panel h3,
.cec-et-panel h4,
.cec-et-panel h5,
.cec-et-panel h6 {
    color: #203b56 !important;
    font-family: Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
}

.cec-et-popup h3 {
    font-size: 30px !important;
    line-height: 1.08 !important;
}

.cec-et-share-buttons-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.cec-et-share-buttons-icons .cec-et-share-icon {
    display: grid !important;
    place-items: center !important;
    gap: 7px;
    min-height: 92px !important;
    padding: 12px 8px !important;
    border: 0 !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.cec-et-share-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.cec-et-facebook { background: #1877f2 !important; }
.cec-et-x { background: #000000 !important; }
.cec-et-whatsapp { background: #25d366 !important; }
.cec-et-instagram { background: linear-gradient(135deg, #feda75, #d62976 48%, #4f5bd5) !important; }
.cec-et-email { background: #48647c !important; }
.cec-et-copy-link { background: #2c648d !important; }

.cec-et-instagram-modal[hidden] { display: none !important; }

.cec-et-instagram-modal {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(4, 18, 31, 0.76);
}

.cec-et-instagram-dialog,
.cec-et-instagram-dialog * {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif !important;
}

.cec-et-instagram-dialog {
    position: relative;
    width: min(520px, 100%);
    padding: 28px;
    border-radius: 16px;
    background: #203b56;
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0,0,0,0.38);
}

.cec-et-instagram-dialog h2 {
    margin: 0 42px 10px 0;
    color: #ffffff !important;
    font-size: 30px;
}

.cec-et-instagram-dialog p {
    color: #d8e4ee;
    line-height: 1.55;
}

.cec-et-instagram-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    font-size: 25px;
    cursor: pointer;
}

.cec-et-instagram-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 10px;
    margin-top: 20px;
}

.cec-et-instagram-actions a,
.cec-et-instagram-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: #16823f;
    color: #ffffff !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

.cec-et-instagram-status {
    min-height: 22px;
    margin-top: 12px;
    color: #aee7bf;
    font-weight: 700;
}

body.cec-et-modal-open { overflow: hidden; }

@media (max-width: 600px) {
    .cec-et-share-buttons-icons {
        grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    }
    .cec-et-share-buttons-icons .cec-et-share-icon {
        min-height: 82px !important;
        font-size: 11px;
    }
    .cec-et-share-icon svg {
        width: 28px;
        height: 28px;
    }
    .cec-et-instagram-actions {
        grid-template-columns: 1fr;
    }
}


/* 0.4.1 Media Coverage category */
.cec-et-category[data-category="media-coverage"].is-active {
    background: #e87822 !important;
}

.cec-et-category-choice input[value="media-coverage"]:checked + img {
    filter: drop-shadow(0 4px 7px rgba(232,120,34,0.34));
}


/* 0.4.5 Free Plants and Veg category */
.cec-et-category[data-category="free-plants-veg"].is-active {
    background: #8dc63f !important;
}

.cec-et-category-choice input[value="free-plants-veg"]:checked + img {
    filter: drop-shadow(0 4px 7px rgba(141,198,63,0.35));
}




/* 0.4.9 contributor profiles and EcoTag timeline */
.cec-et-profile-page,
.cec-et-profile-page * {
    box-sizing: border-box;
    font-family: Helvetica, Arial, sans-serif !important;
}

.cec-et-profile-page {
    width: min(1180px, calc(100% - 32px));
    margin: 38px auto 70px;
}

.cec-et-profile-page .cec-et-profile-card {
    max-width: none;
    margin: 0 0 24px;
}

.cec-et-profile-hero {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    background:
        radial-gradient(circle at top right, rgba(48,111,157,.38), transparent 38%),
        #203b56;
}

.cec-et-profile-avatar-wrap {
    width: 170px;
    height: 170px;
    padding: 6px;
    border: 2px solid rgba(255,255,255,.75);
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.cec-et-profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.cec-et-profile-kicker {
    display: block;
    margin-bottom: 7px;
    color: #54c8ec;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.cec-et-profile-heading h1 {
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1;
}

.cec-et-profile-heading p {
    max-width: 720px;
    color: #d8e4ee;
    font-size: 17px;
    line-height: 1.6;
}

.cec-et-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.cec-et-profile-stats span {
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #d8e4ee;
}

.cec-et-profile-stats strong {
    color: #ffffff;
}

.cec-et-profile-checkbox {
    grid-template-columns: auto 1fr !important;
    justify-content: start;
    align-items: center;
}

.cec-et-profile-checkbox input {
    width: auto !important;
}

.cec-et-profile-timeline {
    overflow: hidden;
}

.cec-et-profile-timeline-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255,255,255,.15);
}

.cec-et-profile-timeline-heading h2 {
    margin-bottom: 0;
    font-size: clamp(30px, 4vw, 48px);
}

.cec-et-profile-timeline-heading > span {
    color: #cbd8e3;
    font-weight: 700;
}

.cec-et-timeline-list {
    position: relative;
    margin-top: 30px;
}

.cec-et-timeline-list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 38px;
    width: 2px;
    background: rgba(84,200,236,.32);
}

.cec-et-timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 76px 104px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 30px;
}

.cec-et-timeline-marker {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    border: 2px solid rgba(255,255,255,.23);
    border-radius: 50%;
    background: #142d45;
}

.cec-et-timeline-marker img {
    width: 38px;
    height: 54px;
    object-fit: contain;
}

.cec-et-timeline-date {
    padding-top: 25px;
    color: #9fb5c8;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.cec-et-timeline-card {
    display: grid;
    grid-template-columns: minmax(180px, 34%) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: #142d45;
}

.cec-et-timeline-image {
    min-height: 230px;
}

.cec-et-timeline-image img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.cec-et-timeline-content {
    padding: 24px;
}

.cec-et-timeline-meta,
.cec-et-timeline-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.cec-et-timeline-meta span {
    color: #54c8ec;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.cec-et-timeline-content h3 {
    margin: 12px 0;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.12;
}

.cec-et-timeline-content h3 a {
    color: #ffffff !important;
    text-decoration: none;
}

.cec-et-timeline-content p {
    color: #cbd8e3;
    line-height: 1.55;
}

.cec-et-timeline-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,.12);
    color: #9fb5c8;
}

.cec-et-timeline-footer a {
    color: #65d593 !important;
    font-weight: 700;
    text-decoration: none;
}

.cec-et-profile-empty {
    padding: 50px 20px 30px;
    text-align: center;
}

.cec-et-profile-empty h3 {
    color: #ffffff !important;
}

.cec-et-profile-empty p {
    color: #cbd8e3;
}

@media (max-width: 780px) {
    .cec-et-profile-page {
        width: min(100% - 18px, 1180px);
        margin-top: 18px;
    }

    .cec-et-profile-hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cec-et-profile-avatar-wrap {
        margin: 0 auto;
    }

    .cec-et-profile-stats {
        justify-content: center;
    }

    .cec-et-timeline-item {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .cec-et-timeline-list::before {
        left: 29px;
    }

    .cec-et-timeline-marker {
        width: 60px;
        height: 60px;
    }

    .cec-et-timeline-marker img {
        width: 30px;
        height: 43px;
    }

    .cec-et-timeline-date {
        grid-column: 2;
        padding-top: 0;
    }

    .cec-et-timeline-card {
        grid-column: 2;
        grid-template-columns: 1fr;
    }

    .cec-et-timeline-image,
    .cec-et-timeline-image img {
        min-height: 210px;
    }
}


/* 0.5.0 public contributor navigation */
.cec-et-contributor-link {
    color: #65d593 !important;
    font-weight: 700;
    text-decoration: none !important;
}

.cec-et-contributor-link:hover,
.cec-et-contributor-link:focus {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.cec-et-profile-public-link {
    margin-top: 18px;
}

.cec-et-profile-public-link a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #16823f;
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none !important;
}


/* 0.6.0 EcoTagger Social */
.cec-et-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.cec-et-follow-button,
.cec-et-social-nav-button,
.cec-et-mark-read {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 17px;
    border: 0;
    border-radius: 8px;
    background: #16823f;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
}

.cec-et-follow-button.is-following {
    background: #315b7b;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
}

.cec-et-social-stats a {
    color: #d8e4ee !important;
    text-decoration: none !important;
}

.cec-et-profile-connection-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px;
}

.cec-et-user-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cec-et-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px 7px 7px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 999px;
    background: #142d45;
    color: #fff !important;
    text-decoration: none !important;
}

.cec-et-user-chip img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.cec-et-social-empty {
    color: #cbd8e3;
}

.cec-et-reactions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 18px 0 4px;
}

.cec-et-reaction-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    color: #fff;
    cursor: pointer;
}

.cec-et-reaction-button:hover,
.cec-et-reaction-button.is-selected {
    border-color: #65d593;
    background: rgba(101,213,147,.18);
}

.cec-et-reaction-emoji {
    font-size: 20px;
    line-height: 1;
}

.cec-et-reaction-count {
    min-width: 12px;
    font-weight: 800;
}

.cec-et-comment-photo + .cec-et-reactions,
.comment-content .cec-et-reactions {
    margin-top: 13px;
}

.cec-et-social-page {
    width: min(980px, calc(100% - 28px));
    margin: 38px auto 70px;
    padding: 32px;
    border-radius: 16px;
    background: #203b56;
    color: #fff;
    font-family: Helvetica, Arial, sans-serif;
}

.cec-et-social-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.cec-et-social-page h1 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(38px, 6vw, 66px);
}

.cec-et-feed-list {
    display: grid;
    gap: 24px;
}

.cec-et-feed-item {
    padding: 24px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: #142d45;
}

.cec-et-feed-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 17px;
}

.cec-et-feed-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.cec-et-feed-author strong,
.cec-et-feed-author span {
    display: block;
}

.cec-et-feed-author span {
    color: #9fb5c8;
    font-size: 13px;
}

.cec-et-feed-image,
.cec-et-feed-image-static {
    display: block;
    width: 100%;
    max-height: 520px;
    margin-bottom: 18px;
    border-radius: 10px;
    object-fit: cover;
}

.cec-et-feed-item h2 a {
    color: #fff !important;
    text-decoration: none !important;
}

.cec-et-feed-item p {
    color: #cbd8e3;
    line-height: 1.6;
}

.cec-et-feed-open {
    color: #65d593 !important;
    font-weight: 800;
    text-decoration: none !important;
}

.cec-et-notification-list {
    display: grid;
    gap: 10px;
}

.cec-et-notification {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 10px;
    background: #142d45;
    color: #fff !important;
    text-decoration: none !important;
}

.cec-et-notification.is-unread {
    border-left: 5px solid #65d593;
    background: #193a56;
}

.cec-et-notification img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.cec-et-notification strong,
.cec-et-notification small {
    display: block;
}

.cec-et-notification small {
    margin-top: 4px;
    color: #9fb5c8;
}

@media (max-width: 720px) {
    .cec-et-profile-connection-grid {
        grid-template-columns: 1fr;
    }

    .cec-et-social-page {
        width: calc(100% - 16px);
        padding: 20px;
    }

    .cec-et-social-page-heading {
        align-items: start;
        flex-direction: column;
    }
}
