/*==========================================
BLOGS PAGE BANNER
==========================================*/

.blogs-banner-section {

    height: 300px;

    background: url("../images/shopbann.png") center center/cover no-repeat;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

}

.blogs-banner-section::before {

    content: "";

    position: absolute;

    inset: 0;

    background: rgba(18, 10, 35, .38);

}

.blogs-banner-section .container {

    position: relative;

    z-index: 2;

    width: 100%;

}

.blogs-banner-content {

    text-align: center;

}

.blogs-banner-content h1 {

    margin: 0;

    color: #fff;

    font-size: 64px;

    font-weight: 700;

    font-family: "Cinzel", serif;

    text-shadow: 0 4px 12px rgba(0, 0, 0, .35);

}

.blogs-breadcrumb {

    margin-top: 14px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

}

.blogs-breadcrumb a {

    color: #fff;

    text-decoration: none;

    font-size: 16px;

    transition: .3s;

}

.blogs-breadcrumb a:hover {

    color: #d8a128;

}

.blogs-breadcrumb i {

    color: #d8a128;

    font-size: 12px;

}

.blogs-breadcrumb .active {

    color: #d8a128;

    font-weight: 600;

}

/*==============================
Responsive
==============================*/

@media(max-width:768px) {

    .blogs-banner-section {

        height: 150px;

    }

    .blogs-banner-content h1 {

        font-size: 42px;

    }

    .blogs-breadcrumb {

        gap: 8px;

    }

    .blogs-breadcrumb a,
    .blogs-breadcrumb .active {

        font-size: 14px;

    }

}


/*==========================================
BLOG SECTION
==========================================*/

.blogs-section {
    padding: 90px;
    background: #faf8f5;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/*==========================================
BLOG CARD
==========================================*/

.blogs-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
    transition: .45s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blogs-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, .15);
}

/* Shine Effect */

.blogs-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, .55),
            transparent);
    transform: skewX(-25deg);
    transition: .8s;
    z-index: 2;
}

.blogs-card:hover::before {
    left: 130%;
}

/*==========================================
IMAGE
==========================================*/

.blogs-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blogs-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: .8s;
    background: #fff;
    /* padding: 20px; */
}

.blogs-card:hover .blogs-image img {
    transform: scale(1.08);
}

/*==========================================
CONTENT
==========================================*/

.blogs-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blogs-category {
    display: inline-block;
    align-self: flex-start;
    padding: 8px 18px;
    background: #fff6df;
    color: #d89a0f;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: .35s;
}

.blogs-card:hover .blogs-category {
    background: #d89a0f;
    color: #fff;
}

.blogs-title {
    margin: 18px 0 15px;
    font-size: 20px;
    line-height: 1.5;
}

.blogs-title a {
    color: #222;
    text-decoration: none;
    transition: .35s;
}

.blogs-card:hover .blogs-title a {
    color: #d89a0f;
}

.blogs-description {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    flex: 1;
}

/*==========================================
META
==========================================*/

.blogs-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid #eee;
    padding-top: 18px;
}

.blogs-meta span {
    font-size: 14px;
    color: #666;
}

.blogs-meta i {
    color: #d89a0f;
    margin-right: 6px;
    transition: .35s;
}

.blogs-card:hover .blogs-meta i {
    transform: rotate(360deg);
}

/*==========================================
PAGINATION
==========================================*/

