/*
Theme Name: SmartMag Child
Theme URI: https://blockworld.news
Description: Purchased SmartMag child theme with BlockWorld Media branding, ticker, watchlist, credits, and podcasts. The SmartMag parent theme is not modified.
Author: ThemeSphere
Author URI: https://theme-sphere.com
Template: smart-mag
Version: 1.2.29
Text Domain: smart-mag-child
*/

.bw-child-tools,
.bw-child-ticker,
.bw-child-newsletter,
.bw-child-credits,
.bw-podcast-archive,
.bw-episode-single,
.bw-staff-profile {
    box-sizing: border-box;
}

.bw-child-tools {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 0;
    font-family: Barlow, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.bw-child-tools button,
.bw-child-tools a {
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.bw-child-ticker {
    max-width: 1200px;
    margin: 8px auto 18px;
    padding: 8px 0;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    color: #1c1c1c;
    font-family: Barlow, "Segoe UI", sans-serif;
    font-size: 13px;
}

.bw-child-ticker .ticker {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "pause credit"
        "window window";
    gap: 6px 12px;
    align-items: center;
}

.bw-child-ticker .ticker-motion {
    grid-area: pause;
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    padding: 4px 10px;
    overflow: visible;
    clip: auto;
    clip-path: none;
    border: 1px solid #7eae4a;
    background: #ffffff;
    color: #1c1c1c;
    font: 600 12px/1.2 Barlow, "Segoe UI", sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
}

.bw-child-ticker .ticker-credit {
    grid-area: credit;
    margin: 0;
    color: #666666;
    font-size: 12px;
}

.bw-child-ticker .ticker-window {
    grid-area: window;
    overflow: hidden;
    min-width: 0;
}

.bw-child-ticker .ticker-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: bw-child-ticker 42s linear infinite;
}

.bw-child-ticker .ticker.is-paused .ticker-track {
    animation-play-state: paused;
}

.bw-child-ticker .ticker-group {
    display: flex;
    flex: 0 0 auto;
}

.bw-child-ticker .tick {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
    padding: 0 14px;
    white-space: nowrap;
}

.bw-child-ticker .tick-asset {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bw-child-ticker .tick-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.bw-child-ticker .tick-symbol {
    font-weight: 700;
}

.bw-child-ticker .tick-price {
    color: #444444;
}

.bw-child-ticker .tick-up {
    color: #1f8a4c;
    font-weight: 600;
}

.bw-child-ticker .tick-down {
    color: #c0392b;
    font-weight: 600;
}

.bw-child-ticker .tick-flat {
    color: #666666;
}

@keyframes bw-child-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .bw-child-ticker .ticker-track {
        animation: none;
    }

    .bw-child-ticker .ticker-group[aria-hidden="true"] {
        display: none;
    }
}

.bw-child-watch {
    position: relative;
}

.bw-child-watch .watch-panel {
    position: absolute;
    right: 0;
    z-index: 20;
    width: min(320px, 80vw);
    padding: 12px;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    color: #1c1c1c;
}

.bw-child-newsletter {
    max-width: 1200px;
    margin: 28px auto;
    padding: 28px 20px;
    background: #f7f7f5;
    color: #1c1c1c;
    font-family: "PT Serif", Georgia, serif;
}

.bw-child-newsletter form,
.bw-child-credits,
.bw-staff-profile,
.bw-podcast-archive,
.bw-episode-single {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 20px;
    color: #262626;
    font-family: "PT Serif", Georgia, serif;
}

.bw-child-newsletter h2,
.bw-child-credits h2,
.bw-staff-profile h1,
.bw-podcast-archive h1,
.bw-episode-single h1 {
    font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif;
    letter-spacing: 0.03em;
}

.bw-child-credits {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e2e2e2;
}

.cookie-notice {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 80;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 280px);
    gap: 14px 22px;
    align-items: center;
    max-height: none;
    overflow: visible;
    padding: 16px 22px 18px;
    background: #07111c;
    color: #f4f7fa;
    border-top: 3px solid #7eae4a;
    box-shadow: 0 -12px 32px rgba(7, 17, 28, 0.18);
    font-family: Barlow, "Segoe UI", sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-notice[hidden] {
    display: none !important;
}

.cookie-tools {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-lock {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
}

.cookie-lock input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #7eae4a;
}

.cookie-close {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

.cookie-close svg {
    width: 14px;
    height: 14px;
}

.cookie-notice p,
.cookie-notice .cookie-panel {
    margin: 0;
}

.cookie-notice p {
    color: #d7dee6;
}

.cookie-panel p {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cookie-notice .cookie-actions {
    display: grid;
    gap: 8px;
}

.cookie-notice .cookie-actions .btn {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    font-family: Barlow, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
    white-space: normal;
    cursor: pointer;
}

.cookie-notice .cookie-actions .btn[data-cookie="all"] {
    background: #ffffff;
    color: #07111c;
}

.cookie-notice .cookie-actions .btn:hover,
.cookie-notice .cookie-actions .btn:focus {
    background: #7eae4a;
    border-color: #7eae4a;
    color: #07111c;
}

.cookie-notice .sr-only,
.bw-child-tools .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
}

body:has(#cookie-notice:not([hidden])) {
    padding-bottom: 180px;
}

.cookie-notice a,
.cookie-notice button {
    color: #ffffff;
}

.smart-head .logo img,
.smart-head img.logo-image {
    display: block;
    max-width: min(420px, 46vw);
    max-height: 64px;
    width: auto;
    height: auto;
    padding: 0;
}

@media (max-width: 1024px) {
    .elementor-column.bw-lead-feature {
        order: -1;
    }
}

@media (max-width: 767px) {
    .bw-child-tools,
    .bw-child-newsletter form {
        flex-wrap: wrap;
    }

    .cookie-notice {
        grid-template-columns: auto minmax(0, 1fr);
        align-items: start;
        max-height: 48vh;
        overflow: auto;
        font-size: 13px;
    }

    .cookie-panel {
        grid-column: 1 / -1;
    }

    body:has(#cookie-notice:not([hidden])) {
        padding-bottom: 260px;
    }

    .bw-child-tools,
    .bw-child-ticker,
    .bw-child-newsletter,
    .bw-child-credits,
    .bw-staff-profile,
    .bw-podcast-archive,
    .bw-episode-single {
        padding-left: 16px;
        padding-right: 16px;
    }
}

#smart-head.smart-head-main .items-left {
    display: flex;
    align-items: center;
}

#smart-head.smart-head-main .smart-head-social {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
}

