/**
 * PMED cikk sablon
 * Színek: #0067b3 kék · #004f8a sötétkék · #00ADEE cián · #F5F8FA háttér · #E6F6FD halvány kék
 */

.pmed-cikk,
.pmed-cikk-meta {
    --pmed-kek: #0067b3;
    --pmed-sotetkek: #004f8a;
    --pmed-cian: #00ADEE;
    --pmed-hatter: #F5F8FA;
    --pmed-halvany: #E6F6FD;
    --pmed-szoveg: #222222;
    font-family: "Poppins", Sans-serif;
}

/* ---------- Fejléc sor ---------- */
.pmed-cikk-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 18px;
}
.pmed-cikk-meta__cimke {
    background: #ffffff;
    color: var(--pmed-kek);
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
}
.pmed-cikk-meta__sor {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
}

/* ---------- Elrendezés ---------- */
.pmed-cikk {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 56px;
    width: 100%;
    color: var(--pmed-szoveg);
}
.pmed-cikk__torzs {
    flex: 999 1 560px;
    min-width: 0;
}
.pmed-cikk__oldalsav {
    flex: 1 1 260px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ---------- Szöveg ---------- */
.pmed-cikk__tartalom {
    font-size: 16px;
    line-height: 32px;
    font-weight: 300;
    counter-reset: pmedh2;
}
.pmed-cikk__tartalom > * {
    margin-top: 0;
    margin-bottom: 24px;
}
.pmed-cikk__tartalom strong {
    font-weight: 600;
}
.pmed-cikk__tartalom a {
    color: var(--pmed-kek);
}
.pmed-cikk__tartalom a:hover {
    color: var(--pmed-sotetkek);
}

/* Bevezető: az első bekezdés */
.pmed-cikk--lead .pmed-cikk__tartalom > p:first-child {
    font-size: 21px;
    line-height: 34px;
    font-weight: 400;
    color: var(--pmed-sotetkek);
    margin-bottom: 28px;
}

/* Számozott H2 */
.pmed-cikk__tartalom > h2 {
    counter-increment: pmedh2;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 44px 0 16px;
    font-family: "Poppins", Sans-serif;
    font-size: 28px;
    line-height: 36px;
    font-weight: 600;
    color: var(--pmed-kek);
}
.pmed-cikk__tartalom > h2::before {
    content: counter(pmedh2, decimal-leading-zero);
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--pmed-cian);
    color: #ffffff;
    font-size: 16px;
    line-height: 40px;
    font-weight: 700;
    text-align: center;
}
.pmed-cikk__tartalom > h3 {
    margin: 32px 0 12px;
    font-size: 21px;
    line-height: 30px;
    font-weight: 600;
    color: var(--pmed-sotetkek);
}

/* Képek */
.pmed-cikk__tartalom .wp-block-image {
    margin: 0 0 36px;
}
.pmed-cikk__tartalom .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

/* Sima listák */
.pmed-cikk__tartalom > ul:not(.is-style-pmed-cimkek),
.pmed-cikk__tartalom > ol {
    padding-left: 22px;
}
.pmed-cikk__tartalom > ul:not(.is-style-pmed-cimkek) li::marker {
    color: var(--pmed-cian);
}

/* Aláírás (utolsó bekezdés, ha szerzőt jelöl) */
.pmed-cikk__tartalom .pmed-alairas {
    font-size: 15px;
    line-height: 24px;
    color: #3f3f3f;
    margin-top: 32px;
}

/* ---------- Blokkstílusok ---------- */

