/*
Theme Name: Newspaper Child
Theme URI: https://themeforest.net/user/tagdiv/portfolio
Description: Child theme for the Newspaper theme
Author: tagDiv
Author URI: https://tagdiv.com
Template: Newspaper
Version: 1.0
Text Domain: newspaper-child
*/

/* ============================================================================
 * ⚠ ĐỌC TRƯỚC KHI DÁN — v6.1
 *
 * KHỐI 9 DÒNG Ở TRÊN LÀ BẮT BUỘC. WordPress đọc nó để biết đây là child
 * theme của Newspaper. Xoá nó đi → "This theme is broken. Template is
 * missing."  ← đúng lỗi bản v6.0 gây ra vì tôi ghi thiếu cảnh báo này.
 *
 * KIỂM TRA DÒNG "Template:" TRƯỚC KHI LƯU
 *   Giá trị phải TRÙNG CHÍNH XÁC tên THƯ MỤC của theme cha, phân biệt
 *   chữ hoa/thường. Xem tên thư mục thật ở:
 *       wp-content/themes/            (FTP / File Manager)
 *   Thường là  Newspaper  (N hoa). Nếu thư mục của bạn là "newspaper"
 *   thì sửa dòng đó thành:  Template: newspaper
 *
 * NẾU CHILD THEME CỦA BẠN VỐN CÓ HEADER KHÁC (tên khác, version khác)
 *   → giữ header CỦA BẠN, chỉ thay phần CSS bên dưới dòng ====== kế tiếp.
 * ========================================================================== */

/*
 * EBSource / Newspaper Child – CUSTOM CSS
 * VERSION: 6.3
 *
 * Dán TOÀN BỘ file này vào:
 *   Appearance > Theme File Editor > Newspaper Child > style.css
 * (bên DƯỚI khối comment metadata của child theme)
 *
 * THAY ĐỔI so với bản đang live:
 *   [+] .eb-breadcrumb  – style cho breadcrumb Rank Math (<nav><ol>)
 *   [~] Bảng mobile: bỏ min-width:760px mặc định → chỉ opt-in bằng class
 *       .ebs-wide-table / .ebs-wide-table-lg. Bảng 3 cột (19 bảng scoring)
 *       không còn bị ép cuộn ngang vô nghĩa trên điện thoại.
 *   [-] .td-scroll-up{background-color:red} và .td-cat-rotate
 *       → comment lại (rác debug). Bỏ comment nếu bạn cố ý dùng.
 *
 * GIỮ NGUYÊN 100%: khối override header/mega-menu, editorial box, popup,
 * WPForms, touch target 48px, featured image, semantic table.
 */
/* ========================================================
   EB EDITORIAL SYSTEM – CSS v3.0 FINAL
   Tối ưu: PageSpeed, CLS, Mobile, Accessibility
   ======================================================== */
