/*-------------------------- 



	Blog Style



--------------------------*/
.blog-wrapper {
}
/* Products index: uniform responsive cards, independent of source image size. */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.products-grid::before,
.products-grid::after {
    display: none;
    content: none;
}
.products-grid > .blog-item {
    float: none;
    width: auto;
}
.products-grid > .blog-item .image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.products-grid > .blog-item .product-progressive-image-container {
    isolation: isolate;
    background-color: #ffffff;
}
.products-grid > .blog-item .product-progressive-image-container.has-transparent-image {
    background-color: #ffffff;
}
.products-grid > .blog-item .image img {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}
.products-grid > .blog-item .has-transparent-image img {
    left: 6%;
    top: 6%;
    right: auto;
    bottom: auto;
    width: 88%;
    height: 88%;
    object-position: center 45%;
}

/* Products index: detail-style decoration, shown only behind transparent images. */
.products-grid-card-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    visibility: hidden;
    pointer-events: none;
}
.products-grid > .blog-item .has-transparent-image .products-grid-card-pattern {
    visibility: visible;
}
.products-grid-card-pattern::before,
.products-grid-card-pattern::after {
    position: absolute;
    inset: 0;
    z-index: 0;
    content: "";
    pointer-events: none;
}
.products-grid-card-pattern::before {
    background:
        radial-gradient(circle at 84% 20%, rgba(255, 0, 0, .12), transparent 24%),
        radial-gradient(circle at 14% 84%, rgba(122, 0, 0, .08), transparent 28%);
}
.products-grid-card-pattern::after {
    background: radial-gradient(circle, rgba(255, 0, 0, .10) 1px, transparent 1.4px);
    background-size: 22px 22px;
    opacity: .085;
}
.products-grid-card-band,
.products-grid-card-strip {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    transform-origin: center;
}
.products-grid-card-band {
    left: -6%;
    top: 32%;
    width: 116%;
    height: 30%;
    background: linear-gradient(
        90deg,
        rgba(90, 90, 90, .035),
        rgba(90, 90, 90, .24),
        rgba(90, 90, 90, .04)
    );
    transform: rotate(-6deg);
}
.products-grid-card-strip-black {
    background: rgba(0, 0, 0, .86);
}
.products-grid-card-strip-red {
    background: rgba(255, 0, 0, .74);
}
.products-grid-card-top-black {
    left: 5%;
    top: 15%;
    width: 50%;
    height: 3px;
    transform: rotate(-6deg);
}
.products-grid-card-top-red {
    left: 5%;
    top: 19%;
    width: 50%;
    height: 8px;
    transform: rotate(-6deg);
}
.products-grid-card-bottom-black {
    right: 5%;
    top: 72%;
    width: 50%;
    height: 3px;
    transform: rotate(-6deg);
}
.products-grid-card-bottom-red {
    right: 5%;
    top: 76%;
    width: 50%;
    height: 8px;
    transform: rotate(-6deg);
}
.products-grid-card-accent {
    position: absolute;
    z-index: 1;
    width: 38%;
    height: 9%;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 0, .13));
    pointer-events: none;
    transform: rotate(-6deg);
}
.products-grid-card-accent-left {
    left: -8%;
    top: 49%;
}
.products-grid-card-accent-right {
    right: -8%;
    top: 36%;
    transform: rotate(-6deg) scaleX(-1);
}

@media (max-width: 520px) {
    .products-grid-card-top-black,
    .products-grid-card-bottom-black {
        height: 2px;
    }
    .products-grid-card-top-red,
    .products-grid-card-bottom-red {
        height: 6px;
    }
}
.products-grid > .blog-item .image::before {
    z-index: 4;
}
.products-grid > .blog-item .image::after {
    z-index: 5;
}
.products-grid > .blog-item .image i {
    z-index: 6;
}

