/* AD MAX bejegyzéssablon — fejléc, törzs, borító, CTA és további bejegyzések. */

.am-post {
    font-family: 'Space Grotesk', sans-serif;
    background: #F1F7F4;
}

.am-post a {
    color: #2C8B74;
}

.am-post a:hover {
    color: #1E3A38;
}

.am-post img {
    display: block;
}

/* .am-container alapszabály: lásd css/admax-global.css (mindig betöltve). */

.am-article {
    max-width: 733px;
    margin: 0 auto;
}

/* Cím. */
.am-title-sec {
    padding: 57px 0 0;
}

.am-crumb {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
    font-weight: 600;
    color: #5c7b73;
}

.am-crumb a {
    color: #5c7b73;
    text-decoration: none;
}

.am-crumb a:hover {
    color: #1E3A38;
}

.am-crumb-sep {
    opacity: .5;
}

.am-meta {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 25px 0 18px;
}

.am-tag {
    background: #A7EBDD;
    color: #1E3A38;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 13px;
    border-radius: 100px;
    white-space: nowrap;
}

.am-meta-date,
.am-meta-read {
    font-size: 12px;
    color: #5c7b73;
    font-weight: 500;
}

.am-meta-dot {
    color: #dbeae3;
}

.am-h1 {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 57px;
    line-height: 1;
    letter-spacing: -2px;
    margin: 0;
    color: #16332E;
}

.am-dek {
    font-size: 17px;
    line-height: 1.6;
    color: #2c4b45;
    margin: 21px 0 0;
    font-weight: 400;
}

.am-body .am-sharebar {
    margin-top: 40px;
}

.am-sharebar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 0;
    padding: 18px 0;
    border-top: 1px solid #dbeae3;
    border-bottom: 1px solid #dbeae3;
}

.am-sharebar__label {
    font-family: 'Archivo', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #5c7b73;
    flex: none;
}

.am-sharebar__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.am-sharebar__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #dbeae3;
    background: #fff;
    color: #16332e;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 100px;
    cursor: pointer;
}

.am-sharebar__btn svg {
    display: block;
    width: 14px;
    height: 14px;
    flex: none;
}

.am-sharebar__btn:hover {
    color: #2c8b74;
    border-color: #5fbda8;
}

.am-sharebar__btn.is-copied {
    border-color: #2c8b74;
    color: #2c8b74;
}

/* Borító. */
.am-cover-sec {
    padding: 39px 0 0;
}

.am-cover {
    margin: 0;
}

.am-cover-frame {
    border-radius: 21px;
    overflow: hidden;
    height: 393px;
    box-shadow: 0 25px 54px rgba(22, 51, 46, .12);
}

.am-cover-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-cover-cap {
    font-size: 12px;
    color: #5c7b73;
    margin-top: 11px;
    font-weight: 500;
}

/* Szövegtörzs. */
.am-body-sec {
    padding: 57px 0 86px;
}

.am-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #2c4b45;
    margin: 0 0 21px;
    font-weight: 400;
}

.am-body p.am-body-lead {
    font-size: 17px;
}

.am-body h2 {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 32px;
    line-height: 1.06;
    letter-spacing: -.8px;
    color: #16332E;
    margin: 46px 0 14px;
}

.am-body ul,
.am-body ol {
    font-size: 16px;
    line-height: 1.72;
    color: #2c4b45;
    padding-left: 20px;
    margin: 0 0 21px;
}

.am-body li {
    margin-bottom: 9px;
}

.am-body strong {
    color: #16332E;
    font-weight: 600;
}

.am-body a {
    font-weight: 600;
}

.am-body blockquote {
    margin: 0;
    border: 0;
    padding: 0;
}

/* Széles elemek kitörése a 733px-es oszlopból az 1180px-es keretig. */
.am-body > .alignwide {
    margin-left: -223px;
    margin-right: -224px;
    max-width: 1180px;
}

.am-body > .alignfull {
    margin-left: -223px;
    margin-right: -224px;
    max-width: none;
}

.am-body .wp-block-image img {
    border-radius: 21px;
    box-shadow: 0 25px 54px rgba(22, 51, 46, .12);
}

.am-body figcaption {
    font-size: 12px;
    color: #5c7b73;
    margin-top: 11px;
    font-weight: 500;
}

/* Kiemelt mondat. */
.am-pull {
    background: #E3F3EC;
    border-radius: 18px;
    padding: 27px 29px;
    margin: 36px 0;
}

.am-pull p {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -.4px;
    color: #16332E;
    margin: 0;
}

/* Audit CTA. */
.am-audit {
    background: #1E3A38;
    border-radius: 21px;
    padding: 36px 38px;
    margin: 46px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.am-audit .am-audit-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -.5px;
    color: #fff;
    margin: 0;
}

.am-audit .am-audit-note {
    font-size: 14px;
    line-height: 1.58;
    color: #cfe6de;
    margin: 11px 0 0;
    font-weight: 400;
}

.am-audit .wp-block-button__link {
    background: #A7EBDD;
    color: #1E3A38;
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 13px;
    padding: 14px 29px;
    border-radius: 100px;
}

