.IconProductMid01 {
    opacity: 0.3;
}
.IconProductMid02 {
    opacity: 1;
    transform: scale(1.3);
    transition: all 0.5s;
}
.IconProductMid03 {
    display: none;
}

/* Blog AJAX Loading */
.blog-articles-grid {
    position: relative;
}
.blog-articles-grid.loading {
    opacity: 0.6;
    pointer-events: none;
}
.blog-articles-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0FAEE8;
    border-radius: 50%;
    animation: blog-spin 1s linear infinite;
}
@keyframes blog-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.video-card {
    width: 100%;
    max-width: 700px;
    margin: 20px auto 0px auto;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
    padding-bottom: 0px;
}
.video-card video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.Style_Header {
    transition: transform 0.3s ease;
}
.Style_Header:hover {
    text-shadow: 1px 1px #dcdcdc;
    color: dodgerblue;
}
.Style_Header_Product {
    transition: transform 0.3s ease;
}
.submenu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 0px;
    width: 102.65px;
    height: 10px;
    background: #171717;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}
.prd_short_descript{
    margin-left:10px;
}
.req_a_demo_btn{

}


.mobile-accordion.is-active .tp-ab-info{
    padding-left:0px !important;

}



@media (max-width: 800px) {
    #IconProductId_All {
        display: none !important;
    }
    .video-card{
        margin: 0px auto 0px auto;
        border-radius:0px;
        border-top-right-radius: 13px;
        border-top-left-radius: 13px;

    }
    .tp-ab-section {
        padding-top:0px !important;
        /*overflow: hidden;*/
        height: 90px;
        transition: max-height 0.9s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        border-radius: 14px;
        margin: 0 12px 35px 12px;
        background: linear-gradient(135deg, #f9fcff, #ffffff);
        box-shadow: 0 0px 5px rgba(23, 23, 23, 0.2);
        cursor: pointer;
    }
    .tp-ab-section.is-active {
        height:unset;
        max-height: 3000px;
        border-color: #171717;
        box-shadow: 0 0px 6px rgba(23, 23, 23, 0.4);
        background: linear-gradient(135deg, #f2f9ff, #ffffff);
    }
    .tp-ab-info{
        padding-top:10px;
        padding-left:14px;
    }
    .tp-ab-info > div:first-child {
        padding: 5px 0px;
        position: relative;
    }
    .tp-ab-subtitle span {
        font-size: 10px;
        font-weight: 500;
        color: #005790;
        text-transform: uppercase;
        letter-spacing: 0px;
    }
    .tp-ab-title {
        margin: -10px 0 10px 0;
        font-size: 27px;
        font-weight: 600;
        color: #005790;
    }
    .tp-ab-info > div:first-child::after {
        content: "+";
        position: absolute;
        right: 0px;
        top: 20px;
        /*transform: translateY(-50%);*/
        font-size: 24px;
        font-weight: 600;
        color: #171717;
        transition: transform 0.3s ease;
    }
    .tp-ab-info p {
        margin-bottom: 0;
    }
    .tp-ab-section.is-active .tp-ab-info > div:first-child::after {
        content: "";
        transform: translateY(-50%) rotate(180deg);
    }

    .tp-ab-section:not(.is-active) .prd_short_descript,
    .tp-ab-section:not(.is-active) .tp-btn,
    .tp-ab-section:not(.is-active) .req_a_demo_btn,
    .tp-ab-section:not(.is-active) .postbox__thumb {
        display: none !important;
    }

    .prd_short_descript {
        padding: 0; 
        font-size: 13.5px !important;
        color: #2b2b2b;
        line-height: 1.6;
        margin-left:0px;
    }
    .tp-btn{
        margin: 10px 0px 0px 0px;
        border-radius: 10px;
        font-size: 13px;
    }
    .req_a_demo_btn {
        padding:15px 20px;
        margin: 15px 0px 15px 0px;
        border-radius: 10px;
        font-size: 13px;
    }
}
.tp-ab-section:not(.is-active) > div:first-child {
    padding-bottom: 25px;
}
.tp-ab-section {
    padding-top: 30px;
}
.tp-ab-section:not(.is-active) .tp-ab-info > div:first-child {
    padding: 0px 40px 6px 80px;
}
.tp-ab-section:not(.is-active) .tp-ab-subtitle {
    margin-bottom: 0px;
}
.tp-ab-section:not(.is-active) .tp-ab-title {
    padding: 2px 0px 8px 80px;
    font-size: 17px;
}

.accordion-icon {
    width: 120px;
    height: auto;
    position: absolute;
    top: -8px;
    left: -5px;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.tp-ab-section:not(.is-active) > div:first-child {
    padding-bottom: 0;
    filter: brightness(0.97) contrast(1) saturate(2.5);
}
.tp-ab-section.is-active .accordion-icon {
    opacity: 0;
    pointer-events: none;
}

.mobile-accordion {
    display: none;
}

@media (max-width: 800px) {
    .mobile-accordion {
        display: block;
    }
}

.grid-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, 150px);
    justify-content: center;
    justify-items: center;
    margin-top: 10px;
}