/* Products index: progressive skeleton loading, matching Blog/Tech behaviour. */
.products-grid > .blog-item .product-progressive-image-container.is-image-pending {
    background-image: linear-gradient(
        100deg,
        #eeeeee 20%,
        #f8f8f8 40%,
        #eeeeee 60%
    );
    background-position: 100% 0;
    background-size: 220% 100%;
    animation: products-skeleton-shimmer 1.25s ease-in-out infinite;
}
.products-grid > .blog-item .product-progressive-image {
    opacity: 0;
    transition: opacity 0.38s ease;
}
.products-grid > .blog-item .product-progressive-image.is-loaded {
    opacity: 1;
}
.products-grid > .blog-item .product-progressive-image-container.is-image-loaded {
    animation: none;
    background-image: none;
}
.products-grid > .blog-item .product-progressive-image-container.is-image-error {
    animation: none;
    background-image: none;
    background-color: #e7e7e7;
}
.products-grid > .blog-item .product-progressive-image-container.is-image-pending::before,
.products-grid > .blog-item .product-progressive-image-container.is-image-pending::after,
.products-grid > .blog-item .product-progressive-image-container.is-image-pending i {
    opacity: 0 !important;
}
@keyframes products-skeleton-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -120% 0;
    }
}
.products-grid > .blog-item .title {
    height: 54px;
    overflow: hidden;
}
.products-grid-name {
    display: -webkit-box;
    height: 36px;
    overflow: hidden;
    line-height: 18px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.products-grid-category {
    display: block;
    height: 18px;
    overflow: hidden;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.products-grid > .alert {
    grid-column: 1 / -1;
}
@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
/* Blog Items */
.blog-item {
    margin-bottom: 27px;
}
/* Blog Item Image */
.blog-item .image {
    display: block;
    position: relative;
}
.blog-item:hover .image {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.2);
}
.blog-item .image::before {
    background-color: #dec839;
    bottom: 0;
    content: "";
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.blog-item .image::after {
    border: 1px solid #fff;
    bottom: 22px;
    content: "";
    left: 22px;
    opacity: 0;
    position: absolute;
    right: 22px;
    top: 22px;
}
.blog-item:hover .image::before {
    opacity: 0.8;
}
.blog-item:hover .image::after {
    opacity: 1;
}
.blog-item .image img {
    width: 100%;
}
.blog-item .image i {
    color: #fff;
    display: block;
    font-size: 24px;
    height: 50px;
    left: 50%;
    line-height: 50px;
    margin-left: -25px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    transition: all 0.3s ease 0s;
    width: 50px;
    z-index: 9;
}
.blog-item:hover .image i {
    margin-top: -25px;
    opacity: 1;
}
/* Blog Item Meta */
.blog-item .meta {
    margin: 10px 0;
}
.blog-item .meta p {
    color: #444444;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.blog-item .meta p a {
    color: inherit;
    display: block;
    float: left;
    font-size: inherit;
    margin-right: 15px;
}
.blog-item .meta p a:last-child {
    margin-right: 0;
}
.blog-item .meta p a i {
    color: #aaaaaa;
    display: block;
    float: left;
    font-size: 14px;
    line-height: 18px;
    margin-right: 6px;
}
.blog-item .meta p a:hover, .blog-item .meta p a:hover i {
    color: #dec839;
}
/* Blog Item Title */
.blog-item .title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
}
.blog-item .title a {
    color: #222222;
    display: block;
    font-size: inherit;
}
.blog-item .title a:hover {
    color: #dec839;
}
/* Blog Item Description */
.blog-item .description {
}
.blog-item .description p {
}
/* Single Blog */
.single-blog {
}
/* Single Blog Image */
.blog-image {
    margin-bottom: 47px;
}
.blog-image img {
    width: 100%;
}
/* Single Blog Title */
.blog-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}
/* Single Blog Meta */
.blog-meta {
    margin-bottom: 30px;
}
.blog-meta p {
    color: #444444;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
.blog-meta p a {
    color: inherit;
    display: block;
    float: left;
    font-size: inherit;
    margin-right: 15px;
}
.blog-meta p a:last-child {
    margin-right: 0;
}
.blog-meta p a i {
    color: #dec839;
    display: block;
    float: left;
    font-size: 14px;
    line-height: 18px;
    margin-right: 6px;
}
.blog-meta p a:hover, .blog-meta p a:hover i {
    color: #dec839;
}


/* Single Blog Description */
.blog-description {
}
.blog-description p {
    margin-bottom: 25px;
}
.blog-description blockquote {
    margin-left: 47px;
}

/* Blog detail: restore rich-text unordered lists */
.blog-description ul {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 2em;
}
/* Single Blog Tags & Share */
.blog-tag-share {
    border-bottom: 1px solid #dec839;
    margin-top: 40px;
    padding-bottom: 13px;
}
/* Single Blog Tags */
.blog-tags {
}
.blog-tags p {
    color: #222222;
    float: left;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 30px;
    text-transform: uppercase;
}
.blog-tags a {
    color: #333333;
    display: block;
    float: left;
    font-size: 12px;
    position: relative;
    text-transform: capitalize;
}
.blog-tags a + a {
    margin-left: 13px;
}
.blog-tags a::before {
    color: #333333;
    content: "/";
    position: absolute;
    right: -10px;
    top: 1px;
}
.blog-tags a:last-child::before {
    content: "";
}
.blog-tags a:hover {
    color: #dec839;
}
/* Single Blog Share */
.blog-share {
}
.blog-share p {
    color: #222222;
    float: left;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 0;
    margin-right: 30px;
    text-transform: uppercase;
}
.blog-share a {
    color: #aaaaaa;
    display: block;
    float: left;
}
.blog-share a + a {
    margin-left: 23px;
}
.blog-share a i {
    display: block;
    font-size: 14px;
    line-height: 24px;
}
.blog-share a:hover {
    color: #dec839;
}
/* Comments */
.comments-wrapper {
}
.comments-list {
}
.comments-list li {
}
.comments-list li + li {
    margin-top: 50px;
}
.comments-list li ul {
    margin-left: 100px;
}
.comments-list li ul li {
    margin-top: 50px;
}
/* Single Comment */
.single-comment {
}
.single-comment .avatar {
    margin-right: 30px;
    width: 100px;
}
.single-comment .avatar img {
    width: 100%;
}
.single-comment .content {
}
.single-comment .content h5 {
    font-size: 13px;
    font-weight: 700;
    line-height: 11px;
    margin-bottom: 2px;
}
.single-comment .content span {
    display: block;
    font-size: 12px;
    /*font-style: italic;*/
    margin-bottom: 10px;
}
.single-comment .content p {
}
.single-comment .content a {
}
.single-comment .content a i {
    color: #dec839;
    display: block;
    float: left;
    line-height: 24px;
    margin-right: 9px;
}
.single-comment .content a:hover {
    color: #dec839;
}
/* Sidebar Style */
.sidebar {
}
.single-sidebar {
    margin-bottom: 50px;
}
.single-sidebar:last-child {
    margin-bottom: 0;
}
.sidebar-title {
    border-left: 5px solid #dec839;
    font-size: 12px;
    font-weight: 700;
    line-height: 15px;
    margin-bottom: 20px;
    padding-left: 15px;
    text-transform: uppercase;
}
.single-sidebar > div {
    padding-left: 20px;
}
/* About Sidebar */
.about-sidebar {
}
.about-sidebar p {
}
/* Category Sidebar */
.category-sidebar {
}
.category-sidebar ul {
}
.category-sidebar ul li {
    border-bottom: 1px solid #f5f5f5;
    display: block;
    margin-bottom: 5px;
}
.category-sidebar ul li:last-child {
    margin-bottom: 0;
}
.category-sidebar ul li a {
    color: #333333;
    display: block;
    line-height: 24px;
    padding: 5px 0;
}
.category-sidebar ul li a:hover {
    color: #dec839;
}
/* Latest Blog Sidebar */
.latest-blog-sidebar {
}
.latest-blog-sidebar .sin-blog {
    margin-bottom: 30px;
}
.latest-blog-sidebar .sin-blog:last-child {
    margin-bottom: 0;
}
.latest-blog-sidebar .sin-blog .image {
    display: block;
    margin-right: 30px;
    width: 100px;
    position: relative;
}
.latest-blog-sidebar .sin-blog .image::before {
    color: #fff;
    content: "\f04e";
    display: block;
    font-family: "IcoFont";
    font-size: 18px;
    left: 50%;
    line-height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    width: 30px;
    z-index: 2;
}
.latest-blog-sidebar .sin-blog .image::after {
    background-color: #dec839;
    bottom: 0;
    content: "";
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.latest-blog-sidebar .sin-blog:hover .image::before {
    opacity: 1;
}
.latest-blog-sidebar .sin-blog:hover .image::after {
    opacity: 0.8;
}
.latest-blog-sidebar .sin-blog .image img {
    width: 100%;
}
.latest-blog-sidebar .sin-blog .content {
    padding-top: 5px;
}
.latest-blog-sidebar .sin-blog .content a {
    display: block;
    margin-bottom: 7px;
}
.latest-blog-sidebar .sin-blog .content a:hover {
    color: #dec839;
}
.latest-blog-sidebar .sin-blog .content p {
    font-size: 12px;
}
.latest-blog-sidebar .sin-blog .content p i {
    display: block;
    float: left;
    line-height: 24px;
    margin-right: 10px;
}
/* Tags Sidebar */
.tags-sidebar {
}
.tags-sidebar a {
    border: 1px solid #f5f5f5;
    display: block;
    float: left;
    line-height: 24px;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 3px 24px;
}
.tags-sidebar a:hover {
    border-color: #dec839;
    color: #dec839;
}


/*------------------------------------------------*/
/* BLOG INDEX REDESIGN */
.blog-index-area .container {
    width: min(1280px, calc(100% - 56px));
    max-width: none;
}
.blog-index-window {
    margin: 0 auto;
}
.blog-index-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 445px;
    background: #F1F1F1;
    border-bottom: 2px solid #252525;
}
.blog-index-featured-image,
.blog-index-card-image {
    position: relative;
    overflow: hidden;
    background: #f1f1f1;
}
.blog-index-featured-image {
    min-height: 445px;
    height: 100%;
    border-right: 2px solid #252525;
}
.blog-index-featured-image img,
.blog-index-card-image img {
    display: block !important;
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
}
.blog-index-featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(42px, 6vw, 82px);
    background: #F1F1F1;
}
.blog-index-kicker {
    display: block;
    margin-bottom: 14px;
    color: #ff0000;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-transform: uppercase;
}
.blog-index-featured-title {
    display: -webkit-box;
    max-width: 620px;
    margin: 0 0 28px;
    overflow: hidden;
    color: #222222;
    font-size: clamp(29px, calc(4.2vw + 1px), 55px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-transform: none;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.blog-index-read-more {
    display: inline-block;
    width: fit-content;
    border: 2px solid #222222;
    border-radius: 10px;
    padding: 12px 22px;
    background: transparent;
    color: #222222;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}
.blog-index-read-more:hover {
    background: #222222;
    color: #ffffff;
}
.blog-index-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 38px 22px;
    padding: 38px 0 0;
}
.blog-index-card {
    min-width: 0;
}
.blog-index-card-image {
    display: block;
    aspect-ratio: 1 / .95;
    margin-bottom: 12px;
    border: 1px solid #ddd6d0;
}
.blog-index-card-image::before {
    background-color: #ff0000;
    bottom: 0;
    content: "";
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
}
.blog-index-card-image::after {
    border: 1px solid #ffffff;
    bottom: 22px;
    content: "";
    left: 22px;
    opacity: 0;
    position: absolute;
    right: 22px;
    top: 22px;
    z-index: 2;
}
.blog-index-card-image i {
    color: #ffffff;
    display: block;
    font-size: 24px;
    height: 50px;
    left: 50%;
    line-height: 50px;
    margin-left: -25px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 50%;
    transition: all 0.3s ease 0s;
    width: 50px;
    z-index: 3;
}
.blog-index-date {
    margin: 0 0 10px;
    color: #444444;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    text-transform: uppercase;
}
.blog-index-card-title {
    display: block;
    margin: 0;
    overflow: hidden;
    color: #222222;
    font-size: clamp(15px, 1.45vw, 18px);
    font-weight: 700;
    letter-spacing: -0.014em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}
.blog-index-card-title a {
    display: block;
    overflow: hidden;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.blog-index-card-title a:hover {
    color: #ff0000;
}

.blog-index-grid.is-first-content {
    padding-top: 0;
}
.blog-index-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 42px;
}
.blog-index-pagination-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow-x: auto;
}
.blog-index-pagination-control,
.blog-index-pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    margin-left: -1px;
    border: 1px solid #d6dce1;
    border-radius: 0;
    background: #ffffff;
    color: #4d5962;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}
.blog-index-pagination-links > :first-child {
    margin-left: 0;
}
.blog-index-pagination-control {
    font-size: 18px;
}
.blog-index-pagination-control:hover,
.blog-index-pagination-page:hover {
    position: relative;
    border-color: #b9c0c6;
    background: #f3f5f6;
    color: #252525;
    z-index: 1;
}
.blog-index-pagination-page.is-current {
    position: relative;
    border-color: #ff0000;
    background: #ff0000;
    color: #ffffff;
    font-weight: 700;
    z-index: 2;
}
.blog-index-pagination-control.is-disabled {
    background: #ffffff;
    color: #b8bec3;
    cursor: default;
}
.blog-index-pagination-status {
    display: inline-block;
    border-radius: 4px;
    padding: 6px 10px;
    background: #dce3e8;
    color: #55616a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
}
@media (min-width: 768px) {
    .blog-index-card:hover .blog-index-card-image {
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.2);
    }
    .blog-index-card:hover .blog-index-card-image::before {
        background-color: #ff0000;
        opacity: 0.8;
    }
    .blog-index-card:hover .blog-index-card-image::after {
        opacity: 1;
    }
    .blog-index-card:hover .blog-index-card-image i {
        margin-top: -25px;
        opacity: 1;
    }
}
@media (max-width: 1040px) {
    .blog-index-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .blog-area.blog-index-area {
        padding-top: 32px !important;
    }
    .blog-index-area .container {
        width: min(1280px, calc(100% - 28px));
    }
    .blog-index-window {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }
    .blog-index-featured {
        grid-template-columns: 1fr;
        min-height: 0;
        overflow: hidden;
        border: 2px solid #252525;
        border-radius: 24px;
        background: #F1F1F1;
    }
    .blog-index-featured-image {
        min-height: 0;
        height: auto;
        aspect-ratio: 16 / 10;
        border-right: 0;
        border-bottom: 2px solid #252525;
    }
    .blog-index-featured-content {
        padding: 34px 24px 38px;
    }
    .blog-index-featured-title {
        max-width: 100%;
        font-size: 35px;
    }
    .blog-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 13px;
        padding: 20px 0 28px;
    }
    .blog-index-grid.is-first-content {
        padding-top: 0;
    }
    .blog-index-pagination {
        padding-top: 12px;
    }
    .blog-index-pagination-control,
    .blog-index-pagination-page {
        min-width: 30px;
        height: 34px;
        font-size: 13px;
    }
    .blog-index-pagination-control {
        font-size: 16px;
    }
    .blog-index-card-image::before,
    .blog-index-card-image::after,
    .blog-index-card-image i {
        display: none;
    }
    .blog-index-card-title {
        font-size: 18px;
    }
}
/*------------------------------------------------*/

