/* =========================================================
   NanoTeflon Blog Index
   Premium editorial / RTL layout
========================================================= */

.nano-blog-page {
    direction: rtl;
    background: #fff;
    color: #252525;
    overflow: hidden;
}

.nano-blog-page a {
    text-decoration: none;
}

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */
.nano-blog-hero {
    position: relative;
    padding: 68px 0 72px;
    background: #eef3f7;
    overflow: hidden;
}

.nano-blog-hero:before {
    content: "";
    position: absolute;
    width: 430px;
    height: 430px;
    left: -170px;
    top: -210px;
    border-radius: 50%;
    background: rgba(224, 70, 34, .055);
}

.nano-blog-hero:after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -130px;
    bottom: -170px;
    border-radius: 50%;
    background: rgba(224, 70, 34, .05);
}

.nano-blog-hero-shape {
    position: absolute;
    width: 8px;
    height: 110px;
    background: #e04622;
    opacity: .9;
    transform: rotate(45deg);
}

.nano-blog-hero-shape-one {
    left: 12%;
    top: 25px;
}

.nano-blog-hero-shape-two {
    right: 23%;
    bottom: 20px;
    height: 70px;
}

.nano-blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #777;
    font-size: 12px;
    margin-bottom: 22px;
}

.nano-blog-breadcrumb a {
    color: #777;
}

.nano-blog-breadcrumb a:hover {
    color: #e04622;
}

.nano-blog-breadcrumb i {
    font-size: 11px;
    color: #bbb;
}

.nano-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    color: #e04622;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.nano-blog-eyebrow:before {
    content: "";
    width: 30px;
    height: 2px;
    background: #e04622;
    margin-left: 9px;
}

.nano-blog-hero h1 {
    margin: 0 0 16px;
    color: #252525;
    font-size: 42px;
    line-height: 1.5;
    font-weight: 700;
}

.nano-blog-hero-text {
    max-width: 760px;
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 2.25;
}

.nano-blog-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 27px;
}

.nano-blog-primary-btn,
.nano-blog-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: all .25s ease;
}

.nano-blog-primary-btn {
    color: #fff !important;
    background: #e04622;
    box-shadow: 0 8px 20px rgba(224, 70, 34, .16);
}

.nano-blog-primary-btn:hover {
    color: #fff !important;
    background: #c93819;
    transform: translateY(-2px);
}

.nano-blog-secondary-btn {
    color: #333 !important;
    background: #fff;
    border: 1px solid #ddd;
}

.nano-blog-secondary-btn:hover {
    color: #e04622 !important;
    border-color: #e04622;
    transform: translateY(-2px);
}

.nano-blog-hero-card {
    position: relative;
    width: 245px;
    min-height: 245px;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 20px 50px rgba(35, 48, 60, .11);
}

.nano-blog-hero-card:after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(224,70,34,.24);
    border-radius: 50%;
}

.nano-blog-hero-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border-radius: 50%;
    color: #e04622;
    background: rgba(224,70,34,.08);
    font-size: 23px;
}

.nano-blog-hero-card strong,
.nano-blog-hero-card span {
    position: relative;
    z-index: 1;
}

.nano-blog-hero-card strong {
    color: #252525;
    font-size: 15px;
    margin-bottom: 5px;
}

.nano-blog-hero-card span {
    color: #888;
    font-size: 11px;
}

/* ---------------------------------------------------------
   PRICE STRIP
--------------------------------------------------------- */
.nano-blog-price-strip {
    position: relative;
    z-index: 2;
    margin-top: -27px;
}

.nano-blog-price-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 14px 40px rgba(0,0,0,.08);
}

.nano-blog-price-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #e04622;
    background: rgba(224,70,34,.09);
    font-size: 20px;
}

.nano-blog-price-content {
    flex: 1;
}

.nano-blog-price-content > span {
    color: #e04622;
    font-size: 11px;
    font-weight: 700;
}

.nano-blog-price-content h2 {
    margin: 2px 0 2px;
    color: #252525;
    font-size: 19px;
    line-height: 1.7;
    font-weight: 700;
}

.nano-blog-price-content p {
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.9;
}

.nano-blog-price-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 19px;
    border-radius: 5px;
    color: #fff !important;
    background: #e04622;
    font-size: 12px;
    font-weight: 700;
    transition: all .25s ease;
}

