/*
Theme Name: Nakonu Newspaper
Description: Child theme for the private Newspaper migration.
Template: Newspaper
Version: 0.5.3
Text Domain: nakonu-newspaper
*/
/* Week Pro reserved advertising placements; vendor blocks retain their layout. */
.nakonu-ad-slot {
    display: flex;
    min-height: 250px;
    padding: 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #f7f7f7;
    color: #242424;
    text-align: center;
}
.nakonu-ad-slot > span { font-size: 12px; letter-spacing: .04em; }
.nakonu-ad-slot a { color: #b52121; text-decoration: underline; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid #b52121;
    outline-offset: 4px;
}
::selection { background: #ec3535; color: #fff; }
/* Category labels share one scale; native AdSense chips inherit the quiet 14px base. */
.home .tdm_block_inline_text.nakonu-section-heading {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
.home .tdm_block_inline_text.nakonu-section-heading > .td-element-style {
    background: transparent !important;
}
.home .tdm_block_inline_text.nakonu-section-heading .tdm-descr {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: #000 !important;
    font-family: 'PT Sans', Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: normal !important;
}
.home .nakonu-section-heading .nakonu-section-label,
.home .td-block-title.nakonu-section-heading > span {
    color: #000 !important;
    font-family: 'PT Sans', Arial, sans-serif !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    font-style: normal !important;
    letter-spacing: normal !important;
}
.home .td-block-title.nakonu-section-heading {
    margin-bottom: 20px;
    line-height: 1.25;
}
.home .td-block-title.nakonu-section-heading > .td-block-subtitle { display: none; }
/* Turn the demo's floating red labels into normal-flow section headings. */
.home .vc_row_inner.absolute_inner_full:has(> .vc_column_inner > .vc_column-inner > .wpb_wrapper > .nakonu-section-heading) {
    position: relative !important;
    top: auto !important;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}
@media (max-width: 767px) {
    .home .nakonu-section-heading .nakonu-section-label,
    .home .td-block-title.nakonu-section-heading > span { font-size: 22px !important; }
}
/* A real cloud image keeps the Week Pro article compatible with InImage ads. */
.nakonu-week-post-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: cover;
}
.nakonu-week-post-image .tdb-block-inner { text-align: center; }
.search .nakonu-without-thumbnail .td-module-thumb { display: none; }
.search .nakonu-without-thumbnail .item-details { margin-left: 0; min-height: 0; }
.nakonu-ad-placement { clear: both; max-width: 100%; margin: 20px 0; }
.nakonu-ad-placement:empty { display: none; }
.nakonu-ad-placement iframe { max-width: 100%; }
.nakonu-ad-frame, .nakonu-partner-frame { display: block; border: 0; }
.nakonu-ad-pixel { width: 1px; height: 1px; }
.nakonu-ad-article-scope > .grid-8 { float: none; width: 100%; }
.nakonu-ad-article-scope .entry-content { min-width: 0; }
.nakonu-ad-placement #ttarget_div { display: block; width: 100%; }
.nakonu-ad-placement #ttarget_div div {
    display: inline-block;
    width: 100%;
    height: 60px;
    margin-top: 20px;
    overflow: hidden;
    line-height: 20px !important;
    text-align: left;
}
.nakonu-ad-placement #ttarget_div div:hover { background: #eee; }
.nakonu-ad-placement #ttarget_div a { display: inline; text-decoration: none; hyphens: auto; }
.nakonu-ad-placement #ttarget_div a:hover { text-decoration: underline; }
.nakonu-ad-placement #ttarget_div img {
    float: left;
    width: 100px;
    margin: -20px 20px 0 0;
    border: 1px solid #fff;
    vertical-align: top;
}
.nakonu-ad-placement #ttarget_div a b { font-weight: normal; }
@media print { .nakonu-ad-placement { display: none !important; } }
@media (max-width: 767px) {
    /* Legacy Truvid checks UA only; keep its paired widgets usable in narrow windows too. */
    .entry-content > div:has(#phoenix6798f535b79901eec7697049) {
        margin-left: 0 !important;
    }
    .entry-content > div:has(#phoenix6798f535b79901eec7697049) > div {
        float: none !important;
        width: 100% !important;
    }
    .td-week-slider .td_block_inner {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: #b52121 #eaeaea;
    }
    .td-week-slider .td_block_inner > .td_module_wrap {
        flex: 0 0 100%;
        scroll-snap-align: start;
    }
    /* Even white source pixels under the full title retain > 3:1 contrast. */
    .td_flex_block_2 .td-module-thumb a::after {
        background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .64)) !important;
    }
}