/* Blog index AJAX pagination state */
.blog-index-dynamic-content {
    transition: opacity 0.16s ease;
}
.blog-index-dynamic-content.is-loading {
    cursor: progress;
    opacity: 0.58;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .blog-index-dynamic-content {
        transition: none;
    }
}

/* Blog index progressive image loading */
@keyframes blog-index-image-skeleton {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}
.blog-index-featured-image.is-image-pending,
.blog-index-card-image.is-image-pending {
    background-color: #ececec;
    background-image: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.62) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    background-repeat: no-repeat;
    background-size: 220% 100%;
    animation: blog-index-image-skeleton 1.15s ease-in-out infinite;
}
.blog-index-featured-image.is-image-loaded,
.blog-index-card-image.is-image-loaded,
.blog-index-featured-image.is-image-error,
.blog-index-card-image.is-image-error {
    background-image: none;
    animation: none;
}
.blog-index-featured-image img.blog-progressive-image,
.blog-index-card-image img.blog-progressive-image {
    opacity: 0;
    transition: opacity 0.28s ease;
    will-change: opacity;
}
.blog-index-featured-image img.blog-progressive-image.is-loaded,
.blog-index-card-image img.blog-progressive-image.is-loaded {
    opacity: 1;
}
.blog-index-featured-image img.blog-progressive-image.is-error,
.blog-index-card-image img.blog-progressive-image.is-error {
    opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
    .blog-index-featured-image.is-image-pending,
    .blog-index-card-image.is-image-pending {
        animation: none;
    }
    .blog-index-featured-image img.blog-progressive-image,
    .blog-index-card-image img.blog-progressive-image {
        transition: none;
    }
}
/* ================================================================
   TECH INDEX — STANDALONE CARDS
   Replace the previous TECH INDEX block in blog.css with this block.
   ================================================================ */