.nano-blog-price-btn:hover {
    color: #fff !important;
    background: #c93819;
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   CONTENT HEADER
--------------------------------------------------------- */
.nano-blog-content {
    padding: 75px 0 70px;
}

.nano-blog-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.nano-blog-section-heading > div > span {
    display: block;
    margin-bottom: 5px;
    color: #e04622;
    font-size: 12px;
    font-weight: 700;
}

.nano-blog-section-heading h2 {
    margin: 0;
    color: #252525;
    font-size: 28px;
    line-height: 1.7;
    font-weight: 700;
}

.nano-blog-section-heading > p {
    max-width: 450px;
    margin: 0 0 2px;
    color: #888;
    font-size: 13px;
    line-height: 2;
}

/* ---------------------------------------------------------
   FEATURED POST
--------------------------------------------------------- */
.nano-featured-post {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    direction: ltr;
    min-height: 355px;
    margin-bottom: 30px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(0,0,0,.055);
}

.nano-featured-image {
    position: relative;
    min-height: 355px;
    overflow: hidden;
    background: #eee;
}

.nano-featured-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.nano-featured-image:hover img {
    transform: scale(1.035);
}

.nano-featured-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.20));
    pointer-events: none;
}

.nano-featured-badge {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    padding: 6px 12px;
    border-radius: 4px;
    color: #fff;
    background: #e04622;
    font-size: 11px;
    font-weight: 700;
}

.nano-featured-body {
    direction: rtl;
    padding: 42px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nano-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin-bottom: 13px;
    color: #999;
    font-size: 11px;
}

.nano-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nano-post-meta i {
    color: #e04622;
}

.nano-featured-body h2 {
    margin: 0 0 13px;
    font-size: 24px;
    line-height: 1.8;
    font-weight: 700;
}

.nano-featured-body h2 a,
.nano-post-card h3 a {
    color: #252525;
}

.nano-featured-body h2 a:hover,
.nano-post-card h3 a:hover {
    color: #e04622;
}

.nano-featured-body p {
    margin: 0 0 18px;
    color: #777;
    font-size: 14px;
    line-height: 2.2;
}

.nano-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    color: #e04622 !important;
    font-size: 12px;
    font-weight: 700;
}

.nano-read-more i {
    transition: transform .2s ease;
}

.nano-read-more:hover i {
    transform: translateX(-4px);
}

/* ---------------------------------------------------------
   POST GRID
--------------------------------------------------------- */
.nano-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.nano-post-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 7px;
    box-shadow: 0 7px 24px rgba(0,0,0,.045);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.nano-post-card:hover {
    transform: translateY(-5px);
    border-color: #dedede;
    box-shadow: 0 15px 35px rgba(0,0,0,.09);
}

.nano-post-image {
    position: relative;
    display: block;
    height: 205px;
    overflow: hidden;
    background: #eee;
}

.nano-post-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .45s ease;
}

.nano-post-card:hover .nano-post-image img {
    transform: scale(1.045);
}

.nano-post-image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.13));
    pointer-events: none;
}

.nano-post-image-overlay {
    position: absolute;
    z-index: 2;
    left: 15px;
    bottom: 15px;
    width: 37px;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(224,70,34,.94);
    font-size: 12px;
    opacity: 0;
    transform: translateY(8px);
    transition: all .25s ease;
}

.nano-post-card:hover .nano-post-image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.nano-post-card-body {
    padding: 21px 21px 23px;
}

.nano-post-card-body h3 {
    min-height: 54px;
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.8;
    font-weight: 700;
}

.nano-post-card-body p {
    min-height: 50px;
    margin: 0 0 15px;
    color: #808080;
    font-size: 12px;
    line-height: 2;
}

/* ---------------------------------------------------------
   PAGINATION
--------------------------------------------------------- */
.nano-blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 45px;
    padding-top: 27px;
    border-top: 1px solid #eee;
    direction: rtl;
}

.nano-blog-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    color: #666;
    background: #fff;
    font-size: 11px;
    font-weight: 600;
    transition: all .2s ease;
}

.nano-blog-pagination .page-numbers:hover,
.nano-blog-pagination .page-numbers.current {
    color: #fff;
    background: #e04622;
    border-color: #e04622;
}

/* ---------------------------------------------------------
   SEO SECTION
--------------------------------------------------------- */
.nano-blog-seo {
    padding: 55px 0;
    background: #f7f8f9;
    border-top: 1px solid #eee;
}

