/* Vestige Child 2026 - global ELMP cinematic skin */

body.elmp-cinematic-site {
    margin: 0;
    background: var(--elmp-bg, #0d0d0f);
    color: var(--elmp-text, #f7f4ef);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.elmp-cinematic-site a {
    color: inherit;
    text-decoration: none;
}

body.elmp-cinematic-site p,
body.elmp-cinematic-site li,
body.elmp-cinematic-site td,
body.elmp-cinematic-site th {
    color: rgba(247,244,239,.86);
    line-height: 1.75;
}

body.elmp-cinematic-site img {
    max-width: 100%;
    height: auto;
}

body.elmp-cinematic-site .elmp-page-main {
    min-height: 100vh;
    background:
        radial-gradient(circle at 80% 0%, rgba(244,123,32,.18), transparent 28%),
        radial-gradient(circle at 8% 70%, rgba(255,255,255,.05), transparent 22%),
        linear-gradient(180deg, #09090a 0%, #151517 100%);
}

.elmp-page-hero {
    position: relative;
    padding: clamp(54px, 7vw, 110px) clamp(24px, 6vw, 86px) clamp(32px, 5vw, 64px);
    border-bottom: 1px solid var(--elmp-line, rgba(255,255,255,.12));
    background:
        linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px),
        rgba(255,255,255,.015);
    background-size: 34px 34px;
    overflow: hidden;
}

.elmp-page-hero::after {
    content: "";
    position: absolute;
    left: clamp(24px, 6vw, 86px);
    bottom: 0;
    width: 120px;
    height: 5px;
    border-radius: 999px;
    background: var(--elmp-orange, #f47b20);
    box-shadow: 0 0 22px rgba(244,123,32,.65);
}

.elmp-page-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 1050px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 6vw, 86px);
    line-height: .96;
    letter-spacing: -.06em;
    text-transform: uppercase;
}

.elmp-page-wrap {
    padding: clamp(30px, 5vw, 70px) clamp(18px, 6vw, 86px) clamp(46px, 6vw, 90px);
}

.elmp-page-card,
.elmp-list-card {
    background: linear-gradient(180deg, rgba(36,36,40,.96), rgba(25,25,28,.96));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 28px;
    box-shadow: 0 26px 90px rgba(0,0,0,.38);
}

.elmp-page-card {
    max-width: 1180px;
    padding: clamp(22px, 4vw, 54px);
}

.elmp-entry-content > *:first-child {
    margin-top: 0;
}

.elmp-entry-content > *:last-child {
    margin-bottom: 0;
}

.elmp-entry-content h1,
.elmp-entry-content h2,
.elmp-entry-content h3,
.elmp-entry-content h4,
.elmp-entry-content h5,
.elmp-entry-content h6 {
    color: #fff;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin-top: 1.35em;
    margin-bottom: .55em;
}

.elmp-entry-content h2 {
    font-size: clamp(28px, 3vw, 44px);
}

.elmp-entry-content h3 {
    font-size: clamp(22px, 2vw, 30px);
}

.elmp-entry-content a:not(.button):not(.wp-block-button__link) {
    color: var(--elmp-orange-2, #ff9a3c);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.elmp-entry-content ul,
.elmp-entry-content ol {
    padding-left: 1.25em;
}

.elmp-entry-content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 5px solid var(--elmp-orange, #f47b20);
    background: rgba(255,255,255,.045);
    border-radius: 18px;
}

.elmp-entry-content table,
.elmp-page-card table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 16px;
}

.elmp-entry-content th,
.elmp-entry-content td,
.elmp-page-card th,
.elmp-page-card td {
    border: 1px solid rgba(255,255,255,.12);
    padding: 12px 14px;
}

.elmp-entry-content th,
.elmp-page-card th {
    background: rgba(244,123,32,.16);
    color: #fff;
}

.elmp-featured-image {
    margin: 0 0 28px;
    border-radius: 22px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255,255,255,.1);
}

.elmp-featured-image img {
    display: block;
    width: 100%;
}

.elmp-button,
.elmp-entry-content .wp-block-button__link,
body.elmp-cinematic-site button,
body.elmp-cinematic-site input[type="submit"],
body.elmp-cinematic-site .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--elmp-orange, #f47b20);
    color: #111 !important;
    font-weight: 900;
    padding: 12px 18px;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(244,123,32,.24);
}

