

/* Blog archive cards: keep the article format vertical */
.firuze-blog-card {
  aspect-ratio: 3 / 4;
}

@media (max-width: 480px) {
  .firuze-blog-card {
    aspect-ratio: 3 / 4;
  }
}
/* ==========================================
   FIRUZE DESIGN SYSTEM
   HOME BLOG
========================================== */


/*=========================================================
  HOME BLOG
=========================================================*/

.home-blog {
    position: relative;

    width: 100%;

    padding: 80px 0;

    background: var(--color-background);
}


/*---------------------------------------------------------
  LAYOUT
---------------------------------------------------------*/

.home-blog .container {
    position: relative;
        max-width: 1100px;

}

.home-blog__header {
    width: 35%;

    padding: 10px 20px;

    text-align: right;
}


.home-blog__carousel-wrap {
    width: 65%;

    overflow: hidden;
}


/*---------------------------------------------------------
  EYEBROW
---------------------------------------------------------*/

.home-blog__eyebrow {
    display: block;

    margin-bottom: 10px;

    font-size: 20px;
    font-weight: 500;

    color: var(--color-text);
}


/*---------------------------------------------------------
  MAIN TITLE
---------------------------------------------------------*/

.home-blog__header .home-blog__title {
    margin: 0 0 25px;

    font-size: 30px;
    font-weight: 600;

    line-height: 1.6;

    color: var(--color-primary);
}


/*---------------------------------------------------------
  DESCRIPTION
---------------------------------------------------------*/

.home-blog__description {
    margin: 0;

    font-size: 18px;

    line-height: 2.2;

    text-align: justify;

    color: var(--color-text);
}


/*=========================================================
  CAROUSEL
=========================================================*/

.home-blog__carousel-wrap {
    position: relative;
}


.home-blog__carousel {
    width: 100%;
}


/*---------------------------------------------------------
  CAROUSEL ITEM
---------------------------------------------------------*/

.home-blog__item {
    width: 100%;

    padding: 0 5px;
}


/*---------------------------------------------------------
  CARD
---------------------------------------------------------*/

.home-blog__card {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 5 / 7;

    overflow: hidden;

    border-radius: var(--radius-md);

    text-decoration: none;

    background: var(--color-surface);
}


/*---------------------------------------------------------
  IMAGE
---------------------------------------------------------*/

.home-blog__image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


/*---------------------------------------------------------
  IMAGE HOVER
---------------------------------------------------------*/

.home-blog__card:hover .home-blog__image {
    transform: scale(1.05);
}


/*=========================================================
  GRADIENT
=========================================================*/

.home-blog__overlay {
    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0, 40, 70, 1.5) 0%,
        rgba(0, 40, 70, 0.2) 50%,
        transparent 65%
    );
}


/*=========================================================
  ARTICLE TITLE
=========================================================*/

.home-blog__card-title {
    position: absolute;

    right: 25px;
    bottom: 25px;
    left: 25px;

    z-index: 2;

    margin: 0;

    font-size: 22px;
    font-weight: 700;

    line-height: 1.8;

    text-align: right;

    color: var(--color-white);

    transition: transform 0.3s ease;
}


.home-blog__card:hover .home-blog__card-title {
    transform: translateY(-5px);
}


/*=========================================================
  DOTS
=========================================================*/

/*=========================================================
  BLOG DOTS
=========================================================*/

.home-blog__dots {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    margin-top: 30px;

}


.home-blog__dot {

    display: block;

    width: 12px;

    height: 12px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: var(--color-text);

    opacity: 0.25;

    cursor: pointer;

    transition:
        opacity 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;

}


.home-blog__dot--active {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--color-orange);

    opacity: 1;

    transform: scale(1.15);

}


/*=========================================================
  DESKTOP LAYOUT
=========================================================*/

@media (min-width: 992px) {

    .home-blog .container {
        display: flex;

        flex-wrap: wrap;

        align-items: center;
    }


    .home-blog__header {
        width: 30%;
    }


    .home-blog__carousel-wrap {
        width: 70%;
    }


    .home-blog__carousel .owl-stage {
        display: flex;

        align-items: stretch;
    }


    .home-blog__carousel .owl-item {
        display: flex;
    }


    .home-blog__item {
        display: flex;

        width: 100%;
    }


    .home-blog__card {
        width: 100%;
    }


    .home-blog__dots {
        width: 30%;

        margin-top: 20px;

        padding-right: 30px;

        justify-content: center;
    }

}


/*=========================================================
  TABLET
=========================================================*/

@media (max-width: 991px) {

    .home-blog {
        padding: 60px 0;
    }


    .home-blog__header {
        width: 100%;

        padding: 0 20px 40px;

        text-align: center;
    }


    .home-blog__header .home-blog__title {
        font-size: 32px;
    }


    .home-blog__description {
        max-width: 700px;

        margin: 0 auto;

        text-align: center;
    }


    .home-blog__carousel-wrap {
        width: 100%;
    }


    .home-blog__dots {
        margin-top: 30px;
    }

}


/*=========================================================
  MOBILE
=========================================================*/

@media (max-width: 767px) {

    .home-blog {
        padding: 50px 0;
    }


    .home-blog__header {
        padding: 0 15px 30px;
    }


    .home-blog__eyebrow {
        font-size: 17px;
    }


    .home-blog__header .home-blog__title {
        margin-bottom: 15px;

        font-size: 27px;

        line-height: 1.7;
    }


    .home-blog__description {
        font-size: 16px;

        line-height: 2;
    }


    .home-blog__item {
        padding: 0 15px;
    }


    .home-blog__card-title {
        right: 20px;
        bottom: 20px;
        left: 20px;

        font-size: 18px;

        line-height: 1.7;
    }


    .home-blog__dots {
        gap: 10px;

        margin-top: 25px;
    }


    .home-blog__dot {
        width: 14px;
        height: 14px;
    }


    .home-blog__dot--active {
        width: 16px;
                height: 16px;

    }

}


/*=========================================================
  BLOG SINGLE
=========================================================*/

.blog-single p {
    text-align: justify;

    line-height: 2.2;
}


.blog-single img {
    width: auto;
    height: auto;
}


.blog-single h1,
.blog-single h2,
.blog-single h3,
.blog-single h4,
.blog-single h5,
.blog-single h6 {
    margin-bottom: 20px;
}


/*=========================================================
  COMMENTS
=========================================================*/

.comment-body {
    padding: 25px;

    margin: 15px 0;

    background: var(--color-surface);

    border-radius: var(--radius-md);
}


.comment-respond p {
    margin: 15px 0;
}


.comment-respond p.comment-form-author,
.comment-respond p.comment-form-email {
    width: 47%;

    display: inline-block;
}


.comment-respond p.comment-form-url,
.comment-respond p.comment-form-url input {
    width: 100%;
}


.comment-respond p.comment-form-cookies-consent {
    margin: 20px 0;
}