.td-mobile-content{
    padding-top: 70px;
}
.td-header-menu-social{float:right;margin-right:5px;line-height:48px}.td-header-menu-social .td-social-icon-wrap a{color:#000}.td-header-menu-social .td-social-icon-wrap i{min-width:16px;font-size:12px;line-height:24px;vertical-align:middle}@media (min-width:768px) and (max-width:1018px){.td-header-menu-social .td-social-icon-wrap i{font-size:12px!important}}@media (max-width:1140px){.td-header-menu-social{display:none}}.td-affix .td-header-menu-social{line-height:48px!important}.td-header-menu-no-search .td-header-menu-social{margin-right:0!important}.td_stretch_content .td-header-menu-social{margin-right:44px}.td-mega-menu{position:static!important}.td-mega-menu ul.sub-menu{position:absolute;width:1114px!important;height:auto;left:50%!important;transform:translateX(-50%);-webkit-transform:translateX(-50%);display:none;border:1px solid #eaeaea;box-shadow:0 2px 6px rgba(0,0,0,.1)}@media (min-width:1019px) and (max-width:1140px){.td-mega-menu ul.sub-menu{width:1024px!important}}@media (min-width:768px) and (max-width:1018px){.td-mega-menu ul.sub-menu{width:786px!important}}.td-mega-menu .td_block_mega_menu .td-next-prev-wrap{margin:0 0 22px 22px}.td-mega-menu-page .td-mega-grid{padding:22px}@media (min-width:1019px) and (max-width:1140px){.td-mega-menu-page .td-mega-grid{padding:21px}}@media (min-width:768px) and (max-width:1018px){.td-mega-menu-page .td-mega-grid{padding:22px}}.td-mega-menu-page .td-mega-grid .td_block_wrap{padding-bottom:26px}.td-mega-menu-page .wpb_content_element{clear:both}.td-mega-menu-page .wpb_content_element .td_block_wrap .td-pulldown-filter-display-option{display:none}.td-mega-menu-page .wpb_content_element .widgettitle:after{width:1200px}.td-mega-menu-page .wpb_content_element ul{display:inline-block!important;position:relative!important;width:100%!important;border:none!important;left:0!important;top:0!important;margin-left:0!important;webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important}.td-mega-menu-page .wpb_content_element ul li{webkit-box-shadow:none!important;-moz-box-shadow:none!important;box-shadow:none!important;float:none!important;width:auto!important;line-height:30px!important;margin-left:0;padding:0!important;list-style-type:disc!important;list-style-position:inside}.td-mega-menu-page .wpb_content_element ul li ul{opacity:1!important;margin-top:4px!important;margin-left:21px!important;padding-bottom:0!important}.td-mega-menu-page .wpb_content_element ul li ul li:last-child{border-bottom:0!important;padding-bottom:0!important}.td-mega-menu-page .wpb_content_element ul li a{background-color:transparent!important;line-height:26px!important;padding:0!important;margin:0!important;color:#222222!important}.td-mega-menu-page .wpb_content_element ul li a i{display:none}.td-mega-menu-page .wpb_content_element ul li a:hover{background-color:transparent!important;color:#4db2ec!important}.td-mega-menu-page .vc_wp_custommenu ul li{padding:5px 0!important;border-top:1px dashed #EDEDED;list-style-type:none!important}.td-mega-menu-page .vc_wp_custommenu ul li:first-child{border:none}.td-mega-menu-page .vc_wp_custommenu ul li:last-child{border-bottom:1px dashed #EDEDED}.td-mega-menu-page .vc_wp_custommenu ul li li{border-top:1px dashed #EDEDED!important}.td_block_mega_menu{display:table;width:100%;margin-bottom:0!important}.td_mega_menu_sub_cats{width:218px;max-width:218px;text-align:right;display:table-cell;height:100%;vertical-align:top;padding-top:22px;background-color:#fafafa;position:relative}@media (min-width:1019px) and (max-width:1140px){.td_mega_menu_sub_cats{width:200px;max-width:200px}}@media (min-width:768px) and (max-width:1018px){.td_mega_menu_sub_cats{width:152px;max-width:152px}}.td_mega_menu_sub_cats:after{content:"";width:1px;height:100%;position:absolute;top:0;right:0;background-color:#eaeaea}.td_mega_menu_sub_cats a{display:block;font-size:13px;font-weight:600;color:#333;padding:5px 22px;position:relative;vertical-align:middle;border-top:1px solid transparent;border-bottom:1px solid transparent}@media (min-width:1019px) and (max-width:1140px){.td_mega_menu_sub_cats a{padding:4px 22px}}@media (min-width:768px) and (max-width:1018px){.td_mega_menu_sub_cats a{font-size:11px;padding:3px 22px}}.td_mega_menu_sub_cats .cur-sub-cat{background-color:#fff;color:#4db2ec;border-top:1px solid #eaeaea;border-bottom:1px solid #eaeaea}.td_mega_menu_sub_cats .cur-sub-cat:before{content:'';width:1px;height:100%;position:absolute;top:0;right:0;background-color:#fff;z-index:1}.block-mega-child-cats{overflow-x:hidden;overflow-y:auto;max-height:252px;-webkit-overflow-scrolling:touch}@media (min-width:1019px) and (max-width:1140px){.block-mega-child-cats{max-height:238px}}@media (min-width:768px) and (max-width:1018px){.block-mega-child-cats{max-height:224px}}.td-mega-row{display:table-cell;padding:22px 0 10px 0}@media (min-width:768px) and (max-width:1018px){.td-mega-row{padding-bottom:6px}}.td-mega-span{width:196px;min-height:202px;float:left;margin-left:22px}@media (min-width:1019px) and (max-width:1140px){.td-mega-span{width:178px;min-height:189px}}@media (min-width:768px) and (max-width:1018px){.td-mega-span{width:130px;min-height:176px}}.td-mega-span .td-module-thumb{position:relative;margin-bottom:0}.td-mega-span .entry-thumb{min-height:135px}@media (min-width:1019px) and (max-width:1140px){.td-mega-span .entry-thumb{min-height:122px}}@media (min-width:768px) and (max-width:1018px){.td-mega-span .entry-thumb{min-height:89px}}.td-mega-span h3{font-family:'Roboto',sans-serif;font-weight:500;font-size:13px;margin:7px 0 0;line-height:18px}@media (min-width:768px) and (max-width:1018px){.td-mega-span h3{font-size:12px;line-height:16px}}.td-mega-span h3 a{color:#333;display:block;-webkit-transition:color 0.4s;transition:color 0.4s}.td-mega-span h3 a:hover{color:#4db2ec}.td_mod_mega_menu:hover .entry-title a{color:#4db2ec}
/* ── Theme Overrides ── */
/* .td-cat-rotate { writing-mode: vertical-rl; } */   /* v5.0: rác debug */
/* .td-scroll-up { background-color: red; } */        /* v5.0: nút scroll-to-top đỏ toàn site */
.tdb_single_featured_image img {
    height: 350px;
    object-fit: cover; /* tránh ảnh bị méo */
}
@media (max-width: 767px) {
    .tdb_single_featured_image img { height: 200px; }
}

/* ========================================================
   EDITORIAL BOX (Post/Page + Category Top)
   ======================================================== */
.eb-editorial-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,.05);
    font-family: inherit;
    line-height: 1.5;
}

