/* MediaPulse360 Standard Blog — v2.1.0
   All selectors are scoped to .mp360-* to reduce theme/Elementor conflicts. */

.mp360-wrap,
.mp360-wrap * {
    box-sizing: border-box;
}

.mp360-wrap {
    --mp-bg: #f4f6f8;
    --mp-surface: #ffffff;
    --mp-ink: #101820;
    --mp-muted: #66727e;
    --mp-line: #e5e9ed;
    --mp-accent: #e2b93b;
    --mp-accent-dark: #9b7600;
    --mp-navy: #0d1b2a;
    --mp-navy-2: #16283a;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 24px 88px;
    color: var(--mp-ink);
    background: transparent;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mp360-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
    align-items: start;
}

.mp360-article {
    min-width: 0;
    overflow: hidden;
    background: var(--mp-surface);
    border: 1px solid var(--mp-line);
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(13, 27, 42, .08);
}

.mp360-header {
    padding: 42px 48px 30px;
}

.mp360-header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.mp360-category a,
.mp360-header__tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    border-radius: 999px;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

.mp360-category a {
    color: var(--mp-navy) !important;
    background: #eef1f3;
}

.mp360-header__tag {
    color: #6c5410;
    background: #fbf4d9;
    border: 1px solid #f0df9e;
}

.mp360-header h1 {
    max-width: 900px;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mp-ink) !important;
    font-size: clamp(38px, 4.8vw, 68px) !important;
    line-height: 1.04 !important;
    letter-spacing: -.045em !important;
    font-weight: 800 !important;
}

.mp360-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    color: var(--mp-muted);
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.mp360-meta__author {
    color: var(--mp-ink);
    font-weight: 700;
}

.mp360-hero {
    position: relative;
    width: calc(100% - 48px);
    margin: 0 24px 34px;
    overflow: hidden;
    border-radius: 16px;
    background: #e9edf0;
    aspect-ratio: 16 / 8.2;
}

.mp360-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(13, 27, 42, 0) 55%, rgba(13, 27, 42, .18));
}

.mp360-hero__img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover !important;
}

.mp360-content {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 48px 36px;
    color: #35424e;
    font-size: 18px;
    line-height: 1.88;
    overflow-wrap: anywhere;
}

.mp360-content > :first-child {
    margin-top: 0 !important;
}

.mp360-content p {
    margin: 0 0 22px !important;
}

.mp360-content strong {
    color: var(--mp-ink);
}

.mp360-content h2,
.mp360-content h3,
.mp360-content h4,
.mp360-content h5,
.mp360-content h6 {
    scroll-margin-top: 90px;
    overflow-wrap: anywhere;
}

.mp360-content h2 {
    position: relative;
    margin: 48px 0 16px !important;
    padding-top: 6px;
    color: var(--mp-ink) !important;
    font-size: 34px !important;
    line-height: 1.18 !important;
    letter-spacing: -.025em;
    font-weight: 800 !important;
}

.mp360-content h2::before {
    content: "";
    display: block;
    width: 34px;
    height: 4px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: var(--mp-accent);
}

.mp360-content h3 {
    margin: 32px 0 12px !important;
    color: var(--mp-navy) !important;
    font-size: 26px !important;
    line-height: 1.3 !important;
    font-weight: 750 !important;
}

.mp360-content h4 {
    margin: 25px 0 9px !important;
    color: var(--mp-navy) !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
}

.mp360-content h5,
.mp360-content h6 {
    margin: 22px 0 8px !important;
    color: var(--mp-navy) !important;
}

.mp360-content ul,
.mp360-content ol {
    margin: 0 0 24px 22px !important;
    padding: 0 !important;
}

.mp360-content li {
    margin: 0 0 9px !important;
}

.mp360-content a {
    color: #846600 !important;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.mp360-content img,
.mp360-content video,
.mp360-content iframe {
    max-width: 100% !important;
}

.mp360-content img {
    height: auto !important;
    border-radius: 12px;
}

.mp360-content figure {
    max-width: 100%;
    margin: 28px 0;
}

.mp360-content figcaption {
    margin-top: 8px;
    color: #7b8792;
    font-size: 12px;
    line-height: 1.5;
}

.mp360-content blockquote {
    margin: 28px 0 !important;
    padding: 20px 22px !important;
    border: 0 !important;
    border-left: 4px solid var(--mp-accent) !important;
    border-radius: 0 12px 12px 0;
    background: #f8f8f5 !important;
    color: #4d5964;
}

.mp360-content hr {
    margin: 38px 0;
    border: 0;
    border-top: 1px solid var(--mp-line);
}

.mp360-content table {
    display: block;
    width: 100% !important;
    max-width: 100%;
    margin: 28px 0;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    -webkit-overflow-scrolling: touch;
}

.mp360-content th,
.mp360-content td {
    min-width: 130px;
    padding: 12px 14px !important;
    border: 1px solid #dfe5e9 !important;
    text-align: left;
    vertical-align: top;
}

.mp360-content th {
    background: #f2f4f5 !important;
    color: var(--mp-navy) !important;
    font-weight: 750;
}

.mp360-content pre {
    max-width: 100%;
    margin: 24px 0;
    overflow: auto;
    padding: 16px;
    border-radius: 12px;
    background: var(--mp-navy);
    color: #fff;
    font-size: 13px;
    line-height: 1.65;
}

.mp360-mobile-toc {
    display: none;
    margin: 0 24px 28px;
    border: 1px solid var(--mp-line);
    border-radius: 14px;
    background: #fafbfb;
}

.mp360-mobile-toc summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 15px 16px;
    color: var(--mp-ink);
    font-size: 14px;
    font-weight: 750;
    list-style: none;
}