body.elmp-cinematic-site input,
body.elmp-cinematic-site textarea,
body.elmp-cinematic-site select {
    max-width: 100%;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    background: rgba(255,255,255,.06);
    color: #fff;
    padding: 10px 12px;
}

body.elmp-cinematic-site textarea {
    min-height: 130px;
}

.elmp-post-nav {
    max-width: 1180px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0;
}

.elmp-post-nav a,
.elmp-pagination a,
.elmp-pagination span {
    display: inline-flex;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: #fff;
    background: rgba(255,255,255,.04);
}

.elmp-list-grid {
    max-width: 1180px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.elmp-list-card {
    overflow: hidden;
}

.elmp-list-image {
    display: block;
    aspect-ratio: 16 / 10;
    background: #111;
    overflow: hidden;
}

.elmp-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.elmp-list-content {
    padding: 22px;
}

.elmp-list-content h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 24px;
    line-height: 1.1;
}

.elmp-site-footer {
    padding: 20px clamp(24px, 6vw, 86px) 38px;
    color: rgba(255,255,255,.55);
}

.elmp-site-footer p {
    margin: 0;
    color: rgba(255,255,255,.55);
}

/* WooCommerce: keep Woo templates intact, only restyle the surrounding skin */
body.elmp-cinematic-site.woocommerce,
body.elmp-cinematic-site.woocommerce-page {
    background: var(--elmp-bg, #0d0d0f);
}

.elmp-woo-card .woocommerce,
.elmp-woo-card .woocommerce p,
.elmp-woo-card .woocommerce li {
    color: rgba(247,244,239,.86);
}

.elmp-woo-card .woocommerce h1,
.elmp-woo-card .woocommerce h2,
.elmp-woo-card .woocommerce h3,
.elmp-woo-card .woocommerce-loop-product__title {
    color: #fff;
}

.elmp-woo-card .woocommerce ul.products li.product {
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
    padding: 16px;
}

.elmp-woo-card .woocommerce table.shop_table,
.elmp-woo-card .woocommerce-cart-form,
.elmp-woo-card .cart_totals,
.elmp-woo-card .woocommerce-checkout-review-order {
    background: rgba(255,255,255,.035);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    padding: 16px;
}

@media (max-width: 1100px) {
    .elmp-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body.elmp-cinematic-site .elmp-shell {
        grid-template-columns: 1fr;
    }

    .elmp-page-hero,
    .elmp-page-wrap,
    .elmp-site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .elmp-page-card {
        border-radius: 22px;
        padding: 20px;
    }

    .elmp-list-grid {
        grid-template-columns: 1fr;
    }

    .elmp-post-nav {
        flex-direction: column;
    }
}

/* Footer supporters: isolated styling for the "Μας στηρίζουν" block */
.elmp-supporters-footer {
    margin: 0 0 42px !important;
    padding: clamp(24px, 3vw, 42px) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at 12% 10%, rgba(244,123,32,.22), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,.075), rgba(255,255,255,.025)) !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.34) !important;
    overflow: hidden !important;
}

.elmp-supporters-groups {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, .75fr) minmax(240px, .75fr) !important;
    grid-template-areas:
        "intro intro donors"
        "sponsors auspices twinnings" !important;
    gap: 18px !important;
    align-items: stretch !important;
}

.elmp-supporters-heading {
    grid-area: intro !important;
    align-self: center !important;
    max-width: 980px !important;
    margin: 0 !important;
    padding-right: clamp(20px, 3vw, 60px) !important;
}

.elmp-supporters-heading .elmp-kicker {
    margin-bottom: 10px !important;
}

.elmp-supporters-heading h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(30px, 3.2vw, 50px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
}

.elmp-supporters-heading p:not(.elmp-kicker) {
    max-width: 780px !important;
    margin: 14px 0 0 !important;
    color: rgba(247,244,239,.72) !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.elmp-supporter-group {
    position: relative !important;
    min-width: 0 !important;
    padding: 20px !important;
    border-radius: 24px !important;
    background: rgba(4,4,5,.48) !important;
    border: 1px solid rgba(255,255,255,.11) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07) !important;
}

