/*
Theme Name: Industrial Manufacturing Child
Theme URI: https://liangdu.asia/
Description: Child theme for Industrial Manufacturing - Liangdu B2B
Author: Liangdu
Author URI: https://liangdu.asia/
Template: industrial-manufacturing
Version: 1.7.0
License: GNU General Public License v3.0
Text Domain: industrial-manufacturing-child
*/

/* Child theme custom styles below */

/* =====================================================
   Wishlist button: "Add to Wishlist" next to "Request Price", horizontal layout
   ===================================================== */

.single-product .summary::after {
    content: '';
    display: table;
    clear: both;
}

.single-product .summary .wrp-request-button,
.single-product .summary .yith-wcwl-add-to-wishlist--single {
    float: left;
    box-sizing: border-box;
    margin: 0 !important;
    min-height: 52px;
}

.single-product .summary .wrp-request-button {
    width: 49%;
    margin-right: 2% !important;
    border-radius: 0 !important;
}

.single-product .summary .yith-wcwl-add-to-wishlist--single {
    width: 49%;
}

.single-product .summary .yith-wcwl-add-to-wishlist--single .yith-wcwl-add-button {
    margin: 0;
    height: 100%;
}

.single-product .summary .yith-wcwl-add-to-wishlist--single .add_to_wishlist {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    box-sizing: border-box;
    padding: 1em 1.2em;
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.single-product .summary .yith-wcwl-add-to-wishlist--single .add_to_wishlist:hover {
    opacity: 0.9;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .single-product .summary .wrp-request-button,
    .single-product .summary .yith-wcwl-add-to-wishlist--single {
        float: none;
        width: 100%;
        margin: 0 0 8px 0 !important;
    }
}

/* =====================================================
   Wishlist share bar: 10 platforms with brand colors
   ===================================================== */

.yith-wcwl-share li a.tiktok { background: #000000; }
.yith-wcwl-share li a.tiktok:hover { background: #333333; }

.yith-wcwl-share li a.instagram { background: #e1306c; }
.yith-wcwl-share li a.instagram:hover { background: #c13584; }

.yith-wcwl-share li a.x-twitter { background: #000000; }
.yith-wcwl-share li a.x-twitter:hover { background: #333333; }

.yith-wcwl-share li a.youtube { background: #ff0000; }
.yith-wcwl-share li a.youtube:hover { background: #cc0000; }

.yith-wcwl-share li a.line { background: #06c755; }
.yith-wcwl-share li a.line:hover { background: #05a648; }

.yith-wcwl-share li a.telegram { background: #26a5e4; }
.yith-wcwl-share li a.telegram:hover { background: #1e8ec7; }

.yith-wcwl-share li a.kakao { background: #fee500; }
.yith-wcwl-share li a.kakao:hover { background: #e5cf00; }
.yith-wcwl-share li a.kakao { color: #3c1e1e !important; }
.yith-wcwl-share li a.kakao:hover { color: #3c1e1e !important; }

.yith-wcwl-share li a.vk { background: #4a76a8; }
.yith-wcwl-share li a.vk:hover { background: #3e648f; }

.yith-wcwl-share li a.ok { background: #ee8208; }
.yith-wcwl-share li a.ok:hover { background: #cc6f07; }

.yith-wcwl-share li a.naver { background: #03c75a; }
.yith-wcwl-share li a.naver:hover { background: #02a84e; }

.yith-wcwl-share li a.zalo { background: #0068ff; }
.yith-wcwl-share li a.zalo:hover { background: #0058d8; }

.yith-wcwl-share li a.mixi { background: #00a8e1; }
.yith-wcwl-share li a.mixi:hover { background: #008fbf; }

.yith-wcwl-share li a.linkedin { background: #0077b5; }
.yith-wcwl-share li a.linkedin:hover { background: #00669c; }

.yith-wcwl-share li a.reddit { background: #ff4500; }
.yith-wcwl-share li a.reddit:hover { background: #d93b00; }

.yith-wcwl-share li a.tumblr { background: #35465c; }
.yith-wcwl-share li a.tumblr:hover { background: #2a3a4c; }

.yith-wcwl-share li a .ss-letter {
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    font-family: Arial, Helvetica, sans-serif;
}

/* =====================================================
   Mobile: wishlist share bar auto-wrap onto multiple lines
   (YITH sets .yith-wcwl-share ul { display:flex } which
   defaults to nowrap => 18 buttons overflow on phones)
   ===================================================== */

@media screen and (max-width: 1000px) {
    .yith-wcwl-share ul {
        flex-wrap: wrap;
    }

    .yith-wcwl-share li a {
        min-width: 32px;
        min-height: 32px;
    }
}

/* =====================================================
   Homepage: hide breadcrumb row, <h1>Home</h1>,
   WooCommerce result count + ordering (only front page)
   ===================================================== */

body.home .bradcrumbs {
    display: none;
}

body.home .feature-box h1 {
    display: none;
}

body.home .woocommerce-result-count,
body.home .woocommerce-ordering {
    display: none;
}

/* =====================================================
   Footer: remove "Manufacturing WordPress Theme" credit link
   ===================================================== */

.copyright p.m-0 a {
    display: none;
}

/* =====================================================
   Footer widget columns (My Account / About Us / Policies / Group Links):
   - Desktop: visible on ALL pages (unchanged)
   - Mobile: only on Home / Shop / My Account / My Wishlist
   ===================================================== */

@media screen and (max-width: 1000px) {
    body:not(.home):not(.woocommerce-shop):not(.woocommerce-account):not(.woocommerce-wishlist) #footer .footerinner {
        display: none;
    }
}

/* Center footer widget content on mobile so the stacked columns
   (My Account / About Us / Policies / Ad Links) are not left-biased */

@media screen and (max-width: 1000px) {
    #footer .footerinner .footer-block {
        text-align: center;
    }

    #footer .footerinner .footer-block .widget-title {
        text-align: center;
        font-size: 16px;
        margin-bottom: 4px !important;
        padding-bottom: 2px !important;
    }

    #footer .footerinner .footer-block ul {
        list-style: none;
        padding-left: 0;
        margin-left: 0;
    }
}

/* =====================================================
   Mobile top header: "Liangdu B2B" left + ACCOUNT / MENU
   ===================================================== */

@media screen and (max-width: 1000px) {
    .toggle-menu {
        padding: 8px 12px;
    }

    .toggle-menu .ld-toggle-row {
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        font-size: 14px;
    }

    .toggle-menu .ld-toggle-brand {
        color: #FF5E14;
        font-size: 17px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none;
        white-space: nowrap;
        line-height: 1.2;
        margin-right: auto;
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        border: 1px solid rgba(255, 255, 255, 0.6);
        padding: 3px 9px;
        border-radius: 3px;
    }

    .toggle-menu .ld-toggle-account {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        text-decoration: none;
        white-space: nowrap;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .toggle-menu .ld-toggle-account i {
        font-size: 16px;
        color: #fff;
    }

    .toggle-menu .mobiletoggle {
        color: #fff;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        padding: 0;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
    }

    .toggle-menu .mobiletoggle i {
        font-size: 16px;
    }

    .middle-header .logo {
        display: none;
    }

    .header-search {
        display: none !important;
    }

    body {
        padding-bottom: 64px;
    }

    .back-to-top {
        bottom: 92px !important;
    }
}

@media screen and (max-width: 380px) {
    .toggle-menu {
        padding: 6px 8px;
    }

    .toggle-menu .ld-toggle-row {
        gap: 6px;
    }

    .toggle-menu .ld-toggle-brand {
        font-size: 14px;
    }

    .toggle-menu .ld-toggle-account {
        font-size: 15px;
        flex-shrink: 0;
    }

    .toggle-menu .mobiletoggle {
        font-size: 15px;
        flex-shrink: 0;
    }

    .toggle-menu .ld-toggle-account i {
        font-size: 15px;
    }

    .toggle-menu .mobiletoggle i {
        font-size: 15px;
    }
}

@media screen and (max-width: 340px) {
    .toggle-menu {
        padding: 5px 6px;
    }

    .toggle-menu .ld-toggle-row {
        gap: 4px;
    }

    .toggle-menu .ld-toggle-brand {
        font-size: 12px;
    }

    .toggle-menu .ld-toggle-account {
        font-size: 14px;
    }

    .toggle-menu .mobiletoggle {
        font-size: 14px;
    }

    .toggle-menu .ld-toggle-account i {
        font-size: 14px;
    }

    .toggle-menu .mobiletoggle i {
        font-size: 14px;
    }
}

/* =====================================================
   Mobile bottom navigation: Product / Category / Search / Wishlist
   ===================================================== */

.ld-mobile-nav {
    display: none;
}

@media screen and (max-width: 1000px) {
    .ld-mobile-nav {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        max-width: 100vw;
        overflow-x: hidden;
        font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    }

    .ld-mobile-nav-bar {
        display: flex;
        background: #fff;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
    }

    .ld-nav-btn {
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        padding: 10px 2px;
        color: #444;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        text-decoration: none;
        line-height: 1.1;
        text-align: center;
        white-space: nowrap;
        border-left: 1px solid #eee;
    }

    .ld-nav-btn:first-child {
        border-left: none;
    }

    .ld-nav-btn i {
        font-size: 20px;
        color: #0e2b5c;
    }

    .ld-nav-btn.active,
    .ld-nav-btn:hover {
        color: #0e2b5c;
        background: #f0f4fa;
    }

    .ld-panel {
        display: none;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    .ld-search-form {
        display: flex;
        padding: 8px 10px;
        gap: 8px;
        margin: 0;
    }

    .ld-search-form input[type="search"] {
        flex: 1;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        padding: 9px 12px;
        border: 1px solid #ccc;
        border-radius: 3px;
        font-size: 16px;
    }

    .ld-search-form button {
        background: #0e2b5c;
        color: #fff;
        border: none;
        border-radius: 3px;
        padding: 0 16px;
        font-size: 15px;
        cursor: pointer;
    }

    .ld-cat-list {
        list-style: none;
        margin: 0;
        padding: 6px 10px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2px 8px;
        max-height: 60vh;
        overflow-y: auto;
    }

    .ld-cat-list li a {
        display: block;
        padding: 8px 10px;
        color: #333;
        font-size: 13px;
        text-decoration: none;
        border-bottom: 1px solid #f0f0f0;
    }

    .ld-cat-list li a:hover {
        color: #0e2b5c;
    }
}

/* =====================================================
   Article content styles (data tables, figure captions,
   stat callouts, FAQ blocks)
   ===================================================== */

.single .entry-content h2 {
    margin: 34px 0 14px;
    font-size: 24px;
    line-height: 1.35;
    color: #0e2b5c;
}

.single .entry-content h3 {
    margin: 26px 0 12px;
    font-size: 19px;
    line-height: 1.4;
    color: #1d3c6e;
}

.single .entry-content p {
    line-height: 1.85;
    margin-bottom: 16px;
    color: #333;
}

.single .entry-content ul,
.single .entry-content ol {
    margin: 0 0 18px 22px;
    line-height: 1.8;
}

.single .entry-content li {
    margin-bottom: 6px;
}

.ld-figure {
    margin: 22px 0;
    text-align: center;
}

.ld-figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

.ld-figure figcaption {
    margin-top: 8px;
    font-size: 13px;
    color: #777;
    font-style: italic;
}

.ld-table-wrap {
    margin: 22px 0;
    overflow-x: auto;
}

.ld-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    line-height: 1.6;
    background: #fff;
}

.ld-table-wrap table,
.ld-table-wrap th,
.ld-table-wrap td {
    border: 1px solid #dfe4ec;
}

.ld-table-wrap th,
.ld-table-wrap td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.ld-table-wrap thead th {
    background: #0e2b5c;
    color: #fff;
    font-weight: 600;
}

.ld-table-wrap tbody tr:nth-child(even) {
    background: #f6f8fb;
}

.ld-table-wrap tbody tr:hover {
    background: #eef3fa;
}

.ld-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 24px 0;
}

.ld-stat {
    background: #f0f5fb;
    border: 1px solid #d9e4f0;
    border-left: 4px solid #0e2b5c;
    border-radius: 6px;
    padding: 14px 12px;
    text-align: center;
}

.ld-stat .ld-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #0e2b5c;
}

.ld-stat .ld-stat-label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-top: 4px;
}

.ld-callout {
    background: #fff8ec;
    border: 1px solid #f0d9a8;
    border-left: 4px solid #d99a1b;
    border-radius: 6px;
    padding: 14px 16px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.7;
}

.ld-faq {
    margin: 18px 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.ld-faq summary {
    cursor: pointer;
    padding: 13px 16px;
    font-weight: 600;
    color: #0e2b5c;
    background: #f8fafc;
    list-style: none;
    position: relative;
}

.ld-faq summary::-webkit-details-marker {
    display: none;
}

.ld-faq summary::after {
    content: '+';
    position: absolute;
    right: 16px;
    font-weight: 700;
    color: #0e2b5c;
}

.ld-faq[open] summary::after {
    content: '-';
}

.ld-faq .ld-faq-body {
    padding: 4px 16px 14px;
    line-height: 1.8;
}

.ld-cta {
    background: #0e2b5c;
    color: #fff;
    border-radius: 8px;
    padding: 20px 22px;
    margin: 26px 0 10px;
    text-align: center;
}

.ld-cta h3 {
    color: #fff;
    margin: 0 0 8px;
}

.ld-cta p {
    color: #dbe6f5;
    margin: 0 0 12px;
}

.ld-cta a {
    display: inline-block;
    background: #fff;
    color: #0e2b5c;
    padding: 10px 26px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
}

.ld-cta a:hover {
    background: #f0d9a8;
}

@media (max-width: 767px) {
    .ld-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ld-stat-grid {
        grid-template-columns: 1fr;
    }
    .ld-table-wrap table {
        font-size: 13.5px;
    }
}

/* =====================================================
   Mobile footer accordion: My Account / About Us / Policies / Ad Links
   - Collapsed by default on mobile, tap title to expand
   - Desktop unchanged (always expanded)
   ===================================================== */

@media screen and (max-width: 1000px) {
    #footer .footerinner .row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px 8px;
        margin: 0;
    }

    #footer .footerinner .footer-block {
        padding: 0;
    }

    #footer .footerinner .footer-block ul {
        display: none;
        margin: 0 0 14px;
    }

    #footer .footerinner .footer-block ul.open {
        display: block;
    }

    #footer .footerinner .footer-block .widget-title {
        cursor: pointer;
        display: inline-block;
        padding-right: 22px;
        position: relative;
        user-select: none;
    }

    #footer .footerinner .footer-block .widget-title::after {
        content: '+';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 400;
        font-size: 18px;
        line-height: 1;
    }

    #footer .footerinner .footer-block .widget-title.open::after {
        content: '-';
    }
}

/* =====================================================
   Brand color: unify home top-row logo "Liangdu B2B"
   (mobile + desktop) with footer column titles color
   (--secondary-color / #FF5E14)
   ===================================================== */

.logo {
    background: #000000;
}

.logo .site-title a {
    color: var(--secondary-color);
}

/* =====================================================
   Community: /forum/ archive, single forum, /voice/ page
   ===================================================== */

.ld-forum-head {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.ld-forum-head-left {
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
}
.ld-forum-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.35rem;
}
.ld-forum-sub {
    color: #666;
    max-width: 720px;
    margin: 0;
}
.ld-forum-newtopic {
    margin-top: 0;
    flex: 0 0 auto;
    text-align: right;
}
.ld-forum-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    margin-bottom: 2rem;
}
.ld-forum-cat {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 13px;
    color: #444;
    background: #fff;
    transition: all .2s;
}
.ld-forum-cat:hover,
.ld-forum-cat.ld-active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.ld-forum-grid .ld-forum-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.ld-forum-grid .ld-forum-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.ld-forum-card-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.ld-forum-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.ld-forum-card:hover .ld-forum-card-img img {
    transform: scale(1.04);
}
.ld-forum-card-body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ld-forum-card-cats {
    margin-bottom: 8px;
}
.ld-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background: rgba(255, 94, 20, .1);
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 600;
    margin-right: 6px;
}
.ld-forum-card-title {
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0 0 8px;
}
.ld-forum-card-title a {
    color: #222;
}
.ld-forum-card-title a:hover {
    color: var(--secondary-color);
}
.ld-forum-card-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 14px;
    margin-bottom: 8px;
}
.ld-forum-card-excerpt {
    color: #666;
    font-size: 14px;
    flex: 1;
}
.ld-forum-card-more {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
}
.ld-forum-empty {
    text-align: center;
    color: #888;
    padding: 40px 0;
}

/* single forum thread */
.ld-forum-single-head {
    margin-bottom: 1.5rem;
}
.ld-forum-single-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #222;
    margin: 8px 0;
}
.ld-forum-single-img {
    margin-bottom: 1.5rem;
}
.ld-forum-single-img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.ld-forum-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.ld-forum-single-content figure.ld-figure {
    margin: 1.5rem 0;
}
.ld-forum-single-content figure.ld-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.ld-forum-single-content figure.ld-figure figcaption {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 6px;
}

/* /voice/ page */
.ld-voice-panel {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.ld-voice-panel-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary-color);
    margin-bottom: 18px;
}
.ld-voice-more {
    margin-left: auto;
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
}
.ld-voice-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f1f1;
    align-items: flex-start;
}
.ld-voice-item:last-child {
    border-bottom: 0;
}
.ld-voice-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    display: block;
}
.ld-voice-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ld-voice-item-title {
    font-size: 15px;
    line-height: 1.4;
    margin: 0 0 6px;
}
.ld-voice-item-title a {
    color: #222;
}
.ld-voice-item-title a:hover {
    color: var(--secondary-color);
}
.ld-voice-item-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 12px;
}
.ld-voice-empty {
    color: #888;
    padding: 20px 0;
}
@media (max-width: 767px) {
    .ld-forum-title { font-size: 1.5rem; }
    .ld-forum-single-title { font-size: 1.35rem; }
    .ld-voice-panel { padding: 16px; }
}

/* =====================================================
   Multilingual comment CTA + reply templates
   ===================================================== */
.ld-comment-cta {
    background: linear-gradient(135deg, #fff7f2, #fff);
    border: 1px solid #ffd9c6;
    border-left: 4px solid var(--secondary-color);
    border-radius: 10px;
    padding: 22px 24px;
    margin: 2rem 0;
}
.ld-comment-cta h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #222;
}
.ld-cta-lead {
    color: #555;
    margin: 0 0 12px;
}
.ld-comment-cta details {
    margin: 10px 0;
}
.ld-comment-cta summary {
    cursor: pointer;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 14px;
}
.ld-cta-langs,
.ld-cta-tpls {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.ld-cta-langs li {
    padding: 6px 0;
    border-bottom: 1px dashed #f0e0d8;
    font-size: 13px;
    color: #444;
}
.ld-cta-tpls li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dashed #f0e0d8;
    font-size: 13px;
    color: #444;
}
.ld-tpl-lang {
    flex: 0 0 90px;
    font-weight: 700;
    color: var(--secondary-color);
}
.ld-tpl-text {
    flex: 1;
}
.ld-tpl-copy {
    flex: 0 0 auto;
    background: var(--secondary-color);
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 12px;
    cursor: pointer;
}
.ld-tpl-copy:hover {
    opacity: .85;
}
.ld-cta-btn {
    display: inline-block;
    background: var(--secondary-color);
    color: #fff !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    margin-top: 6px;
    text-decoration: none !important;
}
.ld-cta-btn:hover {
    opacity: .88;
}
.ld-cta-tpl-note {
    font-size: 12px;
    color: #999;
    margin: 6px 0 0;
}
.comment-notes-ld {
    font-size: 13px;
    color: #888;
}
.comment-form-comment textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 12px;
}

/* =====================================================
   /blog/ category hub (page-blog.php)
   ===================================================== */
.ld-blog-hero {
    background: linear-gradient(120deg, #1a1a1a 0%, #333 55%, #ff5e14 160%);
    color: #fff;
    padding: 56px 0 60px;
    text-align: center;
}
.ld-blog-eyebrow {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 13px;
    color: #ff8a55;
    margin-bottom: 10px;
}
.ld-blog-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 14px;
}
.ld-blog-hero-sub {
    color: #ccc;
    max-width: 640px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
}
.ld-blog-hub {
    padding: 28px 0 60px;
    background: #fafafa;
}
.ld-blog-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}
.ld-blog-cat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 999px;
    font-size: 14px;
    color: #444;
    background: #fff;
    transition: all .2s;
    text-decoration: none !important;
}
.ld-blog-cat:hover,
.ld-blog-cat.ld-active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff;
}
.ld-blog-cat-count {
    font-size: 11px;
    background: rgba(0,0,0,.06);
    border-radius: 999px;
    padding: 1px 8px;
}
.ld-blog-cat.ld-active .ld-blog-cat-count {
    background: rgba(255,255,255,.25);
}
.ld-blog-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
}
.ld-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.ld-blog-card-img {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.ld-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.ld-blog-card:hover .ld-blog-card-img img {
    transform: scale(1.04);
}
.ld-blog-card-body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ld-blog-card-title {
    font-size: 1.02rem;
    line-height: 1.4;
    margin: 4px 0 8px;
}
.ld-blog-card-title a {
    color: #222;
}
.ld-blog-card-title a:hover {
    color: var(--secondary-color);
}
.ld-blog-card-excerpt {
    color: #666;
    font-size: 14px;
    flex: 1;
}
.ld-blog-empty {
    text-align: center;
    color: #888;
    padding: 40px 0;
}
@media (max-width: 767px) {
    .ld-blog-hero { padding: 40px 0; }
    .ld-blog-hero-title { font-size: 1.7rem; }
}
.ld-lang-switch {
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
}
.ld-lang-btn {
    background: #d91e36;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.5;
    transition: background 0.2s;
}
.ld-lang-btn:hover {
    background: #b0162b;
}

/* ===== Forum "New Topic" modal ===== */
.ld-forum-newtopic { margin-top: 14px; }
.ld-btn-new-topic { background: #b45309; color: #fff; border: 0; border-radius: 8px; padding: 10px 20px; font-size: 15px; font-weight: 600; cursor: pointer; }
.ld-btn-new-topic:hover { background: #92400e; }
.ld-forum-notice { margin: 16px 0; padding: 12px 16px; border-radius: 10px; font-size: 14px; line-height: 1.7; }
.ld-forum-notice-ok { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.ld-forum-notice-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.ld-modal { position: fixed; inset: 0; z-index: 99999; background: rgba(15, 23, 42, .55); display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px; }
.ld-modal[hidden] { display: none; }
.ld-modal-box { position: relative; background: #fff; border-radius: 16px; max-width: 640px; width: 100%; padding: 28px 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); }
.ld-modal-close { position: absolute; right: 14px; top: 10px; background: transparent; border: 0; font-size: 28px; line-height: 1; color: #64748b; cursor: pointer; }
.ld-modal-close:hover { color: #0f172a; }
.ld-modal-box h2 { margin: 0 0 6px; color: #b45309; font-size: 22px; }
.ld-modal-note { margin: 0 0 18px; font-size: 13px; color: #64748b; }
.ld-field { margin: 0 0 14px; }
.ld-field label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; color: #334155; }
.ld-field input[type="text"], .ld-field input[type="email"], .ld-field select, .ld-field textarea { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; background: #fff; color: #0f172a; }
.ld-field input:focus, .ld-field select:focus, .ld-field textarea:focus { outline: none; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .18); }
.ld-field .ld-btn { background: #b45309; color: #fff; border: 0; border-radius: 8px; padding: 11px 26px; font-size: 15px; font-weight: 600; cursor: pointer; }
.ld-field .ld-btn:hover { background: #92400e; }
