/* ================================= */
/* PAGE BACKGROUND */
/* ================================= */

body {
    background: #f5f2ee;
    color: #222;
}


/* ================================= */
/* PAGE / ARTICLE LAYOUT */
/* ================================= */

.wp-site-blocks {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* luxury editorial width */

.wp-block-post-title,
.wp-block-post-date,
.wp-block-post-terms,
.wp-block-post-featured-image,
.wp-block-post-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* ================================= */
/* FEATURED IMAGE */
/* ================================= */

.wp-block-post-featured-image {
    margin-bottom: 20px;
}

.wp-block-post-featured-image img {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}


/* ================================= */
/* BODY TEXT */
/* ================================= */

.wp-block-post-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 14px;
    color: #222;
}

.wp-block-post-content p + p {
    margin-top: 0;
}


/* ================================= */
/* LINKS */
/* ================================= */

.wp-block-post-content a {
    color: #1f4e79;
    text-decoration: underline;
}

.wp-block-post-content a:hover {
    color: #0f2f4d;
}


/* ================================= */
/* POST TITLE */
/* ================================= */

.wp-block-post-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}


/* ================================= */
/* ARTICLE HEADINGS */
/* ================================= */

.wp-block-post-content h1,
.wp-block-post-content h2 {

    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;

    margin-top: 34px;
    margin-bottom: 16px;

    letter-spacing: -0.01em;

    position: relative;
    padding-top: 14px;
}


/* divider above headings */

.wp-block-post-content h1::before,
.wp-block-post-content h2::before {

    content: "";
    display: block;

    width: 100%;
    height: 1px;

    background: #000;
    opacity: 0.2;

    margin-bottom: 18px;
}


/* sub headings */

.wp-block-post-content h3 {

    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;

    margin-top: 24px;
    margin-bottom: 12px;
}


.wp-block-post-content h2 + p,
.wp-block-post-content h3 + p {
    margin-top: 0;
}


/* ================================= */
/* SEPARATORS */
/* ================================= */

.wp-block-separator,
hr {
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.2);
    margin-top: 20px;
    margin-bottom: 24px;
}


/* ================================= */
/* META */
/* ================================= */

.wp-block-post-date,
.wp-block-post-terms {

    font-size: 14px;
    color: #666;
}


/* ================================= */
/* EASY TABLE OF CONTENTS */
/* ================================= */

.ez-toc-container,
#ez-toc-container {

    background: #fafafa;

    border: 1px solid #e6e6e6;
    border-radius: 10px;

    padding: 16px 18px;

    box-shadow: 0 4px 14px rgba(0,0,0,0.05);

    font-size: 14px;
    line-height: 1.5;

    margin: 24px auto 28px;

    max-width: 800px;
}


.ez-toc-container ul,
.ez-toc-container li,
#ez-toc-container ul,
#ez-toc-container li {

    list-style: none;
    margin: 0;
    padding: 0;
}


.ez-toc-container .ez-toc-list > li,
#ez-toc-container .ez-toc-list > li {

    position: relative;
    padding-left: 16px;
    margin-bottom: 10px;
}


.ez-toc-container .ez-toc-list > li::before,
#ez-toc-container .ez-toc-list > li::before {

    content: "•";

    position: absolute;
    left: 0;
    top: 0.05em;

    color: #666;
    font-size: 16px;
}


.ez-toc-container .ez-toc-list > li > a,
#ez-toc-container .ez-toc-list > li > a {

    font-size: 14px;
    font-weight: 600;

    color: #222;
    text-decoration: none;
}


/* ================================= */
/* PROFESSIONAL COMPARISON TABLE */
/* ================================= */

.wp-block-table table {

    width: 100%;
    border-collapse: collapse;

    margin: 26px 0;

    font-size: 12px;
}


/* table header */

.wp-block-table thead th {

    background: #111;
    color: #fff;

    font-weight: 600;

    text-align: left;

    padding: 14px 16px;

    letter-spacing: 0.02em;
}


/* table cells */

.wp-block-table td {

    padding: 14px 16px;

    border-bottom: 1px solid #e7dfd6;
}


/* zebra rows */

.wp-block-table tbody tr:nth-child(even) {
    background: #f1ece6;
}

.wp-block-table tbody tr:nth-child(odd) {
    background: #f7f4ef;
}


/* hover effect (conversion focused) */

.wp-block-table tbody tr:hover {

    background: #ebe5de;

    cursor: pointer;

    transform: scale(1.002);
}


/* product column emphasis */

.wp-block-table td:first-child {

    font-weight: 600;

    font-size: 13px;
}


/* price column emphasis */

.wp-block-table td:last-child {

    font-weight: 700;

    color: #000;
}


/* ================================= */
/* NUMBER POSTS IN QUERY LOOP */
/* ================================= */

.wp-block-post-template {
    counter-reset: post-number;
}

.wp-block-post {
    counter-increment: post-number;
    position: relative;
}

.wp-block-post::before {

    content: counter(post-number, decimal-leading-zero);

    position: absolute;

    top: 12px;
    left: 12px;

    font-size: 14px;
    font-weight: 700;

    background: #111;
    color: white;

    padding: 4px 8px;

    border-radius: 3px;

    z-index: 2;
}