.mp360-mobile-toc summary::-webkit-details-marker {
    display: none;
}

.mp360-mobile-toc summary b {
    color: #7b8490;
    font-size: 11px;
    font-weight: 650;
}

.mp360-mobile-toc nav {
    padding: 0 10px 10px;
}

.mp360-sidebar {
    position: sticky;
    top: 28px;
    min-width: 0;
}

.mp360-side-card {
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid var(--mp-line);
    border-radius: 18px;
    background: var(--mp-surface);
    box-shadow: 0 12px 35px rgba(13, 27, 42, .06);
}

.mp360-side-heading {
    padding: 19px 19px 15px;
    border-bottom: 1px solid var(--mp-line);
}

.mp360-side-heading span,
.mp360-cta-kicker {
    display: block;
    margin-bottom: 6px;
    color: #9b7600;
    font-size: 9px;
    line-height: 1.2;
    letter-spacing: .13em;
    font-weight: 850;
}

.mp360-side-heading strong {
    display: block;
    color: var(--mp-ink);
    font-size: 19px;
    line-height: 1.3;
}

.mp360-toc {
    max-height: 470px;
    overflow: auto;
    padding: 9px;
    scrollbar-width: thin;
}

.mp360-toc__item {
    display: grid;
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 7px;
    align-items: start;
    padding: 9px 8px;
    border-radius: 9px;
    color: #687581 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.mp360-toc__item:hover,
.mp360-toc__item:focus {
    color: var(--mp-ink) !important;
    background: #f3f5f6;
    transform: translateX(2px);
}

.mp360-toc__item--3 {
    padding-left: 20px;
    font-size: 13px !important;
}

.mp360-toc__num {
    color: #9aabb8;
    font-size: 9px;
    line-height: 1.7;
    font-weight: 800;
    letter-spacing: .06em;
}

.mp360-side-card--cta {
    padding: 24px;
    border-color: var(--mp-navy);
    background: var(--mp-navy);
    color: #fff;
}

.mp360-side-card--cta h2 {
    margin: 0 0 11px !important;
    color: #fff !important;
    font-size: 25px !important;
    line-height: 1.12 !important;
    letter-spacing: -.025em;
    font-weight: 800 !important;
}

.mp360-side-card--cta p {
    margin: 0 0 20px;
    color: #b7c1c9;
    font-size: 13px;
    line-height: 1.65;
}

.mp360-side-card--cta a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--mp-accent);
    color: #1d1a10 !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
}

.mp360-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 48px;
    padding: 20px 0;
    border-top: 1px solid var(--mp-line);
}

.mp360-share__label {
    color: #7b8792;
    font-size: 12px;
    font-weight: 750;
}

.mp360-share__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.mp360-share__links a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid var(--mp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--mp-navy) !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 700;
}

.mp360-share__links a:hover,
.mp360-share__links a:focus {
    border-color: #d6c27a;
    background: #fbf7e7;
}

.mp360-post-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    padding: 0 48px 42px;
}

.mp360-post-nav__item {
    min-width: 0;
    display: block;
    padding: 17px;
    border: 1px solid var(--mp-line);
    border-radius: 13px;
    background: #fbfcfc;
    color: var(--mp-ink) !important;
    text-decoration: none !important;
}

.mp360-post-nav__item--next {
    text-align: right;
}

.mp360-post-nav__item span {
    display: block;
    margin-bottom: 7px;
    color: #87929c;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
}

.mp360-post-nav__item strong {
    display: block;
    overflow: hidden;
    color: var(--mp-navy);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 750;
    text-overflow: ellipsis;
}