.blog-area.tech-index-area {
    background: #ffffff;
}

.tech-index-area .container {
    width: min(1540px, calc(100% - 56px));
    max-width: none;
}

.tech-index-window {
    width: 100%;
    margin: 0 auto;
}

/* Cards fill rows naturally: 3 + remainder on desktop. */
.tech-index-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 26px;
    width: 100%;
    margin: 0 auto;
}

.tech-index-card,
.tech-index-card.is-row-end,
.tech-index-card.is-last-row,
.tech-index-card.is-two-card-row,
.tech-index-card.is-single-card-row {
    display: flex;
    flex: 0 0 calc((100% - 52px) / 3);
    flex-direction: column;
    gap: 28px;
    min-width: 0;
    min-height: 560px;
    padding: 34px 32px 30px;
    overflow: hidden;
    border: 1px solid rgba(45, 40, 37, 0.58);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(45, 40, 37, 0.055);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.tech-index-card:hover {
    border-color: rgba(45, 40, 37, 0.82);
    box-shadow: 0 16px 34px rgba(45, 40, 37, 0.13);
}

.tech-index-card-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 7px;
    background: #f1f1f1;
    transition: box-shadow 0.3s ease;
}

.tech-index-card-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Same red image-hover language used by the existing Blog/Offerte cards. */
.tech-index-card-image::before {
    position: absolute;
    inset: 0;
    content: "";
    background: #ff0000;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tech-index-category {
    position: absolute;
    left: 18px;
    bottom: 16px;
    max-width: calc(100% - 36px);
    overflow: hidden;
    padding: 6px 10px;
    border-left: 4px solid #ff0000;
    background: rgba(255, 255, 255, 0.92);
    color: #222222;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 3;
}