.am-audit .wp-block-button__link:hover {
    background: #A7EBDD;
    color: #1E3A38;
}

/* További bejegyzések. */
.am-more-sec {
    background: #fff;
    border-top: 1px solid #dbeae3;
    padding: 72px 0 86px;
}

.am-more-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 18px;
    margin-bottom: 30px;
}

.am-more-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: 39px;
    line-height: 1;
    letter-spacing: -1.2px;
    margin: 0;
    text-transform: uppercase;
    color: #16332E;
}

.am-more-all {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2C8B74;
    font-weight: 800;
    font-size: 13px;
    transition: gap .3s ease;
}

.am-more-all:hover {
    gap: 13px;
    color: #1E3A38;
}

.am-more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.am-rel {
    text-decoration: none;
    background: #F1F7F4;
    border: 1px solid #dbeae3;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    transition: transform .4s ease, box-shadow .4s ease;
}

.am-rel:hover {
    transform: translateY(-6px);
    box-shadow: 0 23px 48px rgba(22, 51, 46, .12);
    color: #1E3A38;
}

.am-rel-img {
    height: 152px;
    overflow: hidden;
    background: linear-gradient(150deg, #E3F3EC, #A7EBDD);
}

.am-rel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.am-rel-body {
    padding: 21px 23px 25px;
}

.am-rel-cat {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #2C8B74;
}

.am-rel-title {
    font-family: 'Archivo', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.28;
    color: #16332E;
    margin: 11px 0 7px;
}

.am-rel-p {
    font-size: 13px;
    line-height: 1.55;
    color: #5c7b73;
    margin: 0;
    font-weight: 400;
}

/* Tablet (768–1179). */
@media (max-width: 1179px) {
    .am-container,
    .am-article {
        padding-left: 32px;
        padding-right: 32px;
        max-width: 100%;
    }

    .am-article {
        max-width: 733px;
    }

    .am-h1 {
        font-size: 44px;
        letter-spacing: -1.4px;
    }

    .am-dek {
        font-size: 16px;
    }

    .am-cover-frame {
        height: 300px;
        border-radius: 18px;
    }

    .am-body h2 {
        font-size: 28px;
    }

    .am-body > .alignwide,
    .am-body > .alignfull {
        margin-left: -32px;
        margin-right: -32px;
        max-width: none;
    }

    .am-pull {
        padding: 22px 24px;
    }

    .am-pull p {
        font-size: 20px;
    }

    .am-audit {
        padding: 28px 30px;
        gap: 20px;
    }

    .am-audit .am-audit-title {
        font-size: 22px;
    }

    .am-more-title {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .am-more-grid {
        gap: 16px;
    }
}

/* Mobil. */
@media (max-width: 767px) {
    .am-container,
    .am-article {
        padding-left: 20px;
        padding-right: 20px;
    }

    .am-title-sec {
        padding: 36px 0 0;
    }

    .am-crumb {
        font-size: 12px;
        gap: 8px;
    }

    .am-meta {
        flex-wrap: wrap;
        gap: 8px;
        margin: 18px 0 14px;
    }

    .am-h1 {
        font-size: 32px;
        letter-spacing: -1px;
        line-height: 1.05;
    }

    .am-dek {
        font-size: 16px;
        margin-top: 16px;
    }

    .am-sharebar {
        margin-top: 22px;
        padding: 16px 0;
        gap: 10px;
    }

    .am-cover-sec {
        padding: 24px 0 0;
    }

    .am-cover-frame {
        height: 220px;
        border-radius: 16px;
        box-shadow: 0 14px 32px rgba(22, 51, 46, .12);
    }

    .am-cover-cap {
        font-size: 12px;
        margin-top: 10px;
    }

    .am-body-sec {
        padding: 36px 0 52px;
    }

    .am-body p,
    .am-body ul,
    .am-body ol {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .am-body p.am-body-lead {
        font-size: 16px;
    }

    .am-body h2 {
        font-size: 24px;
        margin: 32px 0 12px;
        letter-spacing: -.4px;
    }

    .am-body > .alignwide,
    .am-body > .alignfull {
        margin-left: -20px;
        margin-right: -20px;
    }

    .am-pull {
        padding: 18px 18px;
        margin: 28px 0;
        border-radius: 14px;
    }

    .am-pull p {
        font-size: 18px;
        line-height: 1.35;
    }

    .am-audit {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 22px;
        border-radius: 16px;
        margin-top: 36px;
        gap: 18px;
    }

    .am-audit .am-audit-title {
        font-size: 22px;
    }

    .am-audit .wp-block-button__link {
        width: 100%;
        padding: 14px 22px;
        text-align: center;
    }

    .am-more-sec {
        padding: 44px 0 52px;
    }

    .am-more-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 22px;
    }

    .am-more-title {
        font-size: 26px;
        letter-spacing: -.6px;
    }

    .am-more-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .am-rel-img {
        height: 180px;
    }

    .am-rel:hover {
        transform: none;
        box-shadow: none;
    }
}
