/* ======================================================
   ARTICLE PAGE
====================================================== */

.met-article {
    width: 100%;
    padding: 0;
    background: #ffffff;
}

.met-article-container {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    padding: 32px 24px 100px;
}

/* ======================================================
   BREADCRUMB
====================================================== */

.met-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 5px;

    margin: 0 0 34px;

    color: #727b89;

    font-size: 11px;
    line-height: 1.5;
}

.met-breadcrumb a {
    color: #4e5867;
    text-decoration: none;
}

.met-breadcrumb a:hover {
    color: #2580ff;
}

.met-breadcrumb-separator {
    color: #9aa1ab;
}

.met-breadcrumb-current {
    color: #727b89;
}


/* ======================================================
   ARTICLE HEADER
====================================================== */

.met-article-header {
    width: 100%;
    max-width: 900px;

    margin: 0 auto 38px;

    text-align: center;
}


/* ======================================================
   CATEGORY BADGE
====================================================== */

.met-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0 0 16px;
    padding: 6px 12px;

    border-radius: 999px;

    background: #edf5ff;
    color: #2680ff;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    letter-spacing: 0.04em;

    text-decoration: none;
    text-transform: uppercase;
}

.met-category-badge:hover {
    color: #2680ff;
}


/* ======================================================
   ARTICLE TITLE
====================================================== */

.met-article-title {
    margin: 0 0 14px !important;

    color: #182438;

    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;

    letter-spacing: -0.02em;
}


/* ======================================================
   ARTICLE DATE
====================================================== */

.met-article-meta {
    color: #657080;

    font-size: 10px;
    font-weight: 500;
    line-height: 1.4;

    letter-spacing: 0.02em;

    text-transform: uppercase;
}


/* ======================================================
   FEATURED IMAGE
====================================================== */

.met-article-featured {
    width: 100%;
    max-width: 880px;

    margin: 0 auto 64px;

    overflow: hidden;

    border-radius: 24px;
}

.met-article-featured-image {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    object-fit: cover;
}


/* ======================================================
   ARTICLE CONTENT LAYOUT
====================================================== */

.met-article-layout {
    display: grid;

    grid-template-columns:
        180px
        minmax(0, 680px);

    column-gap: 64px;

    justify-content: center;
    align-items: start;
}


/* ======================================================
   LEFT SIDEBAR
====================================================== */

.met-article-sidebar {
    position: sticky;
    top: 100px;

    width: 100%;

    align-self: start;
}


/* ======================================================
   SIDEBAR LABEL
====================================================== */

.met-sidebar-label {
    margin: 0;

    color: #96a1b1;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}


/* ======================================================
   SHARE
====================================================== */

.met-share {
    display: block;
    margin: 0 0 34px;
}

.met-share-label {
    margin: 0 0 16px;

    color: #8ea0b8;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
}

.met-share-icons {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* DESKTOP CIRCLE */

.met-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px;
    min-height: 42px;

    padding: 0 !important;
    margin: 0;

    border: 1px solid #e3e9f1;
    border-radius: 50%;

    background: #ffffff;
    color: #172235 !important;

    text-decoration: none !important;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


/* DESKTOP SVG - BIGGER */

.met-share-icon svg {
    display: block;

    width: 21px !important;
    height: 21px !important;

    min-width: 21px !important;
    min-height: 21px !important;

    max-width: 21px !important;
    max-height: 21px !important;

    margin: 0 !important;

    fill: currentColor;
}

.met-share-icon:hover {
    border-color: #b9c7da;

    color: #2580ff !important;

    transform: translateY(-1px);
}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

    .met-share {
        margin-bottom: 26px;
    }

    .met-share-label {
        margin-bottom: 12px;

        font-size: 12px;
    }

    .met-share-icons {
        gap: 10px;
    }


    /* SMALLER CIRCLE */

    .met-share-icon {
        width: 34px !important;
        height: 34px !important;

        min-width: 34px;
        min-height: 34px;
    }


    /* SMALLER SVG */

    .met-share-icon svg {
        width: 15px !important;
        height: 15px !important;

        min-width: 15px !important;
        min-height: 15px !important;

        max-width: 15px !important;
        max-height: 15px !important;
    }

}
/* ======================================================
   TABLE OF CONTENTS
====================================================== */

.met-toc {
    width: 100%;
    margin: 0;

    max-height: 400px;
    overflow-y: auto;
}

/* Chrome / Edge / Safari */
.met-toc::-webkit-scrollbar {
    width: 3px !important;
}

.met-toc::-webkit-scrollbar-track {
    background: transparent;
}

.met-toc::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    border-radius: 999px;
}

.met-toc .met-sidebar-label {
    display: block;

    margin: 0 0 10px38}

.met-toc-list {
    display: flex;
    flex-direction: column;

    width: 100%;

    border-left: 2px solid #eef1f5;
}


/* TOC ITEMS */

.met-toc-item {
    position: relative;

    display: block;

    width: 100%;

    margin: 0 0 0 -2px;
    padding: 5px 0 5px 12px;

    border: 0;
    border-left: 2px solid transparent;

    background: transparent;

    color: #172235 !important;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;

    text-decoration: none !important;

    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}


/* H3 SUB ITEM */

.met-toc-level-3 {
    padding-left: 24px;

    color: #697384 !important;

    font-size: 11px;
}


/* TOC HOVER */

.met-toc-item:hover {
    color: #2580ff !important;
}


/* TOC ACTIVE */

.met-toc-item.is-active {
    border-left-color: #2c82ff;

    color: #172235 !important;

    font-weight: 500;
}


/* ======================================================
   ARTICLE BODY
====================================================== */

