/*=================================
BLOG BANNER
=================================*/

.fuku-labs-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.fuku-labs-banner .banner-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.fuku-labs-banner .banner-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.fuku-labs-banner .container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-content {
    text-align: center;
    width: 100%;
    padding: 60px 0;
}

.banner-content h1 {
    color: #dba22d;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.breadcrumb {
    color: #fff;
    font-size: 1rem;
}

.breadcrumb a {
    color: #D99B2B;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #c88c20;
}

.breadcrumb span {
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.6);
}

/*=========================
Large Laptop
=========================*/
@media(max-width: 1400px) {
    .fuku-labs-banner {
        min-height: 350px;
    }
    
    .banner-content h1 {
        font-size: 3rem;
    }
}

/*=========================
Laptop
=========================*/
@media(max-width: 1200px) {
    .fuku-labs-banner {
        min-height: 300px;
    }
    
    .banner-content h1 {
        font-size: 2.5rem;
    }
    
    .banner-content {
        padding: 50px 0;
    }
}

/*=========================
Tablet
=========================*/
@media(max-width: 991px) {
    .fuku-labs-banner {
        min-height: 250px;
    }
    
    .banner-content h1 {
        font-size: 2.2rem;
    }
    
    .banner-content {
        padding: 40px 0;
    }
}

/*=========================
Mobile
=========================*/
@media(max-width: 767px) {
    .fuku-labs-banner {
        min-height: 200px;
    }
    
    .banner-content h1 {
        font-size: 1.8rem;
    }
    
    .banner-content {
        padding: 30px 0;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
}

/*=========================
Small Mobile
=========================*/
@media(max-width: 576px) {
    .fuku-labs-banner {
        min-height: 180px;
    }
    
    .banner-content h1 {
        font-size: 1.5rem;
    }
    
    .banner-content {
        padding: 25px 0;
    }
}

/*=========================
Extra Small
=========================*/
@media(max-width: 400px) {
    .fuku-labs-banner {
        min-height: 150px;
    }
    
    .banner-content h1 {
        font-size: 1.2rem;
    }
    
    .banner-content {
        padding: 20px 0;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
}

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

.blog-cards-section {
    padding: 0px 0px 60px 0;
}

.blog-cards-section .container {
    width: 90%;
    max-width: 1400px;
    margin: auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #D99B2B;
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-header p {
    color: #e9ecee;
    font-size: 1.4rem;
    font-weight: 500;
}


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

/*=========================
INDIVIDUAL CARD
=========================*/
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ----- IMAGE WRAPPER ----- */
.card-image {
    position: relative;
    overflow: hidden;
    background: #eef2f6;
    aspect-ratio: 16 / 10;
}

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

.blog-card:hover .card-image img {
    transform: scale(1.05);
}

/* Card Tag */
.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.4rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ----- CARD BODY ----- */
.card-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.card-title {
    color: #1a1a2e;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.blog-card:hover .card-title {
    color: #D99B2B;
}

.card-description {
    color: #4a5a6a;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

/* Read More Link */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #D99B2B;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    align-self: flex-end;
    margin-top: auto;
    padding-bottom: 2px;
}

.card-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: #c88c20;
    border-bottom-color: #D99B2B;
    gap: 12px;
}

.card-link:hover i {
    transform: translateX(5px);
}


.pagination-container {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 0 5px;
  padding: 0 12px;
  text-decoration: none;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-container a:hover {
  background: #D99B2B;
  color: #fff;
  border-color: #D99B2B;
}

.pagination-container a.active {
  background: #D99B2B;
  color: #fff;
  border-color: #D99B2B;
}

/*=========================
Large Laptop (1200px - 1400px)
=========================*/
@media(max-width: 1400px) {
    .cards-grid {
        gap: 25px;
    }
    
    .blog-cards-section {
        padding: 50px 0;
    }
}

/*=========================
Laptop (992px - 1199px)
=========================*/
@media(max-width: 1200px) {
    .cards-grid {
        gap: 20px;
    }
    
    .card-title {
        font-size: 1.15rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .card-container {
        padding: 1.5rem;
    }
    
    .blog-cards-section {
        padding: 45px 0;
    }
}

/*=========================
Tablet (768px - 991px)
=========================*/
@media(max-width: 991px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .blog-cards-section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .card-container {
        padding: 1.3rem 1.3rem 1.5rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

/*=========================
Mobile (576px - 767px)
=========================*/
@media(max-width: 767px) {
    .blog-cards-section {
        padding: 35px 0;
    }
    
    .blog-cards-section .container {
        width: 95%;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .card-container {
        padding: 1rem 1rem 1.2rem;
    }
    
    .card-tag {
        font-size: 0.6rem;
        padding: 0.3rem 0.8rem;
        top: 12px;
        left: 12px;
    }
    
    .card-link {
        font-size: 0.85rem;
    }
    
    .section-header h2::after {
        width: 40px;
    }
}

/*=========================
Small Mobile (400px - 575px)
=========================*/
@media(max-width: 576px) {
    .blog-cards-section {
        padding: 30px 0;
    }
    
    .blog-cards-section .container {
        width: 95%;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
        gap: 25px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
    
    .card-image {
        aspect-ratio: 16 / 9;
    }
    
    .card-title {
        font-size: 1.15rem;
    }
    
    .card-description {
        font-size: 0.9rem;
    }
    
    .card-container{
        padding: 1.2rem 1.2rem 1.5rem;
    }
    
    .card-tag {
        font-size: 0.6rem;
        padding: 0.25rem 0.8rem;
        top: 12px;
        left: 12px;
    }
}

/*=========================
Extra Small (Below 400px)
=========================*/
@media(max-width: 400px) {
    .blog-cards-section {
        padding: 25px 0;
    }
    
    .cards-grid {
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
    }
    
    .card-container {
        padding: 0.8rem 0.8rem 1rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }
    
    .card-tag {
        font-size: 0.55rem;
        padding: 0.2rem 0.6rem;
        top: 10px;
        left: 10px;
    }
    
    .card-link {
        font-size: 0.8rem;
    }
    
    .section-header h2::after {
        width: 30px;
        height: 2px;
    }
}