.tech-index-image-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 50px;
    height: 50px;
    color: #ffffff;
    font-size: 24px;
    line-height: 50px;
    opacity: 0;
    text-align: center;
    transform: translate(-50%, -30%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

@media (hover: hover) and (pointer: fine) {
    .tech-index-card-image:hover {
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.2);
    }

    .tech-index-card-image:hover::before {
        opacity: 0.8;
    }

    .tech-index-card-image:hover .tech-index-image-icon {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.tech-index-card-title {
    display: -webkit-box;
    height: 2.16em;
    margin: 0;
    overflow: hidden;
    color: #222222;
    font-family: inherit;
    font-size: clamp(30px, 3.15vw, 52px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-transform: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tech-index-card-title a {
    color: inherit;
}

.tech-index-card-title a:hover {
    color: #ff0000;
}

.tech-index-summary {
    display: -webkit-box;
    max-width: 90%;
    height: 3.1em;
    margin: 0;
    overflow: hidden;
    color: #555555;
    font-size: 16px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.tech-index-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    color: #252525;
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 700;
}

.tech-index-footer time {
    white-space: nowrap;
}

.tech-index-arrow {
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: auto;
    background: rgba(37, 37, 37, 0.09);
    color: #252525;
    font-size: 18px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tech-index-arrow:hover {
    transform: translate(2px, -2px);
    background: #ff0000;
    color: #ffffff;
}

/* Tech AJAX pagination state */
.tech-index-dynamic-content {
    transition: opacity 0.16s ease;
}

.tech-index-dynamic-content.is-loading {
    cursor: progress;
    opacity: 0.58;
    pointer-events: none;
}

/* Tech pagination controls */
.tech-index-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding-top: 42px;
}

.tech-index-pagination-links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    overflow-x: auto;
}

.tech-index-pagination-control,
.tech-index-pagination-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 36px;
    margin-left: -1px;
    border: 1px solid #d6dce1;
    background: #ffffff;
    color: #4d5962;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}

.tech-index-pagination-links > :first-child {
    margin-left: 0;
}

.tech-index-pagination-control {
    font-size: 18px;
}

.tech-index-pagination-control:hover,
.tech-index-pagination-page:hover {
    position: relative;
    border-color: #b9c0c6;
    background: #f3f5f6;
    color: #252525;
    z-index: 1;
}

.tech-index-pagination-page.is-current {
    position: relative;
    border-color: #ff0000;
    background: #ff0000;
    color: #ffffff;
    font-weight: 700;
    z-index: 2;
}

.tech-index-pagination-control.is-disabled {
    background: #ffffff;
    color: #b8bec3;
    cursor: default;
}

.tech-index-pagination-status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 4px;
    background: #dce3e8;
    color: #55616a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

/* Tech progressive images */
@keyframes tech-index-image-skeleton {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.tech-index-card-image.is-image-pending {
    background-color: #ececec;
    background-image: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.62) 50%,
        rgba(255, 255, 255, 0) 80%
    );
    background-repeat: no-repeat;
    background-size: 220% 100%;
    animation: tech-index-image-skeleton 1.15s ease-in-out infinite;
}

.tech-index-card-image.is-image-loaded,
.tech-index-card-image.is-image-error {
    background-image: none;
    animation: none;
}

.tech-index-card-image img.tech-progressive-image {
    opacity: 0;
    transition: opacity 0.28s ease;
    will-change: opacity;
}

.tech-index-card-image img.tech-progressive-image.is-loaded {
    opacity: 1;
}

.tech-index-card-image img.tech-progressive-image.is-error {
    opacity: 0;
}

@media (max-width: 1040px) {
    .tech-index-grid {
        gap: 22px;
    }

    .tech-index-card,
    .tech-index-card.is-row-end,
    .tech-index-card.is-last-row,
    .tech-index-card.is-two-card-row,
    .tech-index-card.is-single-card-row {
        flex-basis: calc((100% - 22px) / 2);
        padding: 32px 28px 28px;
    }

    .tech-index-card-title {
        font-size: clamp(27px, 5vw, 42px);
    }
}

@media (max-width: 760px) {
    .blog-area.tech-index-area {
        padding-top: 32px !important;
    }

    .tech-index-area .container {
        width: min(1540px, calc(100% - 28px));
    }

    .tech-index-grid {
        gap: 18px;
    }

    .tech-index-card,
    .tech-index-card.is-row-end,
    .tech-index-card.is-last-row,
    .tech-index-card.is-two-card-row,
    .tech-index-card.is-single-card-row {
        flex-basis: 100%;
        min-height: 0;
        padding: 26px 22px 24px;
    }

    .tech-index-card-title {
        height: 2.3em;
        font-size: clamp(27px, 9vw, 38px);
        line-height: 1.15;
    }

    .tech-index-summary {
        max-width: 100%;
    }

    .tech-index-footer {
        font-size: 15px;
    }

    .tech-index-pagination {
        padding-top: 24px;
    }

    .tech-index-pagination-control,
    .tech-index-pagination-page {
        min-width: 30px;
        height: 34px;
        font-size: 13px;
    }

    .tech-index-pagination-control {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tech-index-dynamic-content,
    .tech-index-card,
    .tech-index-card-image,
    .tech-index-card-image::before,
    .tech-index-image-icon,
    .tech-index-card-image img.tech-progressive-image,
    .tech-index-arrow {
        transition: none;
    }

    .tech-index-card-image.is-image-pending {
        animation: none;
    }
}


@media (prefers-reduced-motion: reduce) {
    .products-grid > .blog-item .product-progressive-image-container.is-image-pending {
        animation: none;
    }

    .products-grid > .blog-item .product-progressive-image {
        transition: none;
    }
}