.elmp-supporter-group-sponsors { grid-area: sponsors !important; }
.elmp-supporter-group-auspices { grid-area: auspices !important; }
.elmp-supporter-group-twinnings { grid-area: twinnings !important; }
.elmp-supporter-group-donors { grid-area: donors !important; }

.elmp-supporter-group::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 20px !important;
    right: 20px !important;
    height: 3px !important;
    border-radius: 0 0 999px 999px !important;
    background: linear-gradient(90deg, #f47b20, rgba(255,154,60,.2)) !important;
}

.elmp-supporter-group-head {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 18px !important;
    margin-bottom: 10px !important;
}

.elmp-supporter-eyebrow {
    display: block !important;
    margin-bottom: 5px !important;
    color: rgba(255,154,60,.88) !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

.elmp-supporter-group h3 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(22px, 2vw, 30px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.035em !important;
}

.elmp-supporter-count {
    display: none !important;
}

.elmp-supporter-group p {
    margin: 0 0 16px !important;
    color: rgba(247,244,239,.66) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
}

.elmp-supporter-logos {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)) !important;
    gap: 10px !important;
}

.elmp-supporter-group-auspices .elmp-supporter-logos,
.elmp-supporter-group-twinnings .elmp-supporter-logos,
.elmp-supporter-group-donors .elmp-supporter-logos {
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)) !important;
}

.elmp-supporter-logo {
    position: relative !important;
    isolation: isolate !important;
    aspect-ratio: 1.9 / 1 !important;
    min-height: 48px !important;
    border-radius: 15px !important;
    display: grid !important;
    place-items: center !important;
    color: rgba(255,255,255,.76) !important;
    font-size: 12px !important;
    font-weight: 1000 !important;
    letter-spacing: .08em !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.055)) !important;
    border: 1px solid rgba(255,255,255,.15) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 12px 24px rgba(0,0,0,.18) !important;
    overflow: hidden !important;
}

.elmp-supporter-logo::before {
    content: "" !important;
    position: absolute !important;
    inset: 7px !important;
    border-radius: 11px !important;
    background: rgba(255,255,255,.07) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    z-index: -1 !important;
}

.elmp-supporter-logo::after {
    content: "LOGO" !important;
    position: absolute !important;
    bottom: 6px !important;
    right: 8px !important;
    color: rgba(255,255,255,.22) !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
}

.elmp-supporter-logo span {
    display: grid !important;
    place-items: center !important;
    width: 34px !important;
    height: 24px !important;
    border-radius: 8px !important;
    color: #111 !important;
    background: rgba(255,154,60,.95) !important;
    box-shadow: 0 7px 18px rgba(244,123,32,.20) !important;
}

.elmp-supporter-logo:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(245,124,32,.62) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.20), rgba(255,255,255,.07)) !important;
}

.elmp-site-footer .elmp-supporters-footer {
    margin-bottom: 24px !important;
}

.elmp-site-footer .elmp-supporters-groups {
    grid-template-columns: 1fr 1fr 1fr !important;
    grid-template-areas:
        "intro intro donors"
        "sponsors auspices twinnings" !important;
}

.elmp-site-footer .elmp-supporter-logos {
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)) !important;
}

@media (max-width: 1180px) {
    .elmp-supporters-groups,
    .elmp-site-footer .elmp-supporters-groups {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "intro"
            "donors"
            "sponsors"
            "auspices"
            "twinnings" !important;
    }

    .elmp-supporters-heading {
        padding-right: 0 !important;
    }
}

@media (max-width: 640px) {
    .elmp-supporters-footer {
        padding: 18px !important;
        border-radius: 22px !important;
    }

    .elmp-supporter-group {
        padding: 16px !important;
    }

    .elmp-supporter-logos,
    .elmp-supporter-group-auspices .elmp-supporter-logos,
    .elmp-supporter-group-twinnings .elmp-supporter-logos,
    .elmp-supporter-group-donors .elmp-supporter-logos {
        grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)) !important;
    }

    .elmp-supporter-group-head {
        align-items: center !important;
    }
}