.blogs-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.blogs-pagination ul {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.blogs-pagination a,
.blogs-pagination span {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #fff;
    color: #555;
    text-decoration: none;
    border: 1px solid #eee;
    transition: .35s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.blogs-pagination a:hover,
.blogs-pagination .active {
    background: #d89a0f;
    color: #fff;
    border-color: #d89a0f;
    transform: translateY(-4px);
}

/*==========================================
ANIMATIONS
==========================================*/

.blogs-card {
    opacity: 0;
    animation: cardUp .8s ease forwards;
}

.blogs-card:nth-child(1) {
    animation-delay: .1s;
}

.blogs-card:nth-child(2) {
    animation-delay: .2s;
}

.blogs-card:nth-child(3) {
    animation-delay: .3s;
}

.blogs-card:nth-child(4) {
    animation-delay: .4s;
}

.blogs-card:nth-child(5) {
    animation-delay: .5s;
}

.blogs-card:nth-child(6) {
    animation-delay: .6s;
}

@keyframes cardUp {

    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* =========================================================
   STAR SIGNS BLOGS - RESPONSIVE ONLY
   Desktop      : 1200px+
   Laptop       : 992px - 1199px
   Tablet       : 768px - 991px
   Mobile       : 481px - 767px
   Small Mobile : 320px - 480px
   ========================================================= */


/* =========================================================
   LAPTOP
   992px - 1199px
   ========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {

    .blogs-banner-section {
        height: 270px;
    }

    .blogs-banner-content h1 {
        font-size: 54px;
    }

    .blogs-breadcrumb {
        gap: 10px;
    }

    .blogs-breadcrumb a,
    .blogs-breadcrumb .active {
        font-size: 15px;
    }

    .blogs-section {
        padding: 70px 30px;
    }

    .blogs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .blogs-image {
        height: 220px;
    }

    .blogs-card-content {
        padding: 18px;
    }

    .blogs-title {
        font-size: 19px;
    }

    .blogs-description {
        font-size: 14px;
        line-height: 1.7;
    }

    .blogs-meta span {
        font-size: 13px;
    }
}


/* =========================================================
   TABLET
   768px - 991px
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

    .blogs-banner-section {
        height: 240px;
    }

    .blogs-banner-content h1 {
        font-size: 48px;
    }

    .blogs-breadcrumb {
        margin-top: 10px;
        gap: 9px;
    }

    .blogs-breadcrumb a,
    .blogs-breadcrumb .active {
        font-size: 14px;
    }

    .blogs-section {
        padding: 55px 20px;
    }

    .blogs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .blogs-card {
        border-radius: 16px;
    }

    .blogs-image {
        height: 200px;
    }

    .blogs-image img {
        padding: 15px;
    }

    .blogs-card-content {
        padding: 17px;
    }

    .blogs-category {
        padding: 7px 14px;
        font-size: 11px;
    }

    .blogs-title {
        font-size: 18px;
        line-height: 1.4;
        margin: 15px 0 12px;
    }

    .blogs-description {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .blogs-meta {
        gap: 10px;
    }

    .blogs-meta span {
        font-size: 12px;
    }

    .blogs-pagination ul {
        gap: 6px;
    }
}


/* =========================================================
   MOBILE
   481px - 767px
   ========================================================= */

@media (min-width: 481px) and (max-width: 767px) {

    .blogs-banner-section {
        height: 190px;
    }

    .blogs-banner-content h1 {
        font-size: 38px;
        line-height: 1.2;
    }

    .blogs-breadcrumb {
        margin-top: 8px;
        gap: 7px;
        flex-wrap: wrap;
    }

    .blogs-breadcrumb a,
    .blogs-breadcrumb .active {
        font-size: 13px;
    }

    .blogs-breadcrumb i {
        font-size: 9px;
    }

    .blogs-section {
        padding: 40px 15px;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .blogs-card {
        border-radius: 15px;
    }

    .blogs-image {
        height: 230px;
    }

    .blogs-image img {
        padding: 15px;
    }

    .blogs-card-content {
        padding: 17px;
    }

    .blogs-category {
        padding: 7px 15px;
        font-size: 11px;
    }

    .blogs-title {
        font-size: 18px;
        line-height: 1.4;
        margin: 14px 0 10px;
    }

    .blogs-description {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 18px;
    }

    .blogs-meta {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .blogs-meta span {
        font-size: 12px;
    }

    .blogs-pagination {
        margin-top: 25px;
    }

    .blogs-pagination ul {
        gap: 6px;
    }

    .blogs-pagination a,
    .blogs-pagination span {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}


/* =========================================================
   SMALL MOBILE
   320px - 480px
   ========================================================= */

@media (max-width: 480px) {

    .blogs-banner-section {
        height: 155px;
        background-position: center;
    }

    .blogs-banner-content h1 {
        font-size: 29px;
        line-height: 1.2;
    }

    .blogs-breadcrumb {
        margin-top: 7px;
        gap: 5px;
    }

    .blogs-breadcrumb a,
    .blogs-breadcrumb .active {
        font-size: 11px;
    }

    .blogs-breadcrumb i {
        font-size: 8px;
    }

    .blogs-section {
        padding: 30px 10px;
    }

    .blogs-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .blogs-card {
        border-radius: 12px;
    }

    .blogs-image {
        height: 180px;
    }

    .blogs-image img {
        padding: 10px;
    }

    .blogs-card-content {
        padding: 14px;
    }

    .blogs-category {
        padding: 6px 12px;
        font-size: 9px;
        letter-spacing: .7px;
    }

    .blogs-title {
        font-size: 15px;
        line-height: 1.4;
        margin: 12px 0 8px;
    }

    .blogs-description {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .blogs-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding-top: 12px;
    }

    .blogs-meta span {
        font-size: 11px;
    }

    .blogs-meta i {
        margin-right: 4px;
    }

    .blogs-pagination {
        margin-top: 20px;
    }

    .blogs-pagination ul {
        gap: 5px;
    }

    .blogs-pagination a,
    .blogs-pagination span {
        width: 27px;
        height: 27px;
        font-size: 11px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   Below 360px
   ========================================================= */

@media (max-width: 360px) {

    .blogs-banner-section {
        height: 140px;
    }

    .blogs-banner-content h1 {
        font-size: 25px;
    }

    .blogs-breadcrumb {
        gap: 4px;
    }

    .blogs-breadcrumb a,
    .blogs-breadcrumb .active {
        font-size: 10px;
    }

    .blogs-section {
        padding: 25px 8px;
    }

    .blogs-grid {
        gap: 14px;
    }

    .blogs-image {
        height: 160px;
    }

    .blogs-image img {
        padding: 8px;
    }

    .blogs-card-content {
        padding: 12px;
    }

    .blogs-category {
        padding: 5px 10px;
        font-size: 8px;
    }

    .blogs-title {
        font-size: 14px;
    }

    .blogs-description {
        font-size: 11px;
        line-height: 1.55;
    }

    .blogs-meta span {
        font-size: 10px;
    }

    .blogs-pagination a,
    .blogs-pagination span {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }
}


/* =========================================================
   MOBILE PERFORMANCE
   Disable heavy hover/floating effects on touch devices
   ========================================================= */

@media (max-width: 767px) {

    .blogs-card:hover {
        transform: none;
    }

    .blogs-card:hover .blogs-image img {
        transform: none;
    }

    .blogs-card:hover .blogs-title {
        transform: none;
    }

    .blogs-card:hover .blogs-category {
        transform: none;
    }

    .blogs-card:hover::before {
        left: -130%;
    }

    .blogs-card:hover .blogs-image::after {
        opacity: 0;
    }
}

/*==========================================
PREMIUM ANIMATIONS
==========================================*/

/* Banner Zoom */

.blogs-banner-section {
    animation: bannerZoom 1.5s ease;
}

@keyframes bannerZoom {

    from {
        transform: scale(1.08);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }

}

/* Banner Content */

.blogs-banner-content h1 {
    animation: fadeDown .9s ease;
}

.blogs-breadcrumb {
    animation: fadeUp .9s .2s both;
}

@keyframes fadeDown {

    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/*==========================================
BLOG CARD
==========================================*/

.blogs-card {

    animation: cardReveal .8s ease both;

}

.blogs-card:nth-child(1) {
    animation-delay: .1s;
}

.blogs-card:nth-child(2) {
    animation-delay: .2s;
}

.blogs-card:nth-child(3) {
    animation-delay: .3s;
}

.blogs-card:nth-child(4) {
    animation-delay: .4s;
}

.blogs-card:nth-child(5) {
    animation-delay: .5s;
}

.blogs-card:nth-child(6) {
    animation-delay: .6s;
}

@keyframes cardReveal {

    from {

        opacity: 0;

        transform: translateY(70px) scale(.92);

    }

    to {

        opacity: 1;

        transform: translateY(0) scale(1);

    }

}

/*==========================================
IMAGE EFFECT
==========================================*/

.blogs-image {

    position: relative;

}

.blogs-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(to top,
            rgba(0, 0, 0, .22),
            transparent 70%);

    opacity: 0;

    transition: .45s;

}

.blogs-card:hover .blogs-image::after {

    opacity: 1;

}

.blogs-image img {

    transition: 1s ease;

}

.blogs-card:hover .blogs-image img {

    transform: scale(1.12) rotate(2deg);

}

/*==========================================
SHINE EFFECT
==========================================*/

.blogs-card::before {

    content: "";

    position: absolute;

    top: 0;

    left: -130%;

    width: 70%;

    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, .6),
            transparent);

    transform: skewX(-25deg);

    transition: 1s;

    z-index: 2;

}

.blogs-card:hover::before {

    left: 130%;

}

/*==========================================
CATEGORY
==========================================*/

.blogs-category {

    transition: .35s;

}

.blogs-card:hover .blogs-category {

    background: #d89a0f;

    color: #fff;

    transform: translateY(-3px);

}

/*==========================================
TITLE
==========================================*/

.blogs-title {

    transition: .35s;

}

.blogs-card:hover .blogs-title {

    transform: translateX(8px);

}

/*==========================================
META
==========================================*/

.blogs-meta i {

    transition: .45s;

}

.blogs-card:hover .blogs-meta i {

    transform: rotate(360deg);

}

/*==========================================
CARD SHADOW
==========================================*/

.blogs-card {

    transition:
        transform .45s,
        box-shadow .45s;

}

.blogs-card:hover {

    transform: translateY(-15px);

    box-shadow: 0 35px 70px rgba(0, 0, 0, .18);

}

/*==========================================
PAGINATION
==========================================*/

.blogs-pagination a {

    position: relative;

    overflow: hidden;

}

.blogs-pagination a::before {

    content: "";

    position: absolute;

    inset: 0;

    background: #d89a0f;

    border-radius: 50%;

    transform: scale(0);

    transition: .35s;

    z-index: -1;

}

.blogs-pagination a:hover::before {

    transform: scale(1);

}

/*==========================================
FLOATING EFFECT
==========================================*/

.blogs-card:nth-child(odd) {

    animation:
        cardReveal .8s ease both,
        floatCard 5s ease-in-out infinite;

}

.blogs-card:nth-child(even) {

    animation:
        cardReveal .8s ease both,
        floatCard 5s ease-in-out infinite 1.5s;

}

@keyframes floatCard {

    0%,
    100% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-6px);

    }

}