/* PMED kék doboz (Csoport blokk) */
.is-style-pmed-doboz {
    background: var(--pmed-kek, #0067b3);
    color: #ffffff;
    border-radius: 16px;
    padding: 26px 30px;
    margin: 0 0 28px;
}
.is-style-pmed-doboz > *:last-child {
    margin-bottom: 0;
}
.is-style-pmed-doboz p,
.is-style-pmed-doboz li {
    color: #ffffff;
}
.is-style-pmed-doboz p:first-child {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 6px;
}
.is-style-pmed-doboz ul {
    margin: 0;
    padding-left: 20px;
}
.is-style-pmed-doboz a {
    color: #ffffff;
    text-decoration: underline;
}

/* PMED címkék (Lista blokk) */
ul.is-style-pmed-cimkek {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 28px;
}
ul.is-style-pmed-cimkek li {
    background: #E6F6FD;
    color: #004f8a;
    font-size: 15px;
    line-height: 22px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 999px;
    margin: 0;
}

/* PMED idézet (Idézet blokk) */
.wp-block-quote.is-style-pmed-idezet {
    position: relative;
    background: #F5F8FA;
    border: 0;
    border-radius: 20px;
    padding: 34px 40px 30px 96px;
    margin: 8px 0 36px;
}
.wp-block-quote.is-style-pmed-idezet::before {
    content: "";
    position: absolute;
    left: 36px;
    top: 34px;
    width: 40px;
    height: 40px;
    background: #00ADEE;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 18v-5.5C4 8.4 6.3 6 10 5.5v2.6C8 8.6 7.2 9.9 7.1 12H10v6H4zm10 0v-5.5c0-4.1 2.3-6.5 6-7v2.6c-2 .5-2.8 1.8-2.9 3.9H20v6h-6z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 18v-5.5C4 8.4 6.3 6 10 5.5v2.6C8 8.6 7.2 9.9 7.1 12H10v6H4zm10 0v-5.5c0-4.1 2.3-6.5 6-7v2.6c-2 .5-2.8 1.8-2.9 3.9H20v6h-6z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.wp-block-quote.is-style-pmed-idezet p {
    font-size: 21px;
    line-height: 33px;
    font-weight: 500;
    font-style: normal;
    color: #004f8a;
    margin: 0 0 10px;
}
.wp-block-quote.is-style-pmed-idezet cite {
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    color: #3f3f3f;
}
.wp-block-quote.is-style-pmed-idezet cite::before {
    content: "— ";
}

/* ---------- Röviden ---------- */
.pmed-cikk-roviden {
    background: var(--pmed-hatter);
    border-radius: 16px;
    padding: 26px 30px;
    margin: 0 0 36px;
}
.pmed-cikk-roviden__cim {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px !important;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: var(--pmed-kek);
}
.pmed-cikk-roviden__cim svg {
    color: var(--pmed-cian);
}
.pmed-cikk-roviden ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pmed-cikk-roviden li {
    display: flex;
    gap: 12px;
    margin: 0;
}
.pmed-cikk-roviden li svg {
    flex: none;
    margin-top: 6px;
    color: var(--pmed-kek);
}

/* ---------- Videókártya ---------- */
.pmed-cikk-video {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    padding: 28px;
    margin: 0 0 40px;
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: #004f8a;
    background-image: linear-gradient(0deg, rgba(0, 47, 82, 0.7), rgba(0, 47, 82, 0.15)), var(--pmed-video-kep, none);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.pmed-cikk-video__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 84px;
    height: 84px;
    margin: -42px 0 0 -42px;
    border-radius: 50%;
    background: #ffffff;
    color: #0067b3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}
.pmed-cikk-video:hover .pmed-cikk-video__play {
    transform: scale(1.08);
}
.pmed-cikk-video__felirat {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #bfe9fb;
}
.pmed-cikk-video__cim {
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
}

/* ---------- Gombok ---------- */
.pmed-cikk-gomb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 26px;
    background: #0067b3;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 25px;
    transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.pmed-cikk-gomb:hover {
    background: #004f8a;
    box-shadow: 0 4px 12px rgba(0, 103, 179, 0.25);
}
.pmed-cikk-gomb--feher {
    background: #ffffff;
    color: #0067b3 !important;
    font-weight: 700;
    font-size: 16px;
    min-height: 48px;
    padding: 0 30px;
}
.pmed-cikk-gomb--feher:hover {
    background: #E6F6FD;
}

/* ---------- Foglalási sáv ---------- */
.pmed-cikk-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--pmed-sotetkek);
    border-radius: 20px;
    padding: 36px;
    margin: 44px 0 0;
}
.pmed-cikk-cta__szoveg {
    flex: 1 1 340px;
}
.pmed-cikk-cta__cim {
    margin: 0 0 6px;
    color: #ffffff;
    font-size: 22px;
    line-height: 30px;
    font-weight: 600;
}
.pmed-cikk-cta__leiras {
    margin: 0;
    color: #d7ecfa;
    font-size: 16px;
    line-height: 26px;
    font-weight: 300;
}

/* ---------- Oldalsáv ---------- */
.pmed-cikk-promo {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-height: 280px;
    border-radius: 16px;
    padding: 24px;
    color: #ffffff !important;
    text-decoration: none !important;
    background-color: #004f8a;
    background-image: linear-gradient(200deg, rgba(0, 173, 238, 0.25) 0%, rgba(0, 79, 138, 0.92) 70%), var(--pmed-doboz-kep, none);
    background-size: cover;
    background-position: center top;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pmed-cikk-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 79, 138, 0.25);
}
.pmed-cikk-promo__cimke {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #bfe9fb;
}
.pmed-cikk-promo__cim {
    font-size: 21px;
    line-height: 28px;
    font-weight: 600;
}
.pmed-cikk-promo__tovabb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
}

.pmed-cikk-foglalas {
    background: var(--pmed-halvany);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.pmed-cikk-foglalas__ikon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--pmed-kek);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pmed-cikk-foglalas__cim {
    margin: 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    color: var(--pmed-sotetkek);
}
.pmed-cikk-foglalas__szoveg {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
    color: #3f3f3f;
}

/* ---------- Mobil ---------- */
@media (max-width: 767px) {
    .pmed-cikk {
        gap: 36px;
    }
    .pmed-cikk--lead .pmed-cikk__tartalom > p:first-child {
        font-size: 18px;
        line-height: 30px;
    }
    .pmed-cikk__tartalom > h2 {
        font-size: 23px;
        line-height: 30px;
        margin-top: 36px;
    }
    .pmed-cikk__tartalom > h2::before {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 14px;
        border-radius: 10px;
    }
    .wp-block-quote.is-style-pmed-idezet {
        padding: 76px 24px 24px;
    }
    .wp-block-quote.is-style-pmed-idezet::before {
        left: 24px;
        top: 24px;
    }
    .pmed-cikk-cta {
        padding: 28px 24px;
    }
    .pmed-cikk-video__play {
        width: 64px;
        height: 64px;
        margin: -32px 0 0 -32px;
    }
    .pmed-cikk-video__cim {
        font-size: 18px;
        line-height: 25px;
    }
    .pmed-cikk-promo {
        min-height: 220px;
    }
}

/* ---------- Fejléckép a logó alá (mint az oldalaknál: -125px) ---------- */
.elementor-11631 .elementor-element.elementor-element-22c12fc {
    margin-top: -125px;
    padding-top: 245px !important;
}
@media (max-width: 767px) {
    .elementor-11631 .elementor-element.elementor-element-22c12fc {
        padding-top: 210px !important;
    }
}