/* ── Header & Dates ── */
.eb-editorial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.eb-editorial-updated-line,
.eb-editorial-publish-line {
    font-size: 13px;
    color: #374151;
}
.eb-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    color: #111827;
    letter-spacing: .5px;
    margin-right: 5px;
}
.eb-pill-fact {
    background: #ecfdf5;
    color: #047857;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid #a7f3d0;
}

/* ── People Grid ── */
.eb-editorial-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.eb-editorial-person {
    flex: 1 1 230px;
}
.eb-editorial-person-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
    position: relative;
}
/* Editorial cards are links. Writer/co-writer use rel="author"; editor does not.
   Reset theme link decoration consistently for all card roles. */
.eb-editorial-box a.eb-editorial-person-inner,
.eb-editorial-box a.eb-editorial-person-inner:link,
.eb-editorial-box a.eb-editorial-person-inner:visited {
    color: inherit;
    text-decoration: none !important;
}
.eb-editorial-box a.eb-editorial-person-inner:hover,
.eb-editorial-box a.eb-editorial-person-inner:focus-visible,
.eb-editorial-box a.eb-editorial-person-inner:focus,
.eb-editorial-box a.eb-editorial-person-inner:active {
    color: inherit;
    text-decoration: none !important;
}

.eb-editorial-box a.eb-editorial-person-inner:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}
/* Keyboard focus – accessibility */
.eb-editorial-person-inner:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* ── Avatar (in editorial box – 40×40) ── */
.eb-editorial-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
}
.eb-editorial-avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #e5e7eb;
    display: block;
}