.grid-item {
    width: 140px;
    height: auto;
}
.grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1100px) {
    .grid-team {
        grid-template-columns: repeat(auto-fit, 120px);
    }

    .grid-item {
        width: 140px;
    }
    .grid-item img {
        width: 80%;
        height: auto;
    }
    .tp-team__info {
        text-align: center;
        font-size: 13px;
    }
}
@media (max-width: 990px) {
    #IconProductId_All {
        display: none !important;
    }
}
.my-style_Text {
    color: #000;
    font-size: 12px;
    text-align: center;
    padding: 20px 0px 0px 0px;
}
.my-hover-img {
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: brightness(0.97) contrast(1) saturate(1.4) drop-shadow(0 10px 16px rgba(0,0,0,0.2));
}
.my-hover-img:hover {
    transform: scale(1.1);
}
.my-hover_None {
}

.my-hover_None:hover {
    transform: scale(1);
}

[id^="contactSlide"] {
    display: block;
    height: 0;
    scroll-margin-top: 110px;
}

/* ==========================================
   PRICING TABLE - Fully Responsive
   ========================================== */
.pricing-section {
    width: 100%;
    padding: 45px 20px;
    box-sizing: border-box;
}

.pricing-container {
    max-width: 1180px;
    margin: 0 auto;
}

.pricing-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #263746;
    margin-bottom: 30px;
}

.pricing-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e1e5e9;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 476px;
    font-family: inherit;
}

.pricing-table th,
.pricing-table td {
    padding: 17px 20px;
    text-align: center;
    border-right: 1px solid #e6e9ec;
    border-bottom: 1px solid #e6e9ec;
    vertical-align: middle;
}

.pricing-table th:last-child,
.pricing-table td:last-child {
    border-right: none;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table thead th {
    background: #d2d2d2;
    color: #273746;
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
}

.pricing-table tbody td {
    color: #687681;
    font-size: 20px;
}

.pricing-table tbody tr {
    transition: background 0.2s ease;
}

.pricing-table tbody tr:hover {
    background: #fafbfc;
}

.product-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    white-space: normal;
    font-weight: 500;
    color: #465560;
    justify-content: flex-start;
    padding-left: 16px;
}

.product-name-link {
    color: #273746;
    text-decoration: none;
    font-size: inherit;
    font-weight: 600;
    transition: color 0.2s ease;
}

.product-name-link:hover {
    color: #0064B8;
    text-decoration: underline;
}

.product-slogan {
    font-size: 13px;
    font-weight: 400;
    color: #8899a6;
    line-height: 1.4;
    margin-top: 2px;
}

/* Custom Checkbox */
.product-check {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #aab4bc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.product-check:hover {
    border-color: #55758d;
}

.product-check:checked {
    background: #344f63;
    border-color: #344f63;
    position: relative;
}

.product-check:checked::after {
    content: "✓";
    display: block;
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    font-weight: bold;
}

.product-check:focus-visible {
    outline: 2px solid #0064B8;
    outline-offset: 2px;
}

/* Price checkbox (next to each price) */
.price-check {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #aab4bc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.price-check:hover {
    border-color: #55758d;
}

.price-check:checked {
    background: #344f63;
    border-color: #344f63;
}