@media (max-width: 1050px) {
    .mp360-wrap {
        padding: 36px 18px 70px;
    }

    .mp360-shell {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 22px;
    }

    .mp360-header {
        padding: 34px 34px 26px;
    }

    .mp360-content {
        padding-right: 34px;
        padding-left: 34px;
    }

    .mp360-share {
        margin-right: 34px;
        margin-left: 34px;
    }

    .mp360-post-nav {
        padding-right: 34px;
        padding-left: 34px;
    }
}

@media (max-width: 820px) {
    .mp360-wrap {
        padding: 24px 14px 55px;
    }

    .mp360-shell {
        display: block;
    }

    .mp360-sidebar {
        display: none;
    }

    .mp360-article {
        border-radius: 17px;
    }

    .mp360-mobile-toc {
        display: block;
    }

    .mp360-header {
        padding: 27px 24px 23px;
    }

    .mp360-header__top {
        margin-bottom: 16px;
    }

    .mp360-header h1 {
        font-size: clamp(34px, 7.2vw, 50px) !important;
    }

    .mp360-hero {
        width: calc(100% - 28px);
        margin-right: 14px;
        margin-left: 14px;
        border-radius: 13px;
    }

    .mp360-content {
        max-width: none;
        padding: 0 24px 30px;
        font-size: 17px;
        line-height: 1.8;
    }

    .mp360-content h2 {
        font-size: 29px !important;
        margin-top: 39px !important;
    }

    .mp360-share {
        margin-right: 24px;
        margin-left: 24px;
    }

    .mp360-post-nav {
        padding-right: 24px;
        padding-bottom: 30px;
        padding-left: 24px;
    }
}

@media (max-width: 560px) {
    .mp360-wrap {
        padding: 10px 8px 38px;
    }

    .mp360-article {
        border-radius: 13px;
        box-shadow: 0 10px 30px rgba(13, 27, 42, .06);
    }

    .mp360-header {
        padding: 22px 17px 19px;
    }

    .mp360-header__top {
        align-items: flex-start;
    }

    .mp360-category a,
    .mp360-header__tag {
        min-height: 27px;
        padding: 5px 8px;
        font-size: 8px !important;
    }

    .mp360-header h1 {
        font-size: clamp(30px, 9.8vw, 43px) !important;
        line-height: 1.06 !important;
    }

    .mp360-meta {
        gap: 6px;
        margin-top: 16px;
        font-size: 13px !important;
    }

    .mp360-hero {
        width: calc(100% - 16px);
        margin-right: 8px;
        margin-bottom: 20px;
        margin-left: 8px;
        border-radius: 10px;
        aspect-ratio: 1.45 / 1;
    }

    .mp360-mobile-toc {
        margin: 0 12px 22px;
        border-radius: 11px;
    }

    .mp360-mobile-toc summary {
        padding: 13px;
        font-size: 12px;
    }

    .mp360-content {
        padding: 0 17px 22px;
        font-size: 16px;
        line-height: 1.78;
    }

    .mp360-content h2 {
        margin-top: 33px !important;
        font-size: 24px !important;
    }

    .mp360-content h3 {
        font-size: 19px !important;
    }

    .mp360-content ul,
    .mp360-content ol {
        margin-left: 19px !important;
    }

    .mp360-share {
        display: block;
        margin: 0 17px;
        padding: 17px 0;
    }

    .mp360-share__links {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .mp360-post-nav {
        grid-template-columns: 1fr;
        padding: 0 17px 23px;
    }

    .mp360-post-nav__item--next {
        text-align: left;
    }
}

@media (max-width: 360px) {
    .mp360-header h1 {
        font-size: 27px !important;
    }

    .mp360-meta > span[aria-hidden="true"] {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp360-toc__item {
        transition: none;
    }
}


/* Hide the theme's native author/meta row and comment UI.
   The plugin supplies its own clean date/read-time row inside the article. */
body.mp360-blog-page .entry-meta,
body.mp360-blog-page .post-meta,
body.mp360-blog-page .post-info,
body.mp360-blog-page .blog-meta,
body.mp360-blog-page .single-post-meta,
body.mp360-blog-page .post-header-meta,
body.mp360-blog-page .article-meta,
body.mp360-blog-page .author-info,
body.mp360-blog-page .post-author,
body.mp360-blog-page .post-byline,
body.mp360-blog-page .byline {
    display: none !important;
}

body.mp360-blog-page .comments-area,
body.mp360-blog-page #comments,
body.mp360-blog-page .comment-respond,
body.mp360-blog-page .comments,
body.mp360-blog-page .wp-block-comments,
body.mp360-blog-page .wp-block-comment-template,
body.mp360-blog-page .wp-block-post-comments,
body.mp360-blog-page .comments-section,
body.mp360-blog-page .post-comments,
body.mp360-blog-page .entry-comments {
    display: none !important;
}