/* ── Text ── */
.eb-editorial-text { min-width: 0; }
.eb-editorial-role-label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #6b7280;
    line-height: 1.4;
}
.eb-editorial-name {
    font-weight: 700;
    color: #111827;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.eb-editorial-job {
    font-size: 12px;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── More Trigger ── */
.eb-editorial-more-trigger {
    margin-top: 10px;
    padding: 4px 12px;
    border-radius: 99px;
    border: 1px dashed #d1d5db;
    background: #f9fafb;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    color: #374151;
    transition: background .15s ease;
}
.eb-editorial-more-trigger:hover { background: #f3f4f6; }
.eb-editorial-more-trigger:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Co-writer list: collapsed by default, expanded only by +N more. */
.eb-editorial-more-list[hidden] {
    display: none !important;
}
.eb-editorial-more-list:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}
.eb-editorial-more-list .eb-editorial-person {
    flex: 0 1 calc(50% - 6px);
    max-width: calc(50% - 6px);
}

/* ── Footer ── */
.eb-editorial-footer {
    margin-top: 15px;
    border-top: 1px solid #f3f4f6;
    padding-top: 10px;
    font-size: 12px;
    color: #6b7280;
}
.eb-editorial-footer a {
    color: #2563eb;
    text-decoration: none;
}
.eb-editorial-footer a:hover { text-decoration: underline; }

/* ========================================================
   POPUP – Author Detail Overlay
   Giữ nguyên giao diện, tối ưu performance
   ======================================================== */
#eb-editorial-popup-global {
    position: fixed;
    z-index: 999999;
    background: #fff;
    width: 300px;
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,.15), 0 8px 10px -6px rgba(0,0,0,.1);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    font-family: inherit;
    text-align: left;
    box-sizing: border-box;
    will-change: opacity;
}
#eb-editorial-popup-global.eb-open {
    opacity: 1;
    pointer-events: auto;
}

/* ── Popup Header: Avatar + Name/Job ── */
.eb-editorial-popup-global-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

/* ── Popup Avatar (50×50, lazy loaded) ── */
.eb-editorial-popup-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
}
.eb-editorial-popup-avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 1px solid #e5e7eb;
}

.eb-editorial-popup-header-text { flex: 1; min-width: 0; }
.eb-editorial-popup-name a {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    line-height: 1.3;
}
.eb-editorial-popup-name a:hover { text-decoration: underline; }
.eb-editorial-popup-job {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.3;
}

/* ── Popup Experience ── */
.eb-editorial-popup-experience {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
}

/* ── Popup Expertise List ── */
.eb-editorial-popup-expertise { margin-bottom: 8px; }
.eb-editorial-popup-expertise-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    display: block;
    margin-bottom: 4px;
}
.eb-editorial-popup-expertise-list {
    margin: 0;
    padding-left: 18px;
    list-style-type: disc;
}
.eb-editorial-popup-expertise-list li {
    font-size: 13px;
    color: #374151;
    margin-bottom: 4px;
    line-height: 1.4;
}

/* ── Popup Bio ── */
.eb-editorial-popup-bio {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 12px;
    border-top: 1px solid #f3f4f6;
    padding-top: 8px;
}