.met-article .met-article-body {
    display: block;

    min-width: 0;
    width: 100%;
    max-width: none;

    margin: 0;
    padding: 0;

    color: #263244;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}


/* PARAGRAPH */

.met-article .met-article-body p {
    padding: 0;
    margin-bottom:0;
    color: #263244;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}


.met-article .met-article-body h3, .met-article .met-article-body h4,.met-article .met-article-body h5,.met-article .met-article-body h6{
    padding:10px 0;
}

/* REMOVE TOP MARGIN IF HEADING IS FIRST */

.met-article .met-article-body > h2:first-child,
.met-article .met-article-body > h3:first-child {
    margin-top: 0 !important;
}


/* ======================================================
   ARTICLE LINKS
====================================================== */

.met-article .met-article-body a {
    color: #2580ff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.met-article .met-article-body a:hover {
    color: #1266d7;
}


/* ======================================================
   LISTS
====================================================== */

.met-article .met-article-body ul,
.met-article .met-article-body ol {
    margin: 0 0 12px !important;
    padding-left: 22px;
}



/* ======================================================
   CONTENT IMAGES
====================================================== */

.met-article .met-article-body img {
    display: block;

    max-width: 100%;
    height: auto;

    margin: 28px 0;

    border-radius: 12px;
}


/* ======================================================
   BLOCKQUOTE
====================================================== */

.met-article .met-article-body blockquote {
    margin: 32px 0;
    padding: 18px 22px;

    border-left: 3px solid #2580ff;

    background: #f7f9fc;

    color: #344054;

    font-size: 15px;
    line-height: 1.7;
}

.met-article .met-article-body blockquote p:last-child {
    margin-bottom: 0 !important;
}


/* ======================================================
   TABLE
====================================================== */

.met-article .met-article-body table {
    width: 100%;

    margin: 28px 0;

    border-collapse: collapse;
}

/*.met-article .met-article-body th,*/
/*.met-article .met-article-body td {*/
/*    padding: 12px;*/

/*    border: 1px solid #e5e9ef;*/

/*    text-align: left;*/

/*    font-size: 14px;*/
/*}*/

/*.met-article .met-article-body th {*/
/*    background: #f7f9fc;*/

/*    color: #182438;*/

/*    font-weight: 600;*/
/*}*/


/* ======================================================
   TABLET
====================================================== */

@media (max-width: 1024px) {

    .met-article {
        padding-right: 28px;
        padding-left: 28px;
    }

    .met-article-layout {
        grid-template-columns:
            150px
            minmax(0, 620px);

        column-gap: 36px;
    }

    .met-article-featured {
        max-width: 820px;
    }

    .met-article-title {
        font-size: 30px;
    }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 767px) {

    /* PAGE */

    .met-article {
        padding:
            24px
            20px
            64px;
    }


    /* BREADCRUMB */

    .met-breadcrumb {
        justify-content: flex-start;

        margin-bottom: 28px;

        font-size: 10px;
    }


    /* ARTICLE HEADER */

    .met-article-header {
        margin-bottom: 28px;
    }


    /* CATEGORY */

    .met-category-badge {
        margin-bottom: 14px;

        padding: 6px 11px;

        font-size: 10px;
    }


    /* TITLE */

    .met-article-title {
        margin-bottom: 12px !important;

        font-size: 28px;
        line-height: 1.2;
    }


    /* FEATURED IMAGE */

    .met-article-featured {
        margin-bottom: 32px;

        border-radius: 16px;
    }


    /* CONTENT LAYOUT */

    .met-article-layout {
        display: block;
    }


    /* SIDEBAR */

    .met-article-sidebar {
        position: static;

        width: 100%;

        margin: 0 0 28px;
    }


    /* SHARE REMAINS ON MOBILE */

    .met-share {
        display: flex;
        align-items: center;

        gap: 9px;

        margin: 0;
    }

    .met-share-icons {
        gap: 7px;
    }

    .met-share-icons a {
        flex-basis: 28px;

        width: 28px;
        height: 28px;
    }


    /* HIDE CONTENTS ON MOBILE */

    .met-toc {
        display: none;
    }


    /* ARTICLE BODY */

    .met-article .met-article-body {
        width: 100%;

        font-size: 15px;
        line-height: 1.7;
    }

    .met-article .met-article-body p {
        margin-bottom: 22px !important;

        font-size: 15px;
        line-height: 1.7;
    }

   



    /* CONTENT IMAGES */

    .met-article .met-article-body img {
        margin: 24px 0;

        border-radius: 10px;
    }

}


/* ======================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 480px) {

    .met-article {
        padding-right: 16px;
        padding-left: 16px;
    }

    .met-article-title {
        font-size: 26px;
    }

    .met-breadcrumb-current {
        /*
         * Prevent very long post titles from causing
         * horizontal overflow.
         */
        min-width: 0;

        overflow-wrap: anywhere;
    }

}


/* ======================================================
   RELATED ARTICLES - OUTER SECTION ONLY

   Cards themselves are styled by post-cards.css
====================================================== */

.met-related-section {
    width: 100%;

    margin: 0;

    padding: 64px 24px 72px;

    background: #F4F7FB;
}

.met-related-inner {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;
}

.met-related-heading {
    margin: 0 0 28px !important;

    color: #182438;

    font-size: 28px !important;
    font-weight: 600 !important;
    line-height: 1.25;
}


/* MOBILE */

@media (max-width: 767px) {

    .met-article-container {
        padding:
            24px
            20px
            64px;
    }

    .met-related-section {
        padding:
            42px
            20px
            48px;
    }

    .met-related-heading {
        font-size: 24px !important;
    }

}