.bw-economy {
    position: relative;
    margin: 8px 0 18px;
    padding: 56px 0 48px;
    overflow: hidden;
    background-color: #101418;
    background-image:
        linear-gradient(180deg, rgba(8, 12, 16, 0.78), rgba(8, 12, 16, 0.9)),
        url("assets/economy-chart.svg");
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.bw-economy .block-wrap,
.bw-economy .block-content,
.bw-economy .block-head {
    background: transparent;
}

.bw-economy .block-head .heading {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bw-economy .post-title,
.bw-economy .post-title a {
    color: #ffffff;
}

.bw-economy .post-meta .meta-item.cat a,
.bw-economy .cat-labels a {
    color: #7eae4a;
}

.bw-economy .post-meta .meta-item.date,
.bw-economy .post-meta .post-date {
    color: #a8b1bb;
}

.bw-economy .l-post {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

.bw-economy .wrap {
    padding-left: 20px;
    padding-right: 20px;
}

.bw-economy .loop.grid {
    display: grid;
    gap: 28px 26px;
    align-items: start;
    width: auto;
    margin: 0;
}

.bw-economy .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bw-economy .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bw-economy .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bw-economy .grid-1 {
    grid-template-columns: minmax(0, 1fr);
}

.bw-economy .l-post {
    min-width: 0;
}

.bw-economy .media-ratio.ratio-3-2 {
    position: relative;
    display: block;
}

.bw-economy .media-ratio.ratio-3-2::before {
    content: "";
    display: block;
    padding-top: 66.67%;
}

.bw-economy .media-ratio img,
.bw-economy .bw-economy-empty {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bw-economy .bw-economy-empty {
    background: #1c242c;
}

@media (max-width: 1024px) {
    .bw-economy .grid-4,
    .bw-economy .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .bw-economy .grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.single-post .post-content {
    --text-font: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
    --text-h-font: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
    font-family: var(--text-font);
}

.off-canvas .ts-logo {
    justify-content: flex-start;
}

.off-canvas .bw-offcanvas-logo {
    display: block;
    width: 100%;
    line-height: 0;
}

.off-canvas .bw-offcanvas-logo img {
    display: block;
    width: 100%;
    max-width: 230px;
    height: auto;
}

.bw-offcanvas-hot {
    margin: 8px 0 28px;
}

.bw-offcanvas-hot-heading {
    margin: 0 0 18px;
    color: #fff;
    font-family: var(--ui-font, Barlow, "Segoe UI", sans-serif);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bw-offcanvas-hot .small-post {
    align-items: flex-start;
    margin-bottom: 18px;
}

.bw-offcanvas-hot .small-post:last-child {
    margin-bottom: 0;
}

.bw-offcanvas-hot .media {
    width: 96px;
    height: 68px;
    overflow: hidden;
}

.bw-offcanvas-hot .media img,
.bw-offcanvas-hot .bw-offcanvas-empty {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bw-offcanvas-hot .bw-offcanvas-empty {
    background: #1c242c;
}

.bw-offcanvas-hot .post-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.bw-offcanvas-hot .post-title a {
    color: #fff;
}

.bw-offcanvas-hot .post-date {
    display: block;
    color: #9aa3ad;
    font-family: var(--ui-font, Barlow, "Segoe UI", sans-serif);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.offcanvas-toggle .hamburger-icon {
    --c-hamburger: #7eae4a;
}

.offcanvas-toggle .hamburger-icon .inner,
.offcanvas-toggle .hamburger-icon .inner:before,
.offcanvas-toggle .hamburger-icon .inner:after {
    width: 100%;
}

.main-footer .widget-about .image-logo img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 100%;
}

.main-footer .widget-about .about-text {
    font-size: 15px;
    line-height: 1.65;
}

.main-footer .small-post {
    align-items: flex-start;
    margin-bottom: 16px;
}

.main-footer .small-post:last-child {
    margin-bottom: 0;
}

.main-footer .small-post .media {
    width: 96px;
    height: 68px;
    overflow: hidden;
    flex-shrink: 0;
}

.main-footer .small-post .media img,
.main-footer .bw-footer-empty {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-footer .bw-footer-empty {
    background: #1c242c;
}

.main-footer.s-dark .small-post .post-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.main-footer.s-dark .small-post .post-title a {
    color: #fff;
}

.main-footer.s-dark .small-post .post-date {
    display: block;
    color: #9aa3ad;
    font-size: 13px;
    font-weight: 500;
}

.main-footer .bw-footer-sections .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-footer .bw-footer-sections .menu li {
    margin: 0;
    padding: 7px 0;
}

.main-footer .bw-footer-sections .menu a {
    color: inherit;
    font-weight: 600;
}

.category .main-featured {
    margin-top: 8px;
    margin-bottom: 28px;
}

.category .main-sidebar .grid-sm-post .media-ratio img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#smart-head.smart-head-main .smart-head-mid {
    background-color: #061428;
    background-image:
        linear-gradient(90deg, rgba(4, 12, 28, 0.2), rgba(4, 12, 28, 0.05) 18%, rgba(4, 12, 28, 0.05) 82%, rgba(4, 12, 28, 0.25)),
        url("assets/header-sky.svg");
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid rgba(90, 160, 255, 0.28);
}

#smart-head.smart-head-main .smart-head-mid .inner {
    min-height: 96px;
    align-items: center;
}

#smart-head.smart-head-main .smart-head-mid .items-left::before {
    content: "FOLLOW US\ANews. Research. Insights.";
    display: block;
    margin-right: 16px;
    color: #f4f8ff;
    font-family: Barlow, "Segoe UI", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.45;
    white-space: pre-line;
}

#smart-head.smart-head-main .smart-head-mid .smart-head-social .link {
    width: 36px;
    height: 36px;
    margin: 0 5px;
    border: 1px solid rgba(214, 228, 255, 0.85);
    border-radius: 50%;
    background: transparent;
    color: #f4f8ff;
    box-shadow: 0 0 12px rgba(70, 150, 255, 0.25);
}

#smart-head.smart-head-main .smart-head-mid .smart-head-social .link:hover,
#smart-head.smart-head-main .smart-head-mid .smart-head-social .link:focus {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(80, 150, 255, 0.16);
}

#smart-head.smart-head-main .smart-head-mid .logo img,
#smart-head.smart-head-main .smart-head-mid img.logo-image {
    max-height: 72px;
}

#smart-head.smart-head-main .smart-head-mid .ts-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #4aa3ff;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 0 16px rgba(40, 130, 255, 0.28);
    color: #ffffff;
    font-family: Barlow, "Segoe UI", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

#smart-head.smart-head-main .smart-head-mid .ts-button::before {
    content: "";
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.7'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

#smart-head.smart-head-main .smart-head-mid .ts-button:hover,
#smart-head.smart-head-main .smart-head-mid .ts-button:focus {
    background: rgba(74, 163, 255, 0.16);
    color: #ffffff;
}

.classic-footer-lower .bw-cookie-preferences {
    display: inline;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--c-links, inherit);
    font: inherit;
    letter-spacing: normal;
    line-height: inherit;
    text-transform: none;
    vertical-align: baseline;
    cursor: pointer;
    appearance: none;
}

