@keyframes rippleEffect--three-category-3 {
    0% {
        width: 6px;
        height: 6px;
        top: 7px;
        left: 7px;
        opacity: 1;
    }
    100% {
        width: 20px;
        height: 20px;
        top: 0;
        left: 0;
        opacity: 0;
    }
}

.category-trio-section.bb-three-category--3 {
    width: 100%;
    max-width: 860px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
    clear: both;
}

.bb-three-category--3 .category-trio-container {
    display: flex;
    gap: 10px;
}

.bb-three-category--3 .category-trio-column {
    flex: 1;
    background-color: #002765!important;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 5px;
}

.bb-three-category--3 .category-trio-column-title {
    background: linear-gradient(135deg, #ff1b1b, #ad0404);
    border: 2px solid #f8d7da;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow: hidden;
    margin: 0 0 15px 0;
}

.bb-three-category--3 .ripple-indicator {
    position: relative;
    width: 20px;
    height: 20px;
}

.bb-three-category--3 .ripple-circle {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 50%;
    animation: rippleEffect--three-category-3 2s ease-out infinite;
}

.bb-three-category--3 .ripple-circle:nth-child(1) {
 animation-delay: 0s;
}

.bb-three-category--3 .ripple-circle:nth-child(2) {
 animation-delay: 0.7s;
}

.bb-three-category--3 .ripple-circle:nth-child(3) {
 animation-delay: 1.4s;
}

.bb-three-category--3 .category-trio-column-title a {
    color: #333;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bb-three-category--3 .category-trio-column-title a:hover {
    color: #ff5722;
}

.bb-three-category--3 .category-trio-arrow {
    display: none;
    font-size: 22px;
    font-weight: 700;
}

.bb-three-category--3 .category-trio-column-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bb-three-category--3 .category-trio-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bb-three-category--3 .category-trio-post-image img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.bb-three-category--3 .category-trio-post-image a:hover img {
    transform: scale(1.05);
}

.bb-three-category--3 .category-trio-post-content {
    flex: 1;
}

.bb-three-category--3 .category-trio-post-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.bb-three-category--3 .category-trio-post-title a {
    font-size: 13px;
    color: #fff;
    text-decoration: none;
     display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
}

.bb-three-category--3 .category-trio-post-title a:hover {
    color: #fff;
}

.bb-three-category--3 .category-trio-no-posts-message {
    padding: 15px;
    background: #f8f8f8;
    color: #666;
    text-align: center;
    border-radius: 4px;
}

.bb-three-category--3 .category-trio-nav-arrow,
.bb-three-category--3 .category-trio-slider-dots {
    display: none;
}

@media only screen and (max-width: 1024px) and (min-width: 768px) {
    .category-trio-section.bb-three-category--3 {
        max-width: 100%;
        padding: 0 20px;
        position: relative;

    }

    .bb-three-category--3 .category-trio-container {
    display: flex;
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
    flex-wrap: nowrap;
    }

    .bb-three-category--3 .category-trio-column {
    flex: 0 0 calc(50% - 5px);
    margin-right: 10px;
    box-sizing: border-box;
    }

    .bb-three-category--3 .category-trio-column:last-child {
    margin-right: 0;
    }

    .bb-three-category--3 .category-trio-nav-arrow {
        position: absolute;
        bottom: -25px;
        width: 35px;
        height: 35px;
        background: white;
        border-radius: 50%;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        font-size: 18px;
        color: #ff5722;
        border: 1px solid #e0e0e0;

    }

    .bb-three-category--3 .category-trio-prev-arrow {
        left: calc(50% - 60px);

    }

    .bb-three-category--3 .category-trio-next-arrow {
        right: calc(50% - 60px);

    }

    .bb-three-category--3 .category-trio-slider-dots {
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        gap: 8px;

    }

    .bb-three-category--3 .category-trio-slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;

    }

    .bb-three-category--3 .category-trio-slider-dot.active {
        background: #ff5722;

    }
}

@media only screen and (max-width: 767px) {
    .category-trio-section.bb-three-category--3 {
        margin: 30px auto;
        padding: 0 5px;
        position: relative;

    }

    .bb-three-category--3 .category-trio-container {
        display: block;
        position: relative;
        overflow: hidden;
        padding-bottom: 50px;

    }

    .bb-three-category--3 .category-trio-column {
        background-color: #FFD6B1;
        width: 100%;
        float: left;
        display: none;
        padding: 8px;
        border-radius: 12px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);

    }

    .bb-three-category--3 .category-trio-column:first-child {
        display: block;

    }

    .bb-three-category--3 .category-trio-nav-arrow {
        position: absolute;
        bottom: -25px;
        width: 35px;
        height: 35px;
        background: white;
        border-radius: 50%;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        cursor: pointer;
        font-size: 18px;
        margin-bottom: 15px;
        color: #ff5722;
        border: 1px solid #e0e0e0;

    }

    .bb-three-category--3 .category-trio-prev-arrow {
        left: calc(50% - 60px);

    }

    .bb-three-category--3 .category-trio-next-arrow {
        right: calc(50% - 60px);

    }

    .bb-three-category--3 .category-trio-nav-arrow:hover {
        background-color: #f5f5f5;

    }

    .bb-three-category--3 .category-trio-slider-dots {
        position: absolute;
        bottom: -30px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: center;
        gap: 8px;

    }

    .bb-three-category--3 .category-trio-slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ddd;
        cursor: pointer;
        transition: background-color 0.2s ease;

    }

    .bb-three-category--3 .category-trio-slider-dot.active {
        background: #ff5722;

    }

    .bb-three-category--3 .category-trio-arrow {
        display: none;

    }

    .bb-three-category--3 .category-trio-column-title {
        font-size: 18px;
        text-align: center;
        padding: 10px;

    }

    .bb-three-category--3 .category-trio-column-posts {
        margin-top: 15px;

    }

    .bb-three-category--3 .category-trio-post-item {
        margin-bottom: 12px;
        padding-bottom: 12px;
        border-bottom: 1px solid #f0f0f0;

    }

    .bb-three-category--3 .category-trio-post-item:last-child {
        border-bottom: none;

    }

    .bb-three-category--3 .category-trio-post-image img {
        width: 100px;
        height: 68px;

    }

    .bb-three-category--3 .category-trio-post-title a {
        font-size: 16px;

    }
}

@media only screen and (max-width: 480px) {
    .category-trio-section.bb-three-category--3 {
        padding: 0 2px;

    }

    .bb-three-category--3 .category-trio-column-title {
        font-size: 16px;
        padding: 8px;

    }

    .bb-three-category--3 .category-trio-post-image img {
        width: 110px;
        height: 70px;

    }

    .bb-three-category--3 .category-trio-post-title a {
        font-size: 15px;

    }

    .bb-three-category--3 .category-trio-nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;

    }

    .bb-three-category--3 .category-trio-prev-arrow {
        left: calc(50% - 50px);

    }

    .bb-three-category--3 .category-trio-next-arrow {
        right: calc(50% - 50px);

    }
}