.price-check::after {
    content: "✓";
    display: block;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    font-weight: bold;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.price-check:checked::after {
    opacity: 1;
    transform: scale(1);
}

.price-check:focus-visible {
    outline: 2px solid #0064B8;
    outline-offset: 2px;
}

.price-check:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pricing-section .price-check {
    display: none;
}


.price-disabled .price-wrapper {
    opacity: 0.5;
}

.price-disabled .price-current,
.price-disabled .price-original,
.price-disabled .price-arrow,
.price-disabled .price-special {
    color: #aab4bc !important;
}

/* Price cell */
.price-cell {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.price-wrapper {
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.price-original {
    font-size: 14px;
    color: #aab4bc;
    text-decoration: line-through;
    font-weight: 400;
}

.price-arrow {
    font-size: 14px;
    color: #8899a6;
    font-weight: 500;
}

.price-current {
    font-size: 18px;
    font-weight: 600;
    color: #273746;
}

.price-special {
    font-size: 10px;
    color: #e74c3c;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Invoice / Summary Section */
.pricing-invoice {
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
    max-width: 500px;
    margin-right: auto;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.pricing-invoice.visible {
    opacity: 1;
    max-height: 500px;
    padding: 24px;
    margin-top: 24px;
}

.invoice-title {
    font-size: 20px;
    font-weight: 700;
    color: #273746;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e1e5e9;
}

.invoice-items {
    min-height: 60px;
    margin-bottom: 16px;
}

.invoice-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 15px;
    color: #465560;
}

.invoice-item:last-child {
    margin-bottom: 0;
}

.invoice-item-name {
    font-weight: 500;
}

.invoice-item-price {
    font-weight: 600;
    color: #273746;
}

.invoice-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: #58d6ca;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.btn-buy-invoice {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: #299713;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-buy-invoice:hover {
    background: #207a0f;
}

.btn-buy-invoice:focus-visible {
    outline: 2px solid #0064B8;
    outline-offset: 2px;
}

/* RESPONSIVE: Tablet (<= 1024px) */
@media (max-width: 1024px) {
    .pricing-section { padding: 40px 16px; }
    .pricing-title { font-size: 28px; }
    .pricing-table th,
    .pricing-table td { padding: 15px 16px; font-size: 13px; }
    .pricing-table thead th { font-size: 13px; }
    .product-cell { gap: 10px; }
    .pricing-invoice { padding: 20px; margin-top: 20px; }
    .invoice-title { font-size: 18px; }
    .invoice-item { font-size: 14px; padding: 8px 10px; }
    .invoice-total { font-size: 16px; padding: 12px 14px; }
    .btn-buy-invoice { padding: 12px 20px; font-size: 15px; }
}

/* RESPONSIVE: Mobile (<= 768px) - Card Layout */
@media (max-width: 768px) {
    .pricing-section { padding: 24px 12px; }
    .pricing-title { font-size: 22px; margin-bottom: 18px; }
    .pricing-container { padding: 0; }

    /* Hide table header on mobile */
    .pricing-table thead { display: none; }

    /* Convert table to card layout */
    .pricing-table-wrapper {
        overflow-x: visible;
        border: none;
        background: transparent;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0;
        margin: 0;
    }

    .pricing-table,
    .pricing-table tbody {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pricing-table tr {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #e1e5e9;
        border-radius: 12px;
        margin: 0 0 14px 0;
        padding: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
        overflow: hidden;
    }

    .pricing-table td {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 10px 0;
        border: none;
        border-bottom: 1px solid #f0f2f5;
        text-align: left;
        font-size: 14px;
        color: #465560;
    }

    .pricing-table td:last-child {
        border-bottom: none;
    }

    .pricing-table td::before {
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #8899a6;
        margin: 0 0 2px 0;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* Product cell - full width, prominent */
    .pricing-table td:first-child {
        padding: 0 0 14px 0;
        border-bottom: 2px solid #d2d2d2;
        margin-bottom: 6px;
    }

    .pricing-table td:first-child::before {
        display: none;
    }

    .product-cell {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 20px;
        font-weight: 600;
        color: #273746;
        white-space: normal;
        justify-content: flex-start;
        padding-left: 16px;
    }

    .product-check {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
        border-width: 2px;
    }

    .price-check {
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    /* Price cells - horizontal row: label left, checkbox+price right */
    .pricing-table td:nth-child(n+2)::before {
        content: attr(data-label);
        font-size: 11px;
        color: #8899a6;
        font-weight: 500;
        margin: 0;
        text-align: left;
        white-space: nowrap;
        flex-shrink: 0;
        padding-right: 12px;
    }

    .pricing-table td:nth-child(n+2) {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 10px 0;
    }

    .pricing-table td:nth-child(n+2) .price-cell {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: auto;
    }

    .pricing-table td:nth-child(n+2) .price-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: nowrap;
        width: auto;
    }

    .pricing-table td:nth-child(n+2) .price-original {
        font-size: 12px;
    }

    .pricing-table td:nth-child(n+2) .price-arrow {
        font-size: 12px;
    }

    .pricing-table td:nth-child(n+2) .price-current {
        font-size: 15px;
        font-weight: 500;
        color: #273746;
    }

    .pricing-table td:nth-child(n+2) .price-special {
        font-size: 10px;
    }

    .pricing-table td:nth-child(n+2) > *:last-child {
        font-size: 14px;
        font-weight: 500;
        color: #273746;
        width: 100%;
        text-align: left;
    }

    .pricing-invoice { padding: 16px; margin-top: 16px; }
    .invoice-title { font-size: 18px; margin-bottom: 12px; }
    .invoice-item { font-size: 14px; padding: 8px 10px; }
    .invoice-total { font-size: 16px; padding: 12px 14px; }
    .btn-buy-invoice { padding: 12px 20px; font-size: 15px; }
}

/* RESPONSIVE: Small Mobile (<= 480px) */
@media (max-width: 480px) {
    .pricing-section { padding: 20px 10px; }
    .pricing-title { font-size: 20px; margin-bottom: 14px; }
    .pricing-container { padding: 0; }

    .pricing-table-wrapper {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pricing-table,
    .pricing-table tbody {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pricing-table tr {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #e1e5e9;
        border-radius: 10px;
        margin: 0 0 12px 0;
        padding: 14px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
        overflow: hidden;
    }

    .pricing-table td {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 8px 0;
        border: none;
        border-bottom: 1px solid #f0f2f5;
        text-align: left;
        font-size: 13px;
        color: #465560;
    }

    .pricing-table td:last-child {
        border-bottom: none;
    }

    .pricing-table td::before {
        display: block;
        font-size: 11px;
        font-weight: 600;
        color: #8899a6;
        margin: 0 0 2px 0;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* Product cell - full width, left aligned */
    .pricing-table td:first-child {
        padding: 0 0 12px 0;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 4px;
    }

    .pricing-table td:first-child::before {
        display: none;
    }

    .product-cell {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 14px;
        font-weight: 600;
        color: #273746;
        white-space: normal;
        justify-content: flex-start;
        padding-left: 14px;
    }

    .product-check {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        border-width: 2px;
    }

    .price-check {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    /* Price cells - horizontal row: label left, checkbox+price right */
    .pricing-table td:nth-child(n+2)::before {
        content: attr(data-label);
        font-size: 10px;
        color: #8899a6;
        font-weight: 500;
        margin: 0;
        text-align: left;
        white-space: nowrap;
        flex-shrink: 0;
        padding-right: 10px;
    }

    .pricing-table td:nth-child(n+2) {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0;
    }

    .pricing-table td:nth-child(n+2) .price-cell {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: auto;
    }

    .pricing-table td:nth-child(n+2) .price-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: nowrap;
        width: auto;
    }

    .pricing-table td:nth-child(n+2) .price-original {
        font-size: 11px;
    }

    .pricing-table td:nth-child(n+2) .price-arrow {
        font-size: 11px;
    }

    .pricing-table td:nth-child(n+2) .price-current {
        font-size: 14px;
        font-weight: 500;
        color: #273746;
    }

    .pricing-table td:nth-child(n+2) .price-special {
        font-size: 10px;
    }

    .pricing-table td:nth-child(n+2) > *:last-child {
        font-size: 13px;
        font-weight: 500;
        color: #273746;
        width: 100%;
        text-align: left;
    }

    .pricing-invoice { padding: 14px; margin-top: 14px; }
    .invoice-title { font-size: 16px; margin-bottom: 10px; }
    .invoice-item { font-size: 13px; padding: 6px 8px; }
    .invoice-total { font-size: 15px; padding: 10px 12px; }
    .btn-buy-invoice { padding: 11px 18px; font-size: 14px; }
}

/* RESPONSIVE: iPhone 13 / 390px viewport */
@media (max-width: 390px) {
    .pricing-section { padding: 16px 8px; }
    .pricing-title { font-size: 18px; margin-bottom: 12px; }
    .pricing-container { padding: 0; }

    .pricing-table-wrapper {
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pricing-table,
    .pricing-table tbody {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pricing-table tr {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #e1e5e9;
        border-radius: 8px;
        margin: 0 0 10px 0;
        padding: 12px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.04);
        overflow: hidden;
    }

    .pricing-table td {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 8px 0;
        border: none;
        border-bottom: 1px solid #f0f2f5;
        text-align: left;
        font-size: 12px;
        color: #465560;
    }

    .pricing-table td:last-child {
        border-bottom: none;
    }

    .pricing-table td::before {
        display: block;
        font-size: 10px;
        font-weight: 600;
        color: #8899a6;
        margin: 0 0 2px 0;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* Product cell - full width, left aligned */
    .pricing-table td:first-child {
        padding: 0 0 12px 0;
        border-bottom: 2px solid #f0f2f5;
        margin-bottom: 4px;
    }

    .pricing-table td:first-child::before {
        display: none;
    }

    .product-cell {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        font-size: 13px;
        font-weight: 600;
        color: #273746;
        white-space: normal;
        justify-content: flex-start;
        padding-left: 12px;
    }

    .product-check {
        width: 24px;
        height: 24px;
        flex-shrink: 0;
        border-width: 2px;
    }

    .price-check {
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    /* Price cells - horizontal row: label left, checkbox+price right */
    .pricing-table td:nth-child(n+2)::before {
        content: attr(data-label);
        font-size: 10px;
        color: #8899a6;
        font-weight: 500;
        margin: 0;
        text-align: left;
        white-space: nowrap;
        flex-shrink: 0;
        padding-right: 8px;
    }

    .pricing-table td:nth-child(n+2) {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 6px 0;
    }

    .pricing-table td:nth-child(n+2) .price-cell {
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: auto;
    }

    .pricing-table td:nth-child(n+2) .price-wrapper {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: nowrap;
        width: auto;
    }

    .pricing-table td:nth-child(n+2) .price-original {
        font-size: 10px;
    }

    .pricing-table td:nth-child(n+2) .price-arrow {
        font-size: 10px;
    }

    .pricing-table td:nth-child(n+2) .price-current {
        font-size: 13px;
        font-weight: 500;
        color: #273746;
    }

    .pricing-table td:nth-child(n+2) .price-special {
        font-size: 10px;
    }

    .pricing-table td:nth-child(n+2) > *:last-child {
        font-size: 12px;
        font-weight: 500;
        color: #273746;
        width: 100%;
        text-align: left;
    }

    .pricing-invoice { padding: 12px; margin-top: 12px; }
    .invoice-title { font-size: 15px; margin-bottom: 8px; }
    .invoice-item { font-size: 12px; padding: 6px 8px; }
    .invoice-total { font-size: 14px; padding: 10px 12px; }
    .btn-buy-invoice { padding: 10px 16px; font-size: 13px; }
}

/* Accessibility */
@media (prefers-contrast: high) {
    .product-check { border-width: 3px; }
    .pricing-table th,
    .pricing-table td { border-color: #000; }
}
@media (prefers-reduced-motion: reduce) {
    .pricing-table tbody tr,
    .product-check { transition: none; }
    
}

/* Lazy Loading Styles - Manual (data-src) */
img.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #f5f5f5;
    min-height: 100px; /* Prevent layout shift */
}

img.lazy-loaded {
    opacity: 1;
}

img.lazy-error {
    opacity: 0.5;
    background-color: #ffeaea;
}

[data-bg-src] {
    background-image: none !important;
    min-height: 200px; /* Prevent layout shift for backgrounds */
}

[data-bg-src].bg-loaded {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

[data-bg-src].bg-error {
    background-color: #ffeaea;
}

/* Lazy Loading Styles - Automatic (global) */
img.lazy-auto {
    opacity: 0;
    transition: opacity 0.3s ease;
    background-color: #f5f5f5;
    min-height: 100px; /* Prevent layout shift */
}

img.lazy-auto.lazy-loaded {
    opacity: 1;
}

img.lazy-auto.lazy-error {
    opacity: 0.5;
    background-color: #ffeaea;
}

[data-bg-processed] {
    background-image: none !important;
    min-height: 200px; /* Prevent layout shift for backgrounds */
}

[data-bg-processed].bg-loaded {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

[data-bg-processed].bg-error {
    background-color: #ffeaea;
}

/* ==========================================
   BLOG PAGE - Compact Layout with Sidebar
   ========================================== */

/* Blog Layout Row */
.blog-layout-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Sticky Sidebar */
.blog-sidebar-wrapper {
    position: sticky;
    top: 120px; /* Account for fixed header */
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: 15px;
}

@media (max-width: 991px) {
    .blog-sidebar-wrapper {
        position: relative;
        top: auto;
        max-height: none;
        overflow-y: visible;
        padding-right: 0;
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .blog-sidebar-col {
        display: none;
    }
}

/* Category Widget */
.blog-category-widget {
    background: var(--tp-common-white);
    border: 1px solid var(--tp-border-2);
    border-radius: 8px;
    padding: 25px;
}

@media (max-width: 767px) {
    .blog-category-widget {
        display: none;
    }
}

.blog-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-category-list li {
    margin-bottom: 8px;
}

.blog-category-list li:last-child {
    margin-bottom: 0;
}

.blog-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--tp-common-white);
    border: 1px solid var(--tp-border-2);
    border-radius: 6px;
    color: var(--tp-heading-1);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-category-link:hover {
    background: var(--tp-grey-2);
    border-color: var(--tp-theme-1);
    color: var(--tp-theme-1);
}

.blog-category-link.active {
    background: #848484;
    border-color: var(--tp-theme-1);
    color: var(--tp-common-white);
}

.blog-category-link.active .cat-count {
    background: var(--tp-common-white);
    color: var(--tp-theme-1);
}

.cat-name {
    flex: 1;
    text-align: left;
    right: 70px !important;
}

.cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    background: var(--tp-grey-2);
    border-radius: 11px;
    font-size: 11px;
    font-weight: 600;
    color: var(--tp-text-body);
    transition: all 0.3s ease;
    margin-left: 12px;
}

.blog-category-link:hover .cat-count {
    background: var(--tp-theme-1);
    color: var(--tp-common-white);
}

.blog-category-link.active .cat-count {
    background: var(--tp-common-white);
    color: var(--tp-theme-1);
}

/* Sort Widget */
.blog-sort-widget {
    background: var(--tp-common-white);
    border: 1px solid var(--tp-border-2);
    border-radius: 8px;
    padding: 25px;
}

@media (max-width: 767px) {
    .blog-sort-widget {
        padding: 20px 15px;
    }
}

.blog-sort-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--tp-border-1);
    border-radius: 6px;
    font-size: 13px;
    font-family: var(--tp-ff-body);
    color: var(--tp-text-body);
    background: var(--tp-common-white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23878787' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    padding-right: 40px;
    transition: all 0.3s ease;
}

.blog-sort-select:hover {
    border-color: var(--tp-theme-1);
}

.blog-sort-select:focus {
    outline: none;
    border-color: var(--tp-theme-1);
    box-shadow: 0 0 0 3px rgba(23, 23, 23, 0.1);
}

/* Filter Info Bar */
.blog-filter-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--tp-grey-2);
    border: 1px solid var(--tp-border-2);
    border-radius: 8px;
    font-size: 14px;
    color: var(--tp-text-body);
}

.filter-label {
    font-weight: 500;
    color: var(--tp-heading-1);
}

.filter-category {
    color: var(--tp-theme-1);
    text-transform: capitalize;
}

.filter-clear {
    margin-left: auto;
    color: var(--tp-text-body);
    font-size: 13px;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.filter-clear:hover {
    color: var(--tp-theme-1);
}

/* Sort Bar - Top of Article Listing */
.blog-sort-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--tp-grey-2);
    border: 1px solid var(--tp-border-2);
    border-radius: 8px;
    font-size: 14px;
    color: var(--tp-text-body);
}

.sort-label {
    font-weight: 500;
    color: var(--tp-heading-1);
    white-space: nowrap;
}

.blog-sort-bar .blog-sort-select {
    width: auto;
    min-width: 200px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .blog-sort-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
    .blog-sort-bar .blog-sort-select {
        width: 100%;
        min-width: 0;
    }
}

/* Sticky Sort Bar */
.blog-sort-bar.sticky-sort {
    position: sticky;
    top: 120px;
    z-index: 100;
    background: #E5E5E5C9;
}

@media (max-width: 991px) {
    .blog-sort-bar.sticky-sort {
        position: relative;
        top: auto;
        z-index: auto;
    }
}

/* Filter Bar - Tag Filter + Sort */
.blog-filter-bar {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 12px 20px;
    background: var(--tp-grey-2);
    border: 1px solid var(--tp-border-2);
    border-radius: 8px;
    font-size: 14px;
    color: var(--tp-text-body);
    flex-wrap: wrap;
}

.blog-filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.blog-filter-group .sort-label {
    font-weight: 500;
    color: var(--tp-heading-1);
    white-space: nowrap;
    margin: 0;
}

.blog-filter-group .blog-sort-select {
    width: auto;
    min-width: 180px;
    flex-shrink: 0;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
}

@media (max-width: 767px) {
    .blog-filter-bar {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 16px;
        gap: 10px;
    }
    .blog-filter-group {
        width: 100%;
        justify-content: space-between;
    }
    .blog-filter-group .blog-sort-select {
        width: 100%;
        min-width: 0;
        flex: 1;
    }
    /* Ensure mobile category dropdown is first in visual order */
    .blog-filter-group--mobile-category {
        order: -1;
    }
    /* Ensure dropdown options are visible and clickable */
    .blog-filter-group--mobile-category .blog-sort-select {
        min-height: 44px;
        -webkit-appearance: menulist;
        appearance: menulist;
    }
}

/* Mobile Category Dropdown - hidden on desktop */
.blog-filter-group--mobile-category {
    display: none;
}

@media (max-width: 767px) {
    .blog-filter-group--mobile-category {
        display: flex;
        visibility: visible;
        opacity: 1;
    }
    .blog-filter-group--mobile-category .blog-sort-select {
        min-height: 44px;
        -webkit-appearance: menulist;
        appearance: menulist;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .blog-filter-group--mobile-category select option {
        display: block;
        visibility: visible;
    }
}

/* Filter Anchor for Category Click Scroll */
.blog-filter-anchor {
    scroll-margin-top: 120px; /* Account for sticky header */
}

/* Sticky Filter Bar */
.blog-filter-bar.sticky-sort {
    position: sticky;
    top: 120px;
    z-index: 50;
    background: #E5E5E5C9;
}

@media (max-width: 991px) {
    .blog-filter-bar.sticky-sort {
        position: relative;
        top: auto;
        z-index: auto;
    }
}

/* Filter Info Bar */
.blog-filter-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: var(--tp-grey-2);
    border: 1px solid var(--tp-border-2);
    border-radius: 8px;
    font-size: 14px;
    color: var(--tp-text-body);
}

.filter-label {
    font-weight: 500;
    color: var(--tp-heading-1);
}

.filter-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--tp-common-white);
    border: 1px solid var(--tp-border-2);
    border-radius: 20px;
    padding: 4px 12px 4px 8px;
}

.filter-category,
.filter-tag {
    font-weight: 500;
    color: var(--tp-heading-1);
    font-size: 13px;
}

.filter-clear,
.filter-clear-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tp-border-2);
    color: var(--tp-text-body);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.filter-clear:hover,
.filter-clear-all:hover {
    background: var(--tp-theme-1);
    color: var(--tp-common-white);
}

.filter-clear-all {
    width: auto;
    height: auto;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
    font-weight: 500;
}

/* Featured Article Card */
.blog-featured-card {
    background: var(--tp-common-white);
    border: 1px solid var(--tp-border-2);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.blog-featured-card__thumb {
    position: relative;
    overflow: hidden;
}

.blog-featured-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-featured-card:hover .blog-featured-card__thumb img {
    transform: scale(1.03);
}

.blog-featured-card__category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    background: var(--tp-theme-1);
    color: var(--tp-common-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    font-family: var(--tp-ff-heading);
    z-index: 2;
}

.blog-featured-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--tp-common-white);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    font-family: var(--tp-ff-heading);
    z-index: 2;
}

.blog-featured-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 200px;
    overflow: hidden;
}

.blog-featured-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--tp-ff-heading);
    color: var(--tp-text-body);
}

.blog-featured-card__label {
    color: var(--tp-theme-1);
    font-weight: 600;
}

.blog-featured-card__meta .meta-separator {
    color: var(--tp-grey-4);
}

.blog-featured-card__date {
    color: var(--tp-text-body);
}

.blog-featured-card__title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--tp-heading-1);
    font-family: var(--tp-ff-heading);
    max-width: 345px;
    display: inline-block;
}

