
.mph-section,
.mph-section * {
    box-sizing: border-box;
}

.mph-section {
    width: 100%;
    background: var(--mph-bg, #fff);
    color: var(--mph-text, #6b7280);
    padding: 30px 18px 34px;
    font-family: inherit;
}

.mph-inner {
    width: 100%;
    max-width: var(--mph-max, 1200px);
    margin: 0 auto;
}

.mph-section a {
    text-decoration: none !important;
}

.mph-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.mph-section-head h2 {
    margin: 0 0 5px;
    color: var(--mph-title, #111827);
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
    font-weight: 750;
    letter-spacing: -0.03em;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.mph-section-head p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

.mph-grid {
    display: grid;
    grid-template-columns: repeat(var(--mph-cols, 3), minmax(0, 1fr));
    gap: 22px;
}

.mph-card,
.mph-featured-card,
.mph-side-card {
    background: var(--mph-card, #fff);
    border: 1px solid rgba(17, 24, 39, .07);
    box-shadow: var(--mph-shadow, none);
}

.mph-card,
.mph-featured-card {
    border-radius: var(--mph-radius, 16px);
    overflow: hidden;
}

.mph-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}

.mph-card:hover {
    transform: translateY(-3px);
}

.mph-media,
.mph-featured-media {
    display: block;
    overflow: hidden;
    background: #eef2f7;
    aspect-ratio: var(--mph-ratio, 16 / 9);
}

.mph-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 !important;
    transition: transform .25s ease;
}

.mph-card:hover .mph-img,
.mph-featured-card:hover .mph-img {
    transform: scale(1.02);
}

.mph-placeholder {
    width: 100%;
    height: 100%;
    min-height: 150px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef2f7, #f8fafc);
    color: #94a3b8;
}

.mph-placeholder .dashicons {
    width: 36px;
    height: 36px;
    font-size: 36px;
}

.mph-card-body {
    padding: 17px 18px 19px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mph-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: #8a94a3;
    font-size: 12px;
    line-height: 1.3;
}

.mph-category {
    color: var(--mph-primary, #0b57d0);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.mph-dot {
    opacity: .55;
}

.mph-card-title,
.mph-featured-title,
.mph-side-title {
    margin: 0;
    padding: 0;
    color: var(--mph-title, #111827);
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none !important;
}

.mph-card-title {
    font-size: 20px;
    line-height: 1.27;
    font-weight: 700;
}

.mph-card-title a,
.mph-featured-title a,
.mph-side-title a {
    color: inherit !important;
}

.mph-excerpt,
.mph-featured-excerpt {
    color: var(--mph-text, #6b7280);
    margin: 10px 0 13px;
    line-height: 1.6;
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none !important;
}

.mph-excerpt {
    font-size: 14px;
}

.mph-more {
    color: var(--mph-primary, #0b57d0) !important;
    display: inline-flex;
    gap: 7px;
    align-items: center;
    font-size: 13px;
    font-weight: 750;
    margin-top: auto;
}

.mph-more span,
.mph-all span {
    transition: transform .18s ease;
}

.mph-more:hover span,
.mph-all:hover span {
    transform: translateX(3px);
}

/* ===== Layout principal mais equilibrado ===== */
.mph-featured-grid {
    display: grid;
    grid-template-columns: minmax(0, var(--mph-main-col, 60%)) minmax(320px, var(--mph-side-col, 40%));
    gap: 24px;
    align-items: stretch;
}

.mph-featured-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mph-featured-media {
    aspect-ratio: 16 / 8.6;
    max-height: 360px;
}

.mph-featured-body {
    padding: 19px 22px 21px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mph-featured-title {
    font-size: var(--mph-featured-title-size, 30px);
    line-height: 1.16;
    letter-spacing: -0.02em;
    font-weight: var(--mph-featured-title-weight, 700);
    display: -webkit-box;
    -webkit-line-clamp: var(--mph-featured-title-lines, 4);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mph-featured-excerpt {
    font-size: 14px;
    line-height: 1.55;
    margin-top: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mph-more-featured {
    margin-top: 5px;
}

.mph-side-list {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-content: start;
}

.mph-side-card {
    display: grid;
    grid-template-columns: 138px minmax(0, 1fr);
    min-height: 112px;
    border-radius: calc(var(--mph-radius, 16px) * .75);
    overflow: hidden;
}

.mph-side-media {
    display: block;
    min-height: 112px;
    overflow: hidden;
    background: #eef2f7;
}

.mph-side-media .mph-img,
.mph-side-media .mph-placeholder {
    width: 100%;
    height: 100%;
    min-height: 112px;
    object-fit: cover;
}

.mph-side-body {
    min-width: 0;
    padding: 12px 13px;
    display: flex;
    flex-direction: column;
}

.mph-side-body .mph-meta {
    margin-bottom: 5px;
    font-size: 10.5px;
}

.mph-side-title {
    font-size: var(--mph-side-title-size, 15px);
    line-height: 1.22;
    font-weight: var(--mph-side-title-weight, 700);
    display: -webkit-box;
    -webkit-line-clamp: var(--mph-side-title-lines, 3);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mph-side-more {
    font-size: 11.5px;
    margin-top: auto;
    padding-top: 7px;
}

.mph-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.mph-all {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--mph-primary, #0b57d0);
    color: #fff !important;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 750;
    box-shadow: 0 8px 20px rgba(17,24,39,.08);
}

.mph-empty {
    padding: 30px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--mph-radius, 16px);
    text-align: center;
    color: #64748b;
}

@media (max-width: 1080px) {
    .mph-featured-grid {
        grid-template-columns: minmax(0, 58%) minmax(300px, 42%);
        gap: 20px;
    }

    .mph-side-card {
        grid-template-columns: 120px minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .mph-featured-grid {
        grid-template-columns: 1fr;
    }

    .mph-grid {
        grid-template-columns: repeat(var(--mph-tablet, 2), minmax(0, 1fr));
    }

    .mph-side-list {
        grid-template-columns: repeat(var(--mph-tablet, 2), minmax(0, 1fr));
    }

    .mph-side-card {
        grid-template-columns: 125px minmax(0, 1fr);
    }

    .mph-featured-media {
        max-height: none;
    }
}

@media (max-width: 680px) {
    .mph-section {
        padding: 22px 14px 28px;
    }

    .mph-grid,
    .mph-side-list {
        grid-template-columns: 1fr;
    }

    .mph-section-head {
        margin-bottom: 15px;
    }

    .mph-featured-body {
        padding: 17px;
    }

    .mph-featured-title {
        font-size: min(var(--mph-featured-title-size, 30px), 26px);
        -webkit-line-clamp: 5;
    }

    .mph-side-card {
        grid-template-columns: 108px minmax(0, 1fr);
        min-height: 104px;
    }

    .mph-side-media,
    .mph-side-media .mph-img,
    .mph-side-media .mph-placeholder {
        min-height: 104px;
    }

    .mph-side-title {
        font-size: min(var(--mph-side-title-size, 15px), 15px);
    }
}


/* ===== Todas as publicações ===== */
.mph-publications-head {
    margin-bottom: 18px;
}

.mph-publications-filters {
    display: grid;
    grid-template-columns: minmax(230px, 1.6fr) minmax(180px, .9fr) minmax(145px, .7fr) minmax(145px, .7fr) auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    margin-bottom: 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: var(--mph-radius, 16px);
}

.mph-filter-field {
    min-width: 0;
}

.mph-filter-field label {
    display: block;
    margin: 0 0 6px;
    color: var(--mph-title, #111827);
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
}

.mph-filter-field input,
.mph-filter-field select {
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 11px;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 13px;
    outline: none;
    box-shadow: none;
}

.mph-filter-field input:focus,
.mph-filter-field select:focus {
    border-color: var(--mph-primary, #0b57d0);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mph-primary, #0b57d0) 13%, transparent);
}

.mph-search-wrap {
    position: relative;
}

.mph-search-wrap .dashicons {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: #94a3b8;
    pointer-events: none;
}

.mph-search-wrap input {
    padding-left: 36px;
}

.mph-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mph-filter-submit,
.mph-filter-clear {
    height: 42px;
    border: 0;
    border-radius: 10px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .15s ease, opacity .15s ease, background .15s ease;
}

.mph-filter-submit {
    background: var(--mph-primary, #0b57d0);
    color: #fff;
}

.mph-filter-clear {
    background: #fff;
    color: #475569;
    border: 1px solid #d8dee8;
}

.mph-filter-submit:hover,
.mph-filter-clear:hover {
    transform: translateY(-1px);
}

.mph-publications-summary {
    min-height: 20px;
    margin: 0 0 12px;
    color: #64748b;
    font-size: 13px;
}

.mph-results-meta {
    display: none;
}

.mph-publications-results {
    position: relative;
    min-height: 120px;
}

.mph-publications.is-loading .mph-publications-results {
    opacity: .55;
    pointer-events: none;
}

.mph-publications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mph-publication-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: var(--mph-card, #fff);
    border: 1px solid rgba(17, 24, 39, .07);
    border-radius: var(--mph-radius, 16px);
    box-shadow: var(--mph-shadow, none);
}

.mph-publication-media {
    display: block;
    overflow: hidden;
    aspect-ratio: var(--mph-ratio, 16 / 9);
    background: #eef2f7;
}

.mph-publication-media .mph-img,
.mph-publication-media .mph-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mph-publication-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 17px 18px 19px;
}

.mph-publication-title {
    margin: 0;
    color: var(--mph-title, #111827);
    font-size: 19px;
    line-height: 1.28;
    font-weight: 700;
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mph-publication-title a {
    color: inherit !important;
}

.mph-publication-excerpt {
    margin: 10px 0 14px;
    color: var(--mph-text, #6b7280);
    font-size: 13.5px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mph-publication-more {
    margin-top: auto;
}

.mph-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.mph-page-numbers {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.mph-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 11px;
    border: 1px solid #d8dee8;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.mph-page-btn:hover,
.mph-page-btn.is-current {
    border-color: var(--mph-primary, #0b57d0);
    background: var(--mph-primary, #0b57d0);
    color: #fff;
}

.mph-page-dots {
    padding: 0 3px;
    color: #94a3b8;
}

.mph-publications-empty {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.mph-publications-empty .dashicons {
    width: 30px;
    height: 30px;
    font-size: 30px;
}

.mph-publications-empty strong {
    color: var(--mph-title, #111827);
    font-size: 16px;
}

.mph-publications-empty p {
    margin: 0;
}

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

    .mph-filter-search {
        grid-column: 1 / -1;
    }

    .mph-filter-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }
}

@media (max-width: 900px) {
    .mph-publications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .mph-publications-filters {
        grid-template-columns: 1fr;
        padding: 13px;
    }

    .mph-filter-search,
    .mph-filter-actions {
        grid-column: auto;
    }

    .mph-filter-actions {
        justify-content: stretch;
    }

    .mph-filter-submit,
    .mph-filter-clear {
        flex: 1;
    }

    .mph-publications-grid {
        grid-template-columns: 1fr;
    }

    .mph-pagination {
        gap: 7px;
    }

    .mph-page-prev,
    .mph-page-next {
        width: 100%;
    }
}


/* =========================================================
   MODELOS DE HOME - v1.3.0
   ========================================================= */
.mph-home-model .mph-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mph-home-model h3,
.mph-home-model p {
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none !important;
}

/* Modelo 2 - Magazine */
.mph-magazine-top {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr);
    gap: 20px;
}
.mph-mag-main {
    min-width: 0;
    border-radius: var(--mph-radius, 16px);
    overflow: hidden;
    min-height: 430px;
    box-shadow: var(--mph-shadow, none);
}
.mph-mag-main-media {
    position: relative;
    display: block;
    height: 100%;
    min-height: 430px;
    background: #e9eef5;
}
.mph-mag-main-media .mph-img,
.mph-mag-main-media .mph-placeholder {
    position: absolute;
    inset: 0;
    min-height: 430px;
}
.mph-mag-overlay,
.mph-mosaic-shade,
.mph-inst-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,15,28,.9) 0%, rgba(8,15,28,.38) 52%, rgba(8,15,28,.05) 100%);
}
.mph-mag-main-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    color: #fff;
}
.mph-mag-main-content .mph-meta,
.mph-mag-main-content .mph-category {
    color: #fff;
}
.mph-mag-main-content h3 {
    margin: 5px 0 9px;
    font-size: clamp(27px, 3.3vw, 42px);
    line-height: 1.08;
    font-weight: 750;
}
.mph-mag-main-content h3 span { color: #fff; }
.mph-mag-main-content p {
    margin: 0;
    max-width: 720px;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.55;
}
.mph-mag-secondary {
    display: grid;
    gap: 16px;
}
.mph-mag-side {
    overflow: hidden;
    border-radius: var(--mph-radius, 16px);
    border: 1px solid rgba(17,24,39,.08);
    background: var(--mph-card, #fff);
    box-shadow: var(--mph-shadow, none);
}
.mph-mag-side-media {
    display: block;
    height: 155px;
    overflow: hidden;
    background: #eef2f7;
}
.mph-mag-side-media .mph-placeholder { min-height: 155px; }
.mph-mag-side-content { padding: 14px 16px 16px; }
.mph-mag-side-content h3 {
    margin: 0 0 10px;
    color: var(--mph-title, #111827);
    font-size: 17px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mph-mag-side-content h3 a { color: inherit !important; }
.mph-mag-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}
.mph-mag-bottom-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(17,24,39,.08);
    border-radius: 14px;
    background: var(--mph-card, #fff);
}
.mph-mag-bottom-media {
    height: 86px;
    border-radius: 10px;
    overflow: hidden;
    background: #eef2f7;
}
.mph-mag-bottom-media .mph-placeholder { min-height: 86px; }
.mph-mag-bottom-card h3 {
    margin: 0;
    color: var(--mph-title, #111827);
    font-size: 14px;
    line-height: 1.28;
}
.mph-mag-bottom-card h3 a { color: inherit !important; }

/* Modelo 3 - Mosaico */
.mph-mosaic {
    display: grid;
    grid-template-columns: 1.15fr .85fr .85fr;
    grid-template-rows: 230px 230px;
    gap: 14px;
}
.mph-mosaic-item {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--mph-radius, 16px);
    background: #e9eef5;
    box-shadow: var(--mph-shadow, none);
}
.mph-mosaic-item.is-main {
    grid-row: 1 / span 2;
}
.mph-mosaic-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.mph-mosaic-link .mph-img,
.mph-mosaic-link .mph-placeholder {
    position: absolute;
    inset: 0;
    min-height: 100%;
}
.mph-mosaic-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px;
    color: #fff;
}
.mph-mosaic-content .mph-meta,
.mph-mosaic-content .mph-category { color: #fff; }
.mph-mosaic-content h3 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 17px;
    line-height: 1.22;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mph-mosaic-item.is-main .mph-mosaic-content { padding: 24px; }
.mph-mosaic-item.is-main .mph-mosaic-content h3 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
    -webkit-line-clamp: 4;
}
.mph-mosaic-content p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    line-height: 1.5;
}

/* Modelo 4 - Institucional */
.mph-inst-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, .85fr);
    gap: 28px;
    align-items: stretch;
}
.mph-inst-feature {
    min-height: 460px;
    overflow: hidden;
    border-radius: var(--mph-radius, 16px);
}
.mph-inst-feature-link {
    position: relative;
    display: block;
    height: 100%;
    min-height: 460px;
    background: #e9eef5;
}
.mph-inst-feature-link .mph-img,
.mph-inst-feature-link .mph-placeholder {
    position: absolute;
    inset: 0;
    min-height: 460px;
}
.mph-inst-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px;
    color: #fff;
}
.mph-inst-content .mph-meta,
.mph-inst-content .mph-category { color: #fff; }
.mph-inst-content h3 {
    margin: 5px 0 10px;
    color: #fff;
    font-size: clamp(27px, 3.2vw, 40px);
    line-height: 1.08;
}
.mph-inst-content p {
    margin: 0 0 15px;
    color: rgba(255,255,255,.86);
    line-height: 1.55;
}
.mph-inst-button {
    display: inline-flex;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.mph-inst-list {
    border-top: 1px solid #e5e7eb;
}
.mph-inst-row {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 17px 0;
    border-bottom: 1px solid #e5e7eb;
}
.mph-inst-index {
    color: color-mix(in srgb, var(--mph-primary, #0b57d0) 65%, #fff);
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
}
.mph-inst-row-content h3 {
    margin: 2px 0 8px;
    color: var(--mph-title, #111827);
    font-size: 17px;
    line-height: 1.28;
}
.mph-inst-row-content h3 a { color: inherit !important; }

/* Modelo 5 - Minimalista */
.mph-minimal-feature {
    display: grid;
    grid-template-columns: minmax(340px, .95fr) minmax(0, 1.05fr);
    gap: 30px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e7eb;
}
.mph-minimal-media {
    display: block;
    height: 310px;
    overflow: hidden;
    border-radius: var(--mph-radius, 16px);
    background: #eef2f7;
}
.mph-minimal-media .mph-placeholder { min-height: 310px; }
.mph-minimal-feature-content h3 {
    margin: 5px 0 13px;
    color: var(--mph-title, #111827);
    font-size: clamp(27px, 3vw, 40px);
    line-height: 1.09;
    font-weight: 700;
}
.mph-minimal-feature-content h3 a { color: inherit !important; }
.mph-minimal-feature-content p {
    margin: 0 0 18px;
    color: var(--mph-text, #6b7280);
    line-height: 1.65;
}
.mph-minimal-list { margin-top: 6px; }
.mph-minimal-row {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr) 42px;
    gap: 18px;
    align-items: center;
    min-height: 96px;
    border-bottom: 1px solid #e5e7eb;
}
.mph-minimal-date {
    text-align: center;
    color: var(--mph-primary, #0b57d0);
    line-height: 1;
}
.mph-minimal-date strong {
    display: block;
    font-size: 27px;
}
.mph-minimal-date span {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
}
.mph-minimal-row-text .mph-category { font-size: 10px; }
.mph-minimal-row-text h3 {
    margin: 4px 0 0;
    color: var(--mph-title, #111827);
    font-size: 18px;
    line-height: 1.28;
}
.mph-minimal-row-text h3 a { color: inherit !important; }
.mph-minimal-arrow {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid #dfe5ec;
    border-radius: 50%;
    color: var(--mph-primary, #0b57d0) !important;
    font-weight: 800;
}

@media (max-width: 950px) {
    .mph-magazine-top,
    .mph-inst-grid,
    .mph-minimal-feature {
        grid-template-columns: 1fr;
    }
    .mph-mag-bottom {
        grid-template-columns: 1fr 1fr;
    }
    .mph-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 330px repeat(2, 210px);
    }
    .mph-mosaic-item.is-main {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .mph-inst-feature,
    .mph-inst-feature-link,
    .mph-inst-feature-link .mph-img,
    .mph-inst-feature-link .mph-placeholder {
        min-height: 400px;
    }
}
@media (max-width: 650px) {
    .mph-mag-main,
    .mph-mag-main-media,
    .mph-mag-main-media .mph-img,
    .mph-mag-main-media .mph-placeholder {
        min-height: 360px;
    }
    .mph-mag-main-content { padding: 20px; }
    .mph-mag-main-content h3 { font-size: 26px; }
    .mph-mag-bottom { grid-template-columns: 1fr; }
    .mph-mag-bottom-card { grid-template-columns: 96px minmax(0, 1fr); }

    .mph-mosaic {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }
    .mph-mosaic-item,
    .mph-mosaic-item.is-main {
        min-height: 240px;
        grid-column: auto;
        grid-row: auto;
    }
    .mph-mosaic-item.is-main { min-height: 330px; }

    .mph-inst-feature,
    .mph-inst-feature-link,
    .mph-inst-feature-link .mph-img,
    .mph-inst-feature-link .mph-placeholder {
        min-height: 360px;
    }
    .mph-inst-content { padding: 20px; }
    .mph-inst-content h3 { font-size: 26px; }

    .mph-minimal-media { height: 245px; }
    .mph-minimal-feature-content h3 { font-size: 27px; }
    .mph-minimal-row {
        grid-template-columns: 54px minmax(0, 1fr) 34px;
        gap: 12px;
    }
}


/* Modelo 6 - Mosaico 1 + 2
   Integrado às configurações do painel administrativo.
*/
.mph-model-6 .mph-section-head {
    margin-bottom: 18px;
}

.mph-one-two-grid {
    display: grid;
    grid-template-columns:
        minmax(0, var(--mph-main-col, 60fr))
        minmax(0, var(--mph-side-col, 40fr));
    gap: 10px;

    /* "Proporção das imagens" do painel passa a controlar
       a proporção geral do mosaico no desktop. */
    aspect-ratio: var(--mph-ratio, 16 / 9);
    min-height: 0;
}

.mph-one-two-main,
.mph-one-two-side-card {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: var(--mph-card, #ffffff);
    border-radius: var(--mph-radius, 16px);
    box-shadow: var(--mph-shadow, none);
}

.mph-one-two-side {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;
}

.mph-one-two-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.mph-one-two-link .mph-img,
.mph-one-two-link .mph-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.mph-one-two-main:hover .mph-img,
.mph-one-two-side-card:hover .mph-img {
    transform: scale(1.025);
}

.mph-one-two-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5,12,23,.82) 0%,
        rgba(5,12,23,.40) 38%,
        rgba(5,12,23,.10) 69%,
        rgba(5,12,23,.02) 100%
    );
}

.mph-one-two-main-content,
.mph-one-two-side-content {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff;
}

.mph-one-two-main-content {
    padding: 30px 36px 34px;
}

.mph-one-two-side-content {
    padding: 20px 24px 22px;
}

.mph-one-two-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.mph-one-two-badge {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 5px 8px;
    background: var(--mph-primary, #0b57d0);
    color: #fff;
    border-radius: max(2px, calc(var(--mph-radius, 16px) * .18));
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mph-one-two-date,
.mph-one-two-author {
    color: rgba(255,255,255,.88);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
}

.mph-one-two-main-content h3,
.mph-one-two-side-content h3 {
    margin: 0;
    color: #fff;
    letter-spacing: -.02em;
    text-shadow: 0 2px 10px rgba(0,0,0,.22);
    word-break: normal !important;
    overflow-wrap: break-word;
    hyphens: none !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tipografia do Destaque */
.mph-one-two-main-content h3 {
    max-width: 96%;
    font-size: var(--mph-featured-title-size, 30px);
    line-height: 1.12;
    font-weight: var(--mph-featured-title-weight, 700);
    -webkit-line-clamp: var(--mph-featured-title-lines, 4);
}

/* Tipografia dos títulos laterais */
.mph-one-two-side-content h3 {
    max-width: 98%;
    font-size: var(--mph-side-title-size, 15px);
    line-height: 1.2;
    font-weight: var(--mph-side-title-weight, 700);
    -webkit-line-clamp: var(--mph-side-title-lines, 3);
}

.mph-one-two-excerpt {
    margin: 10px 0 0;
    max-width: 88%;
    color: rgba(255,255,255,.86);
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mph-one-two-empty {
    background: linear-gradient(135deg, var(--mph-card, #fff), #f8fafc);
}

/* Tablet */
@media (max-width: 980px) {
    .mph-one-two-grid {
        aspect-ratio: auto;
        min-height: 520px;
        grid-template-columns:
            minmax(0, var(--mph-main-col, 60fr))
            minmax(0, var(--mph-side-col, 40fr));
    }

    .mph-one-two-main,
    .mph-one-two-side {
        min-height: 520px;
    }

    .mph-one-two-main-content {
        padding: 26px 28px 30px;
    }

    .mph-one-two-side-content {
        padding: 17px 18px 19px;
    }
}

/* Tablet estreito: destaque em cima e laterais lado a lado */
@media (max-width: 760px) {
    .mph-one-two-grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mph-one-two-main {
        min-height: 420px;
    }

    .mph-one-two-side {
        grid-template-columns: repeat(var(--mph-tablet, 2), minmax(0, 1fr));
        grid-template-rows: none;
        min-height: 220px;
    }

    .mph-one-two-side-card {
        min-height: 220px;
    }
}

/* Celular */
@media (max-width: 560px) {
    .mph-one-two-main {
        min-height: 360px;
    }

    .mph-one-two-side {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .mph-one-two-side-card {
        min-height: 230px;
    }

    .mph-one-two-main-content {
        padding: 20px;
    }

    .mph-one-two-side-content {
        padding: 18px;
    }

    .mph-one-two-main-content h3 {
        max-width: 100%;
    }

    .mph-one-two-side-content h3 {
        max-width: 100%;
    }

    .mph-one-two-excerpt {
        max-width: 100%;
    }
}