.classic-footer-lower .bw-cookie-preferences:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/*
 * Category archives. Ethereum keeps the current featured mosaic.
 * Bitcoin keeps its lead row. Markets uses photo cards. Technology uses the browsing grid.
 */
@media (min-width: 941px) {
    .category-bitcoin .feat-grid-a .items-wrap {
        grid-template-areas:
            "item1 item1 item1 item1"
            "item2 item3 item4 item5";
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: minmax(300px, 380px) minmax(168px, 200px);
    }

    .category-bitcoin .feat-grid-a .item,
    .category-bitcoin .feat-grid-a .item-main {
        height: 100%;
        min-height: 0;
    }

    .category-bitcoin .main-content .loop.grid-2 {
        grid-template-columns: 1fr;
    }

    .category-bitcoin .main-content .grid-post {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 18px;
        align-items: center;
        width: 100%;
        margin: 0;
        padding: 16px 0;
        border-bottom: 1px solid #e4e7ec;
    }

    .category-markets .feat-grid-a .items-wrap {
        display: grid;
        gap: 20px;
        align-items: stretch;
        grid-template-areas:
            "item1 item1 item2 item2 item3 item3"
            "item4 item4 item4 item5 item5 item5";
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-rows: auto auto;
    }

    .category-markets .feat-grid-a .item,
    .category-markets .feat-grid-a .item-main {
        display: flex;
        height: auto;
        min-height: 0;
    }

    .category-markets .feat-grid .item::before {
        content: none;
        display: none;
    }

    .category-markets .feat-grid .grid-overlay {
        position: relative;
        inset: auto;
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        width: 100%;
        height: auto;
        overflow: hidden;
        border: 1px solid #e3eaf3;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(16, 36, 68, 0.07);
    }

    .category-markets .feat-grid .grid-overlay::before {
        content: none;
    }

    .category-markets .feat-grid .grid-overlay .media,
    .category-markets .feat-grid .grid-overlay .content-wrap {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: auto;
    }

    .category-markets .feat-grid .grid-overlay .media .image-link,
    .category-markets .feat-grid .grid-overlay .media .wp-post-image {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .category-markets .feat-grid .grid-overlay .content {
        align-self: stretch;
        padding: 14px 16px 16px;
    }

    .category-markets .feat-grid .post-title,
    .category-markets .feat-grid .item-large .post-title,
    .category-markets .feat-grid .item-small .post-title {
        max-width: none;
        height: auto;
        margin: 10px 0 6px;
        color: #102033;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -0.015em;
        line-height: 1.28;
    }

    .category-markets .feat-grid .post-title a {
        color: #102033;
    }

    .category-markets .feat-grid .meta-item:not(.cat-labels),
    .category-markets .feat-grid .post-author a,
    .category-markets .feat-grid .date-link {
        color: #5d6b80;
        font-size: 12.5px;
    }

    .category-markets .feat-grid .cat-labels a {
        color: #fff;
    }

    .category-markets .feat-grid .item:not(.item-large) .meta-below {
        display: flex;
    }

    .category-markets .archive-heading {
        border-left-color: #1e4b7a;
        color: #102033;
        font-weight: 700;
        letter-spacing: 0.04em;
    }

    .category-markets .main-content .loop.grid-2 {
        gap: 20px;
    }

    .category-markets .main-content .grid-post {
        overflow: hidden;
        margin: 0;
        border: 1px solid #e3eaf3;
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 12px 30px rgba(16, 36, 68, 0.07);
    }

    .category-markets .main-content .grid-post .content {
        padding: 14px 16px 16px;
    }

    .category-markets .main-content .grid-post .post-title {
        margin-top: 8px;
        color: #102033;
        font-weight: 700;
        letter-spacing: -0.015em;
        line-height: 1.28;
    }

    .category-markets .main-content .grid-post .excerpt {
        color: #5d6b80;
        font-size: 14.5px;
        line-height: 1.55;
    }
}

.category-bitcoin .main-featured .cat-labels .category,
.category-bitcoin .main-featured .cat-labels a,
.category-bitcoin .main-content .cat-labels .category,
.category-bitcoin .main-content .cat-labels a,
.category-bitcoin .main-sidebar .cat-labels .category,
.category-bitcoin .main-sidebar .cat-labels a {
    background: #c47d1a;
}

.category-markets .main-featured .cat-labels .category,
.category-markets .main-featured .cat-labels a,
.category-markets .main-content .cat-labels .category,
.category-markets .main-content .cat-labels a,
.category-markets .main-sidebar .cat-labels .category,
.category-markets .main-sidebar .cat-labels a {
    background: #1e4b7a;
    color: #fff;
}