/* ── Popup LinkedIn ── */
.eb-editorial-popup-actions { display: flex; }
.eb-linkedin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #0a66c2;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color .15s ease;
}
.eb-linkedin-icon:hover { background-color: #004182; }

/* ========================================================
   RESPONSIVE
   ======================================================== */

/* Tablet & small desktop */
@media (max-width: 768px) {
    .eb-editorial-box { padding: 16px; margin: 16px 0; }
    .eb-editorial-person { flex: 1 1 100%; }
    .eb-editorial-more-list .eb-editorial-person {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .eb-editorial-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .eb-editorial-box { padding: 14px; border-radius: 8px; }
    .eb-editorial-person-inner { padding: 8px; gap: 10px; }
    .eb-editorial-name { font-size: 13px; }
    .eb-editorial-job { font-size: 11px; }

    /* Popup trên mobile: co lại, text nhỏ hơn */
    #eb-editorial-popup-global {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
        padding: 14px;
    }
    .eb-editorial-popup-name a { font-size: 15px; }
    .eb-editorial-popup-bio { font-size: 12px; }
    .eb-editorial-popup-expertise-list li { font-size: 12px; }
}
/* EBSource - WPForms contact form styling */
.ebsource-contact-form {
    background: #ffffff;
    padding: 28px;
    border: 1px solid #e3edf2;
    border-radius: 10px;
}

/* Field labels */
.ebsource-contact-form .wpforms-field-label {
    color: #243746 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
}

/* Required asterisk */
.ebsource-contact-form .wpforms-required-label {
    color: #c0392b !important;
    font-weight: 700 !important;
}

/* Inputs and textarea */
.ebsource-contact-form input[type="text"],
.ebsource-contact-form input[type="email"],
.ebsource-contact-form input[type="tel"],
.ebsource-contact-form input[type="url"],
.ebsource-contact-form textarea {
    background-color: #ffffff !important;
    color: #1f2d3d !important;
    border: 1px solid #b8c7d1 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    padding: 14px 16px !important;
    font-size: 16px !important;
}

/* Placeholder */
.ebsource-contact-form input::placeholder,
.ebsource-contact-form textarea::placeholder {
    color: #6b7c8f !important;
    opacity: 1 !important;
}

/* Focus state */
.ebsource-contact-form input:focus,
.ebsource-contact-form textarea:focus {
    border-color: #0B5F7A !important;
    box-shadow: 0 0 0 3px rgba(11, 95, 122, 0.16) !important;
    outline: none !important;
}

/* Submit button */
.wpforms-form .ebsource-wpforms-submit {
    background-color: #0B5F7A !important;
    color: #ffffff !important;
    border: 1px solid #0B5F7A !important;
    border-radius: 6px !important;
    padding: 14px 30px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
    opacity: 1 !important;
}

/* Submit button hover/focus */
.wpforms-form .ebsource-wpforms-submit:hover,
.wpforms-form .ebsource-wpforms-submit:focus {
    background-color: #083F52 !important;
    border-color: #083F52 !important;
    color: #ffffff !important;
}
.tdb-mobile-menu-button {
	min-height: 48px !important;
	min-width: 48px !important;
}
button.td-scroll-up[data-style="style1"] .td-icon-menu-up{
    width: auto !important;
    top: unset !important;
}
/* ========================================================
   EBSource Responsive Semantic Tables
   Purpose:
   - Keep mobile horizontal scrolling
   - Prevent row-label text from being squeezed or broken mid-word
   - Support semantic tables with thead, tbody, th scope="col", th scope="row"
   ======================================================== */

/* Table wrapper: keep the table inside the content area and allow horizontal scroll */
.wp-block-table,
.td-post-content .wp-block-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    box-sizing: border-box;
}

/* Table base: avoid fixed-layout squeezing from Gutenberg or Newspaper theme */
.wp-block-table table,
.td-post-content .wp-block-table table,
.wp-block-table table.has-fixed-layout,
.td-post-content .wp-block-table table.has-fixed-layout {
    width: 100%;
    max-width: none;
    border-collapse: collapse;
    table-layout: auto !important;
}

/* Cell behaviour: prevent words from being cut into fragments on mobile */
.wp-block-table th,
.wp-block-table td,
.td-post-content .wp-block-table th,
.td-post-content .wp-block-table td {
    vertical-align: top;
    white-space: normal;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
}