.nano-blog-seo-label {
    display: block;
    margin-bottom: 6px;
    color: #e04622;
    font-size: 12px;
    font-weight: 700;
}

.nano-blog-seo h2 {
    margin: 0 0 12px;
    color: #252525;
    font-size: 25px;
    line-height: 1.8;
    font-weight: 700;
}

.nano-blog-seo p {
    max-width: 850px;
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 2.3;
}

.nano-blog-seo-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nano-blog-seo-links a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    color: #444;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    transition: all .2s ease;
}

.nano-blog-seo-links a:hover {
    color: #e04622;
    border-color: #e04622;
    transform: translateX(-3px);
}

.nano-blog-seo-links i {
    color: #e04622;
    width: 18px;
    text-align: center;
}

/* ---------------------------------------------------------
   EMPTY STATE
--------------------------------------------------------- */
.nano-blog-empty {
    padding: 70px 20px;
    text-align: center;
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 8px;
}

.nano-blog-empty-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 17px;
    border-radius: 50%;
    color: #e04622;
    background: rgba(224,70,34,.08);
    font-size: 27px;
}

.nano-blog-empty h2 {
    margin: 0 0 8px;
    color: #333;
    font-size: 20px;
}

.nano-blog-empty p {
    margin: 0;
    color: #888;
    font-size: 13px;
}

/* ---------------------------------------------------------
   FLOATING PRICE
--------------------------------------------------------- */
.nano-floating-price {
    position: fixed;
    z-index: 9998;
    left: 22px;
    bottom: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 43px;
    padding: 0 15px;
    border-radius: 5px;
    color: #fff !important;
    background: #e04622;
    box-shadow: 0 9px 27px rgba(0,0,0,.2);
    font-size: 12px;
    font-weight: 700;
    transition: all .25s ease;
}

.nano-floating-price:hover {
    color: #fff !important;
    background: #c93819;
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */
@media (max-width: 991px) {
    .nano-blog-hero {
        padding: 52px 0 65px;
    }

    .nano-blog-hero h1 {
        font-size: 34px;
    }

    .nano-blog-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .nano-post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nano-featured-post {
        grid-template-columns: 1fr;
    }

    .nano-featured-image {
        min-height: 300px;
        height: 300px;
    }
}

@media (max-width: 767px) {
    .nano-blog-hero {
        padding: 36px 0 50px;
    }

    .nano-blog-hero h1 {
        font-size: 29px;
        line-height: 1.65;
    }

    .nano-blog-hero-text {
        font-size: 13px;
        line-height: 2.15;
    }

    .nano-blog-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .nano-blog-primary-btn,
    .nano-blog-secondary-btn {
        width: 100%;
    }

    .nano-blog-price-strip {
        margin-top: -20px;
    }

    .nano-blog-price-card {
        display: block;
        padding: 20px;
        text-align: center;
    }

    .nano-blog-price-icon {
        margin: 0 auto 10px;
    }

    .nano-blog-price-content h2 {
        font-size: 18px;
    }

    .nano-blog-price-content p {
        font-size: 12px;
    }

    .nano-blog-price-btn {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .nano-blog-content {
        padding: 50px 0 55px;
    }

    .nano-blog-section-heading h2 {
        font-size: 23px;
    }

    .nano-featured-post {
        display: block;
    }

    .nano-featured-image {
        height: 235px;
        min-height: 235px;
    }

    .nano-featured-body {
        padding: 25px 20px 27px;
    }

    .nano-featured-body h2 {
        font-size: 20px;
        line-height: 1.85;
    }

    .nano-featured-body p {
        font-size: 13px;
    }

    .nano-post-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .nano-post-image {
        height: 205px;
    }

    .nano-post-image-overlay {
        opacity: 1;
        transform: none;
    }

    .nano-post-card-body h3,
    .nano-post-card-body p {
        min-height: 0;
    }

    .nano-blog-seo {
        padding: 43px 0;
    }

    .nano-blog-seo h2 {
        font-size: 21px;
    }

    .nano-blog-seo p {
        font-size: 13px;
    }

    .nano-blog-seo-links {
        margin-top: 20px;
    }

    .nano-floating-price {
        left: 14px;
        bottom: 14px;
        min-height: 42px;
        padding: 0 14px;
    }
}