.blog-featured-card__title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(var(--tp-theme-1), var(--tp-theme-1)), linear-gradient(var(--tp-theme-1), var(--tp-theme-1));
    display: inline-block;
    background-size: 0% 2px, 0 2px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s linear;
    max-width: 100%;
}

.blog-featured-card__title a:hover {
    color: var(--tp-theme-1);
    background-size: 0 2px, 100% 2px;
}

.blog-featured-card__excerpt {
    font-size: 14px;
    line-height: 1.5;
    color: var(--tp-text-body);
    margin-bottom: 16px;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.blog-featured-card__link {
    align-self: flex-start;
}

@media (max-width: 1199px) {
    .blog-featured-card {
        min-height: 380px;
    }
    .blog-featured-card__content {
        padding: 20px;
        max-height: 200px;
    }
    .blog-featured-card__title {
        font-size: 24px;
    }
    .blog-featured-card__excerpt {
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .blog-featured-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .blog-featured-card__thumb {
        aspect-ratio: 16 / 9;
    }
    .blog-featured-card__content {
        padding: 20px;
        max-height: 200px;
    }
    .blog-featured-card__title {
        font-size: 22px;
    }
    .blog-featured-card__excerpt {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .blog-featured-card {
        border-radius: 12px;
    }
    .blog-featured-card__content {
        padding: 20px;
        max-height: 200px;
    }
    .blog-featured-card__title {
        font-size: 20px;
    }
    .blog-featured-card__excerpt {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .blog-featured-card__meta {
        margin-bottom: 6px;
        font-size: 10px;
    }
    .blog-featured-card__category,
    .blog-featured-card__badge {
        top: 12px;
        padding: 4px 10px;
        font-size: 10px;
    }
    .blog-featured-card__badge {
        right: 12px;
    }
}

/* Hero Card (Latest Post Banner) */
.blog-hero-card {
    display: flex;
    flex-direction: row;
    width: 1300px;
    margin: 0 auto 30px;
    height: 200px;
    background: var(--tp-common-white);
    border: 1px solid var(--tp-border-2);
    border-radius: 16px;
    overflow: hidden;
}

.blog-hero-card .blog-card__thumb {
    position: relative;
    width: 50%;
    min-width: 350px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-hero-card .blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-hero-card:hover .blog-card__thumb img {
    transform: scale(1.05);
}

.blog-hero-card .blog-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--tp-theme-1);
    color: var(--tp-common-white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.blog-hero-card .blog-card__content {
    width: 50%;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-hero-card .blog-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 12px;
}

.blog-hero-card .blog-card__title a {
    color: var(--tp-heading-1);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-hero-card .blog-card__title a:hover {
    color: var(--tp-theme-1);
}

.blog-hero-card .blog-card__link {
    align-self: flex-start;
}

@media (max-width: 1399px) {
    .blog-hero-card {
        width: 100%;
        max-width: 1300px;
    }
}

@media (max-width: 991px) {
    .blog-hero-card {
        flex-direction: column;
        height: auto;
        min-height: 280px;
        margin-bottom: 24px;
        width: 100%;
    }
    .blog-hero-card .blog-card__thumb {
        width: 100%;
        min-width: 0;
        aspect-ratio: 16 / 9;
    }
    .blog-hero-card .blog-card__content {
        width: 100%;
        padding: 20px 24px;
    }
    .blog-hero-card .blog-card__title {
        font-size: 22px;
        margin-bottom: 14px;
    }
}

@media (max-width: 767px) {
    .blog-hero-card {
        border-radius: 12px;
        min-height: 260px;
        margin-bottom: 20px;
    }
    .blog-hero-card .blog-card__thumb {
        aspect-ratio: 16 / 9;
    }
    .blog-hero-card .blog-card__content {
        padding: 16px 20px;
    }
    .blog-hero-card .blog-card__title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    .blog-hero-card .blog-card__category {
        top: 12px;
        left: 12px;
        padding: 5px 12px;
        font-size: 11px;
    }
}

/* Articles Grid */
.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

/* Smooth filter/sort transitions */
.blog-articles-grid.filtering {
    opacity: 0.4;
    pointer-events: none;
}

.blog-card.is-filtered-out {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.blog-card.is-filtered-in {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
}

.blog-card.is-filtered-in.animate-in {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (max-width: 1399px) {
    .blog-articles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .blog-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .blog-articles-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Blog Card - Compact */
.blog-card {
    background: var(--tp-common-white);
    border: 1px solid var(--tp-border-2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--tp-border-1);
}

.blog-card__thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 15 / 10;
}

.blog-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card__thumb img {
    transform: scale(1.05);
}

.blog-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: #5F5F5FE5;
    color: var(--tp-common-white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    font-family: var(--tp-ff-heading);
}

.blog-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--tp-ff-heading);
    color: var(--tp-text-body);
}

.blog-card__label {
    color: var(--tp-theme-1);
    font-weight: 600;
}

.meta-separator {
    color: var(--tp-grey-4);
}

.blog-card__date {
    color: var(--tp-text-body);
}

.blog-card__title {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--tp-heading-1);
    font-family: var(--tp-ff-heading);
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(var(--tp-theme-1), var(--tp-theme-1)), linear-gradient(var(--tp-theme-1), var(--tp-theme-1));
    display: inline;
    background-size: 0% 1px, 0 1px;
    background-position: 100% 100%, 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s linear;
}

.blog-card__title a:hover {
    color: var(--tp-theme-1);
    background-size: 0 1px, 100% 1px;
}

.blog-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tp-text-body);
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    align-self: flex-start;
    margin-top: auto;
}

/* No Articles State */
.blog-no-articles {
    grid-column: 1 / -1;
    padding: 60px 20px;
}

.blog-no-articles p {
    margin-bottom: 20px;
    color: var(--tp-text-body);
    font-size: 16px;
}

/* Responsive adjustments for sidebar on tablet */
@media (min-width: 992px) and (max-width: 1199px) {
    .blog-sidebar-wrapper {
        padding-right: 10px;
    }
    .blog-category-widget,
    .blog-sort-widget {
        padding: 20px;
    }
}

/* Print styles for blog cards */
@media print {
    .blog-sidebar-wrapper {
        display: none;
    }
    .blog-articles-grid {
        display: block;
    }
    .blog-card {
        break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 20px;
    }
    .blog-card__thumb {
        display: none;
    }
}

/* Focus visible for accessibility */
.blog-category-link:focus-visible,
.blog-sort-select:focus-visible,
.blog-card__title a:focus-visible,
.blog-card__link:focus-visible {
    outline: 2px solid var(--tp-theme-1);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .blog-card,
    .blog-card__thumb img,
    .blog-category-link,
    .blog-card__title a {
        transition: none;
    }
    .blog-card:hover {
        transform: none;
    }
    .blog-card:hover .blog-card__thumb img {
        transform: none;
    }
    .blog-category-link:hover {
        transform: none;
    }
}