/* Row headers: protect the first column when it is a true row label */
.wp-block-table th[scope="row"],
.td-post-content .wp-block-table th[scope="row"] {
    min-width: 150px;
}

/* Caption spacing */
.wp-block-table figcaption,
.td-post-content .wp-block-table figcaption {
    margin-top: 8px;
}

/* Mobile and tablet table behaviour */
@media (max-width: 768px) {

    .wp-block-table,
    .td-post-content .wp-block-table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* v5.0: KHÔNG ép min-width mặc định.
       Bảng 3 cột vừa khít màn hình 390px; chỉ bảng nhiều cột mới cần
       cuộn ngang, và chúng được đánh dấu bằng class bên dưới. */
    .wp-block-table table,
    .td-post-content .wp-block-table table {
        min-width: 0;
    }

    /* Wide tables: 3+ columns or longer text */
    .wp-block-table.ebs-wide-table table,
    .td-post-content .wp-block-table.ebs-wide-table table {
        min-width: 860px;
    }

    /* Extra-wide tables: 4+ columns, long examples, many numbers, or long row labels */
    .wp-block-table.ebs-wide-table-lg table,
    .td-post-content .wp-block-table.ebs-wide-table-lg table {
        min-width: 1040px;
    }

    /* Keep row labels readable on mobile */
    .wp-block-table th[scope="row"],
    .td-post-content .wp-block-table th[scope="row"] {
        min-width: 150px;
    }

    .wp-block-table.ebs-wide-table th[scope="row"],
    .td-post-content .wp-block-table.ebs-wide-table th[scope="row"] {
        min-width: 165px;
    }

    .wp-block-table.ebs-wide-table-lg th[scope="row"],
    .td-post-content .wp-block-table.ebs-wide-table-lg th[scope="row"] {
        min-width: 185px;
    }

    .wp-block-table::-webkit-scrollbar,
    .td-post-content .wp-block-table::-webkit-scrollbar {
        height: 6px;
    }
}
/* ============================================================================
   EBSource — Breadcrumb readability, scoped to default-page TagDiv breadcrumb
   v1.2

   PURPOSE
   Improve readability and colour contrast of the legacy TagDiv breadcrumb used
   on default Pages.

   SCOPE
   Applies only when BOTH conditions are present:
   - body has .page-template-default
   - breadcrumb uses .td-crumb-container .entry-crumbs

   It does not alter breadcrumb HTML, hierarchy, Rank Math schema, templates,
   Post/Category breadcrumb rules, or editorial-system CSS.

   CONTRAST ON WHITE
   #6b7280 ≈ 4.83:1
   #4b5563 ≈ 7.56:1
   #374151 ≈ 10.31:1
   #2451e5 ≈ 6.21:1

   No !important required; specificity is intentionally higher than TagDiv's
   generic .entry-crumbs rules.
   ========================================================================== */

body.page-template-default .td-crumb-container .entry-crumbs {
    font-size: 14px;
    line-height: 22px;
    color: #6b7280;
}

body.page-template-default .td-crumb-container .entry-crumbs a {
    color: #4b5563;
    text-decoration: none;
}

body.page-template-default .td-crumb-container .entry-crumbs a:hover,
body.page-template-default .td-crumb-container .entry-crumbs a:focus-visible {
    color: #2451e5;
    text-decoration: underline;
}

/* Separator stays readable and visually subordinate without reducing contrast. */
body.page-template-default .td-crumb-container .entry-crumbs .td-bread-sep {
    color: #6b7280;
    font-size: 9px;
    margin: 0 7px;
}

/* Current page / terminal breadcrumb. */
body.page-template-default .td-crumb-container .entry-crumbs .td-bred-no-url-last {
    color: #374151;
}

@media (max-width: 767px) {
    body.page-template-default .td-crumb-container .entry-crumbs {
        font-size: 13px;
        line-height: 20px;
    }
}

