/* =========================================================
   NUVORA BLOG: listing (blog.php) and article (blog-post.php)
   ink #292521, maroon #582417, copper #8b4e31, light copper #d9a87f,
   cream #f6f1ea, page #ffffff, hairline #e0d6c9, grey #5f564f
========================================================= */

.bl { color: #292521; font-family: "Plus Jakarta Sans", Arial, sans-serif; background: #ffffff; }
.bl a { text-decoration: none; }
.bl-wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ---------- top band (listing heading, article breadcrumb) ---------- */

.page-title.bl-band { background-color: #292521; }
.page-title.bl-slim { background-image: none !important; }
.page-title.bl-slim:before { background: none !important; }
.page-title.bl-photo:before { background: linear-gradient(90deg, rgba(24,17,13,.92) 0%, rgba(24,17,13,.82) 45%, rgba(24,17,13,.5) 100%) !important; }

.bl-band .bl-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d9a87f;
    margin: 0 0 18px;
}

.page-title.bl-band h1 {
    position: relative;
    margin: 0 0 18px;
    color: #f6f1ea;
    font-family: "Larken", Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 1.15em;
}
.bl-band .bl-hero-p { max-width: 620px; margin: 0 0 26px; font-size: 17px; line-height: 1.8; color: #f6f1ea; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.bl-band.bl-photo h1, .bl-band.bl-photo .bl-kicker { text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }

.page-title.bl-slim { padding-bottom: 38px; }
.page-title.bl-slim .content { padding-bottom: 0; }

/* ---------- article: solid header strip and breadcrumb ---------- */

.bl-headbar { background: #292521; height: 118px; }
@media (max-width: 1023px) { .bl-headbar { display: none; } }

.bl-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 18px; font-size: 13px; color: #756b63; }
.bl-crumb a { color: #8b4e31; }
.bl-crumb a:hover { color: #582417; }
.bl-crumb i { font-style: normal; color: #b5a89c; }

/* ---------- listing ---------- */

.bl-list { padding: 64px 0 110px; }

.bl-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.bl-filter a {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #e0d6c9;
    border-radius: 40px;
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #5f564f;
    display: block;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.bl-filter a:hover { border-color: #582417; color: #582417; }
.bl-filter a.is-on { background: #582417; border-color: #582417; color: #fff; }

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

.bl-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(41, 37, 33, .08);
    transition: transform .35s ease, box-shadow .35s ease;
}
.bl-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(41, 37, 33, .13); }

.bl-card .im { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #e9e1d8; }
.bl-card .im img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s ease; }
.bl-card:hover .im img { transform: scale(1.04); }

.bl-pill {
    display: inline-block;
    padding: 7px 14px;
    background: rgba(41, 37, 33, .62);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(217, 168, 127, .6);
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #d9a87f;
}
.bl-card .im .bl-pill { position: absolute; left: 18px; bottom: 16px; }

.bl-card .tx { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 22px; }
.bl-when { font-size: 13px; color: #756b63; margin-bottom: 12px; }

.bl-card h3 {
    font-family: "Larken", Georgia, serif;
    font-size: 23px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    margin: 0 0 12px;
}
.bl-card h3 a { color: #292521; transition: color .25s ease; }
.bl-card h3 a:hover { color: #582417; }

.bl-card p {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.75;
    color: #5f564f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bl-who {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e0d6c9;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #292521;
}

.bl-avatar {
    flex: 0 0 auto;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #582417;
    color: #f6f1ea;
    display: flex; align-items: center; justify-content: center;
    font-family: "Larken", Georgia, serif;
    font-size: 17px;
    font-weight: 400;
}

.bl-empty { display: none; padding: 40px 0; font-size: 16px; color: #5f564f; }

/* ---------- article ---------- */

.bl-article { padding: 44px 0 110px; }

.bl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; }

.bl-article .bl-pill { background: #f6f1ea; border: 1px solid rgba(139, 78, 49, .35); color: #8b4e31; -webkit-backdrop-filter: none; backdrop-filter: none; }

.bl-article h1 {
    font-family: "Larken", Georgia, serif;
    font-size: 48px;
    line-height: 1.14;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #292521;
    margin: 0 0 24px;
}

.bl-by { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; color: #756b63; margin-bottom: 34px; }
.bl-by .bl-avatar { width: 34px; height: 34px; font-size: 16px; }
.bl-by b { color: #292521; font-weight: 600; }
.bl-by i { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: #756b63; }

.bl-lead-image { margin: 0 0 44px; border-radius: 22px; overflow: hidden; background: #e9e1d8; }
.bl-lead-image img { width: 100%; display: block; }

.bl-body { font-size: 17px; line-height: 1.9; color: #5f564f; }
.bl-body p { margin: 0 0 24px; }
.bl-body > p:first-of-type { font-size: 19px; line-height: 1.85; color: #292521; }

.bl-body h2, .bl-faq h2 {
    font-family: "Larken", Georgia, serif;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #292521;
    margin: 52px 0 20px;
    scroll-margin-top: 110px;
}

.bl-body ul { list-style: disc; }
.bl-body ol { list-style: decimal; }
.bl-body ul, .bl-body ol { margin: 0 0 28px; padding-left: 22px; }
.bl-body li { margin-bottom: 10px; padding-left: 4px; list-style: inherit; }
.bl-body li::marker { color: #b5603c; }
.bl-body b { font-weight: 600; color: #292521; }

.bl-body table { width: 100%; border-collapse: collapse; margin: 8px 0 34px; font-size: 15px; line-height: 1.6; background: #fff; border: 1px solid #e0d6c9; border-radius: 16px; overflow: hidden; }
.bl-body th {
    text-align: left;
    padding: 14px 18px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #8b4e31;
    background: #f6f1ea;
    border-bottom: 1px solid #e0d6c9;
}
.bl-body td { padding: 16px 18px; vertical-align: top; border-bottom: 1px solid #e0d6c9; color: #5f564f; }
.bl-body tr:last-child td { border-bottom: 0; }
.bl-body td:first-child { font-weight: 600; color: #292521; }

.bl-body .bp-note {
    margin: 44px 0 0;
    padding: 30px 34px;
    background: #f6f1ea;
    border-left: 4px solid #b5603c;
    border-radius: 0 16px 16px 0;
}
.bl-body .bp-note b { display: block; font-family: "Larken", Georgia, serif; font-size: 23px; font-weight: 600; margin-bottom: 8px; }
.bl-body .bp-note p { margin: 0; font-size: 16px; line-height: 1.8; color: #5f564f; }

/* ---------- article: FAQs ---------- */

.bl-faq { margin-top: 64px; scroll-margin-top: 110px; }
.bl-faq .bl-kicker { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #8b4e31; margin: 0 0 14px; }
.bl-faq h2 { margin: 0 0 26px; }

.bl-faq details { background: #fff; border: 1px solid #e0d6c9; border-radius: 16px; margin-bottom: 12px; transition: border-color .25s ease, box-shadow .25s ease; }
.bl-faq details[open] { border-color: #e0d6c9; box-shadow: 0 10px 26px rgba(41, 37, 33, .05); }
.bl-faq summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 22px 70px 22px 26px;
    font-family: "Larken", Georgia, serif;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
    color: #292521;
}
.bl-faq summary::-webkit-details-marker { display: none; }
.bl-faq summary:after {
    content: '';
    position: absolute;
    right: 22px; top: 50%;
    width: 28px; height: 28px;
    margin-top: -14px;
    border-radius: 50%;
    border: 1px solid #b5603c;
    background:
        linear-gradient(#b5603c, #b5603c) center / 11px 1.5px no-repeat,
        linear-gradient(#b5603c, #b5603c) center / 1.5px 11px no-repeat;
    transition: background-size .25s ease;
}
.bl-faq details[open] summary:after { background-size: 11px 1.5px, 0 0; }
.bl-faq summary:hover { color: #582417; }
.bl-faq details p { margin: 0; padding: 0 26px 26px; font-size: 16px; line-height: 1.85; color: #5f564f; }

/* ---------- article: author and closing call ---------- */

.bl-authorbox {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    margin-top: 56px;
    padding: 30px 32px;
    background: #f6f1ea;
    border: 1px solid #e0d6c9;
    border-radius: 20px;
}
.bl-authorbox .bl-avatar { width: 60px; height: 60px; font-size: 26px; }
.bl-authorbox b { display: block; font-family: "Larken", Georgia, serif; font-size: 22px; font-weight: 600; color: #292521; }
.bl-authorbox em { display: block; font-style: normal; font-size: 13.5px; font-weight: 600; color: #8b4e31; margin: 2px 0 10px; }
.bl-authorbox p { margin: 0; font-size: 15px; line-height: 1.75; color: #5f564f; }

.bl-cta {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
    padding: 48px 48px 50px;
    background: #292521;
    border-radius: 22px;
}
.bl-cta:before {
    content: '';
    position: absolute;
    right: -60px; top: -60px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217, 168, 127, .32), rgba(217, 168, 127, 0) 70%);
}
.bl-cta h3 { position: relative; font-family: "Larken", Georgia, serif; font-size: 34px; line-height: 1.2; font-weight: 400; color: #f6f1ea; margin: 0 0 10px; }
.bl-cta p { position: relative; margin: 0 0 26px; font-size: 16px; line-height: 1.7; color: rgba(246, 241, 234, .74); }
.bl-cta .row { position: relative; display: flex; flex-wrap: wrap; gap: 14px; }
.bl-btn, .bl-btn-ghost {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.bl-btn { background: #f6f1ea; border: 1px solid #f6f1ea; color: #292521; }
.bl-btn:hover { background: #e7cdb8; border-color: #e7cdb8; color: #292521; }
.bl-btn-ghost { border: 1px solid rgba(246, 241, 234, .5); color: #f6f1ea; }
.bl-btn-ghost:hover { background: #f6f1ea; color: #292521; }

/* ---------- article: sidebar ---------- */

.bl-side { display: grid; gap: 24px; }
@media (min-width: 992px) and (min-height: 1040px) { .bl-side { position: sticky; top: 108px; } }

.bl-card-side { background: #fff; border-radius: 20px; padding: 28px 26px; box-shadow: 0 8px 28px rgba(41, 37, 33, .08); }
.bl-card-side h4 { margin: 0 0 16px; font-family: "Larken", Georgia, serif; font-size: 19px; font-weight: 600; color: #292521; }

.bl-side-author { text-align: center; }
.bl-side-author .bl-avatar { width: 68px; height: 68px; font-size: 30px; margin: 0 auto 14px; }
.bl-side-author b { display: block; font-family: "Larken", Georgia, serif; font-size: 20px; font-weight: 600; }
.bl-side-author span { display: block; font-size: 13px; line-height: 1.5; color: #8b4e31; font-weight: 600; margin: 4px 0 18px; }
.bl-side-author a {
    display: inline-block;
    padding: 11px 24px;
    border: 1px solid #292521;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 600;
    color: #292521;
    transition: background .25s ease, color .25s ease;
}
.bl-side-author a:hover { background: #292521; color: #fff; }

.bl-more { list-style: none; margin: 0; padding: 0; }
.bl-more li { border-bottom: 1px solid #e0d6c9; }
.bl-more li:last-child { border-bottom: 0; }
.bl-more a { display: block; padding: 13px 0; font-size: 15px; line-height: 1.45; font-weight: 600; color: #292521; transition: color .2s ease; }
.bl-more a:hover { color: #582417; }

.bl-topics { list-style: none; margin: 0; padding: 0; }
.bl-topics li { border-bottom: 1px solid #e0d6c9; }
.bl-topics li:last-child { border-bottom: 0; }
.bl-topics a { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; font-size: 15px; font-weight: 600; color: #292521; transition: color .2s ease, padding-left .2s ease; }
.bl-topics a b { min-width: 26px; height: 26px; padding: 0 8px; border-radius: 13px; background: #f6f1ea; font-size: 12.5px; font-weight: 600; line-height: 26px; text-align: center; color: #8b4e31; }
.bl-topics a:hover, .bl-topics a.is-on { color: #582417; }
.bl-topics a:hover { padding-left: 6px; }

.bl-side-ec { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 8px 28px rgba(41, 37, 33, .08); }
.bl-side-ec img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bl-side-ec .tx { padding: 24px 26px 28px; }
.bl-side-ec h4 { margin: 0 0 10px; font-family: "Larken", Georgia, serif; font-size: 22px; line-height: 1.25; font-weight: 600; color: #292521; }
.bl-side-ec p { margin: 0 0 20px; font-size: 14.5px; line-height: 1.7; color: #5f564f; }
.bl-side-ec .row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.bl-side-ec .bl-btn { background: #582417; border-color: #582417; color: #fff; padding: 14px 24px; }
.bl-side-ec .bl-btn:hover { background: #3d180f; border-color: #3d180f; color: #fff; }
.bl-dir { font-size: 14px; font-weight: 600; color: #582417; border-bottom: 1px solid rgba(88, 36, 23, .4); padding-bottom: 2px; }
.bl-dir:hover { color: #8b4e31; border-color: #8b4e31; }

.bl-side-follow p { margin: -6px 0 18px; font-size: 14.5px; color: #5f564f; }
.bl-side-follow ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.bl-side-follow li { margin: 0; }
.bl-side-follow a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(88, 36, 23, .35);
    color: #582417;
    font-size: 18px;
    transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.bl-side-follow a:hover { background: #582417; border-color: #582417; color: #fff; }

/* ---------- responsive ---------- */

@media (max-width: 1199px) {
    .bl-grid { gap: 26px; }
    .bl-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
    .bl-article h1 { font-size: 42px; }
}

@media (max-width: 991px) {
    .page-title.bl-band h1 { font-size: 42px; }
    .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bl-layout { grid-template-columns: 1fr; gap: 52px; }
    .bl-article h1 { font-size: 38px; }
}

@media (max-width: 767px) {
    .bl-body table, .bl-body thead, .bl-body tbody, .bl-body tr, .bl-body th, .bl-body td { display: block; width: 100%; }
    .bl-body table { border: 0; background: transparent; border-radius: 0; }
    .bl-body thead { display: none; }
    .bl-body tr { padding: 18px 20px; margin-bottom: 12px; background: #fff; border: 1px solid #e0d6c9; border-radius: 14px; }
    .bl-body td { border: 0; padding: 3px 0; }
    .bl-body td:first-child { font-size: 16px; padding-bottom: 6px; }
    .bl-body td[data-l]:not(:first-child):before { content: attr(data-l) ": "; font-weight: 600; color: #8b4e31; }
}

@media (max-width: 575px) {
    .bl-wrap { padding: 0 16px; }
    .bl-by i { display: none; }
    .bl-by { gap: 6px 14px; }
    .page-title.bl-band h1 { font-size: 34px; }
    .bl-band .bl-hero-p { font-size: 16px; }
    .bl-list { padding: 44px 0 72px; }
    .bl-grid { grid-template-columns: 1fr; }
    .bl-card .tx { padding: 22px 22px 20px; }
    .bl-article { padding: 40px 0 70px; }
    .bl-article h1 { font-size: 31px; }
    .bl-body { font-size: 16px; }
    .bl-body > p:first-of-type { font-size: 17.5px; }
    .bl-body h2, .bl-faq h2 { font-size: 26px; margin-top: 42px; }
    .bl-body .bp-note { padding: 24px 22px; }
    .bl-faq summary { font-size: 18px; padding: 18px 60px 18px 20px; }
    .bl-faq summary:after { right: 16px; }
    .bl-faq details p { padding: 0 20px 22px; }
    .bl-authorbox { flex-direction: column; gap: 14px; padding: 24px 22px; }
    .bl-cta { padding: 34px 24px 36px; }
    .bl-cta h3 { font-size: 27px; }
}

/* ---------- article: more reading ---------- */

.bl-related { padding: 0 0 110px; }
.bl-related h2 { font-family: "Larken", Georgia, serif; font-size: 38px; line-height: 1.15; font-weight: 600; letter-spacing: 0; text-transform: none; color: #292521; margin: 0 0 36px; }
@media (max-width: 575px) { .bl-related { padding-bottom: 72px; } .bl-related h2 { font-size: 30px; } }

/* Article pages: the header sits on a plain dark strip, so the consultation button is made light to stand out */
.bl-post .main-header .header-upper .nuvora-nav-cta { background: #f6f1ea; border-color: #f6f1ea; color: #582417; }
.bl-post .main-header .header-upper .nuvora-nav-cta:hover { background: #e7cdb8; border-color: #e7cdb8; color: #3d180f; }
