/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Override Flatsome defaults */
.entry-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================================
   CHANNEL CPT STYLES
   ============================================ */

/* ========== Archive Header ========== */
.channel-archive-header {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0 10px;
}

.channel-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.channel-main-title {
    font-family: "Roboto", Sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #e21111;
    margin: 0;
}

.channel-filters {
    display: flex;
    gap: 10px;
}

.channel-select {
    padding: 8px 30px 8px 12px;
    border: 2px solid #e21111 !important;
    border-radius: 7px;
    background-color: #fff;
    font-weight: 500;
    cursor: pointer;
    min-width: 180px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.channel-select:focus {
    outline: none;
    border-color: #d42630 !important;
}

/* ========== Channel Grid ========== */
.channel-grid-section {
    padding: 10px 0;
}

.channel-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.channel-item {
    width: 25%;
    margin-bottom: 25px;
    padding: 0 15px;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .channel-item {
        width: 33.333%;
    }
}

@media (max-width: 767px) {
    .channel-item {
        width: 50%;
    }
}

/* ========== Channel Card ========== */
.channel-card-link {
    display: block;
    position: relative;
    background: black;
    overflow: hidden;
    border-radius: 8px;
    width: 100%;
    padding-bottom: 100%;
    /* 1:1 Aspect Ratio */
}

.channel-card-link:hover {
    text-decoration: none;
}

.channel-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
}

.channel-card-link:hover .channel-thumbnail {
    opacity: 0.9;
    transform: scale(1.05);
}

.channel-detail {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 50px 12px 12px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(212 21 21) 100%);
}

.channel-title {
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
}

.channel-description {
    color: #fff;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.9;
    line-height: 1.4;
}

/* ========== Social Icons ========== */
.channel-social {
    display: flex;
    flex-direction: row;
    margin-top: 12px;
    gap: 5px;
}

.channel-social a,
.channel-social .social-disabled {
    width: 25%;
    text-align: center;
}

.channel-social i,
.channel-social .tiktok-icon {
    width: 40px;
    height: 40px;
    line-height: 36px;
    border: 2.5px solid #d42630;
    padding: 3px;
    border-radius: 50%;
    font-size: 18px;
    color: #e21111;
    fill: #e21111;
    vertical-align: middle;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.channel-social .tiktok-icon {
    padding: 8px;
}

.channel-social a:hover i,
.channel-social a:hover .tiktok-icon {
    background-color: #d42630;
    color: #fff;
    fill: #fff;
    transform: translateY(-3px);
}

/* ========== Pagination ========== */
.channel-pagination {
    width: 100%;
    text-align: center;
    padding: 30px 0;
}

.channel-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 3px;
    background: #f5f5f5;
    color: #333;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.channel-pagination .page-numbers.current,
.channel-pagination .page-numbers:hover {
    background: #e21111;
    color: #fff;
}

/* ========== Single Channel ========== */
.single-channel {
    padding: 30px 0;
}

.channel-hero {
    margin-bottom: 40px;
}

.channel-avatar-wrapper {
    text-align: center;
}

.channel-avatar {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.channel-info {
    padding: 20px 0;
}

.channel-name {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.channel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.channel-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.channel-tag--location {
    background: #e3f2fd;
    color: #1976d2;
}

.channel-tag--location:hover {
    background: #1976d2;
    color: #fff;
}

.channel-tag--style {
    background: #fce4ec;
    color: #c2185b;
}

.channel-tag--style:hover {
    background: #c2185b;
    color: #fff;
}

/* ========== Social Stats ========== */
.channel-social-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.social-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.social-stat i,
.social-stat .tiktok-icon {
    font-size: 20px;
    width: 24px;
    height: 24px;
    fill: #fff;
}

.social-stat__label {
    font-size: 14px;
}

.social-stat__count {
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.social-stat--youtube {
    background: linear-gradient(135deg, #FF0000, #cc0000);
}

.social-stat--facebook {
    background: linear-gradient(135deg, #1877F2, #0d5dc9);
}

.social-stat--instagram {
    background: linear-gradient(135deg, #E4405F, #833AB4, #FD1D1D);
}

.social-stat--tiktok {
    background: linear-gradient(135deg, #000000, #333333);
}

/* ========== Section Title ========== */
.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #e21111;
    display: inline-block;
}

/* ========== Channel Content ========== */
.channel-about {
    margin-bottom: 40px;
}

.channel-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* ========== Gallery ========== */
.channel-gallery-section {
    margin-bottom: 40px;
}

.channel-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.channel-gallery__item {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1 / 1;
}

.channel-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.channel-gallery__item:hover img {
    transform: scale(1.1);
}

/* ========== Related Channels ========== */
.channel-related {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* ========== Not Found ========== */
.channel-not-found {
    text-align: center;
    padding: 50px;
    color: #666;
}


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/

    /* Channel Archive Header */
    .channel-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .channel-filters {
        width: 100%;
    }

    .channel-filter-item {
        flex: 1;
    }

    .channel-select {
        width: 100%;
        min-width: auto;
    }

    /* Channel Card */
    .channel-item {
        padding: 0 8px;
        margin-bottom: 16px;
    }

    .channel-detail {
        padding: 40px 10px 10px;
    }

    .channel-title {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .channel-description {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    /* Social Icons Mobile */
    .channel-social i,
    .channel-social .tiktok-icon {
        width: 32px;
        height: 32px;
        line-height: 28px;
        border-width: 2px;
        font-size: 14px;
    }

    .channel-social .tiktok-icon {
        padding: 6px;
    }

    /* Single Channel Mobile */
    .channel-name {
        font-size: 26px;
    }

    .channel-avatar {
        max-width: 200px;
        margin-bottom: 20px;
    }

    .channel-social-stats {
        flex-direction: column;
    }

    .social-stat {
        width: 100%;
        justify-content: center;
    }

    /* Gallery Mobile */
    .channel-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    /* Related Mobile */
    .channel-related .channel-item {
        width: 50%;
    }

}

/* ============================================
   SINGLE CHANNEL V2 - SCHANNEL.VN DESIGN
   ============================================ */

/* Hero Section V2 */
.channel-hero-v2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
}

.channel-profile-info {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.channel-avatar-col {
    flex: 0 0 auto;
}

.channel-avatar-v2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.channel-info-col {
    flex: 1;
}

.channel-name-v2 {
    font-family: "Montserrat", "Roboto", sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.channel-excerpt-v2 {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.channel-excerpt-v2 p {
    margin: 0;
}

/* Social Stats Section V2 */
.channel-social-section {
    padding: 40px 0;
    background: #fff;
}

.channel-detail-social {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.channel-detail-social .social-item {
    position: relative;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.channel-detail-social .social-item:hover {
    text-decoration: none;
    transform: translateY(-3px);
}

.channel-detail-social .social-item img {
    max-width: 50px;
    max-height: 50px;
    border-radius: 8px;
}

.channel-detail-social .social-item:hover::after {
    content: 'Truy cập';
    display: block;
    z-index: 1;
    position: absolute;
    top: calc(100% + 10px);
    left: 25px;
    transform: translateX(-50%);
    padding: 5px 10px;
    border: 1px solid #000;
    border-radius: 5px;
    font-size: 12px;
    color: #000;
    background-color: #fff;
    cursor: pointer;
    font-family: "Montserrat", serif;
}

.channel-detail-social .social-item:hover::before {
    content: '';
    display: block;
    z-index: 1;
    position: absolute;
    top: calc(100% + 5px);
    left: 25px;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 6px solid #000;
    background-color: transparent;
}

.channel-detail-social .social-text {
    margin-left: 6px;
    font-weight: 500;
    color: #000;
    font-family: "Montserrat", serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.channel-detail-social .social-count-number {
    font-size: 28px;
    font-weight: 700;
}

.channel-detail-social .social-count-followers {
    font-size: 16px;
    font-weight: 500;
}

/* Gallery Section V2 */
.channel-gallery-section-v2 {
    padding: 40px 0;
    background: #f9f9f9;
}

.channel-detail-gallery {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.channel-detail-gallery .grid-item {
    overflow: hidden;
    border-radius: 8px;
}

.channel-detail-gallery .grid-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.channel-detail-gallery .grid-item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

.channel-detail-gallery .grid-item a {
    display: block;
}

/* Related Channels in V2 */
.single-channel-v2 .channel-related {
    padding: 50px 0;
    background: #fff;
    margin-top: 0;
    border-top: none;
}

/* ========== Mobile Styles V2 ========== */
@media (max-width: 768px) {
    .channel-hero-v2 {
        padding: 30px 0;
    }

    .channel-profile-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .channel-avatar-v2 {
        width: 180px;
        height: 180px;
    }

    .channel-name-v2 {
        font-size: 28px;
    }

    .channel-excerpt-v2 {
        font-size: 14px;
    }

    .channel-detail-social {
        margin: 20px auto;
    }

    .channel-detail-social .social-item {
        margin-left: 10px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .channel-detail-social .social-count-number {
        font-size: 16px;
        font-weight: 700;
    }

    .channel-detail-social .social-count-followers {
        font-size: 12px;
        font-weight: 500;
    }

    .channel-detail-social .social-item img {
        width: 40px;
        height: 40px;
    }

    .channel-detail-social .social-item:hover::after,
    .channel-detail-social .social-item:hover::before {
        left: 20px;
    }

    .channel-detail-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ============================================
   ADMIN META BOX STYLES
   ============================================ */
.channel-social-table {
    width: 100%;
    border-collapse: collapse;
}

.channel-social-table th,
.channel-social-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.channel-social-table th {
    width: 120px;
    background: #f9f9f9;
}

.channel-social-table input[type="text"],
.channel-social-table input[type="url"] {
    width: 100%;
}

.channel-social-table .followers-input {
    width: 150px;
}

.channel-chart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.channel-chart-table th,
.channel-chart-table td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.channel-chart-table th {
    width: 150px;
    background: #f9f9f9;
}

.channel-chart-table input[type="number"],
.channel-chart-table input[type="text"] {
    width: 100%;
    max-width: 200px;
}

.channel-age-table input[type="text"] {
    max-width: 120px;
}

.channel-age-table input[type="number"] {
    max-width: 100px;
}

/* ============================================
   CHANNEL CHART SECTION - FRONTEND
   ============================================ */
.channel-charts-section {
    padding: 50px 0;
    background: #fff;
}

.channel-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.channel-chart-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.channel-chart-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

.channel-chart-canvas {
    max-width: 300px;
    margin: 0 auto;
}

/* Gender Chart Legend */
.chart-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color--male {
    background: #4285f4;
}

.legend-color--female {
    background: #ea4335;
}

.legend-color--other {
    background: #9e9e9e;
}

/* Age Chart Bars */
.age-chart-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.age-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.age-bar-label {
    min-width: 60px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
}

.age-bar-track {
    flex: 1;
    height: 24px;
    background: #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.age-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e21111, #ff6b6b);
    border-radius: 12px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
}

.age-bar-percent {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.age-bar-percent--outside {
    margin-left: 10px;
    color: #333;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .channel-charts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .channel-chart-box {
        padding: 20px;
    }
}

.website-thanh-vien ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
}

.website-thanh-vien li {
    width: calc(50% - 10px) !important;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.website-thanh-vien img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* ========== Channel Posts / Home Creators ========== */
.home_creators {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    align-items: stretch;
}

.home_creators .channel {
    margin-bottom: 3%;
    padding-left: 10px;
    padding-right: 10px;
}

.home_creators .channel_link {
    display: block;
    position: relative;
    background: black;
    overflow: hidden;
    border-radius: 12px;
    height: calc(100% - 42px);
}

.home_creators .channel_thumb_img {
    position: relative;
    width: 100%;
    height: 100%;
}

.home_creators .channel_thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.home_creators .channel_link:hover .channel_thumbnail {
    transform: scale(1.05);
    opacity: 0.9;
}

.home_creators .channel_title {
    margin-bottom: 8px;
    font-weight: 700;
    color: #000;
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
}

/* Bootstrap Grid for Channel Posts */
.home_creators .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (min-width: 576px) {
    .home_creators .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 768px) {
    .home_creators .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .home_creators .col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 992px) {
    .home_creators .col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .home_creators .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 576px) {
    .home_creators .channel_title {
        margin-bottom: 7px;
        font-weight: 600;
        font-size: 14px;
    }
}

/* ========== SCN Banner / Hero Section ========== */
.hero-section {
    position: relative !important;
    min-height: 720px !important;
    height: 720px !important;
    max-height: calc(100vh - 82px) !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.hero-section>.section-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
}

.hero-section>.section-bg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: bottom center !important;
}

/* Red gradient overlay */
.hero-section>.section-bg::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(0deg, #e90000 0%, rgba(255, 255, 255, 0) 44%) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.hero-section>.section-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    z-index: 3 !important;
    padding: 20px 15px !important;
}

/* Counter Grid */
.scn-counter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.scn-counter-item {
    text-align: center;
    padding: 10px;
}

/* Hide br tags */
.scn-counter-item br,
.scn-counter-number br {
    display: none !important;
}

.scn-counter-number {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.scn-counter-number .count-up {
    background-image: linear-gradient(90deg, #ff396b 50%, #fc3535 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: #fff;
    color: transparent;
}

.scn-counter-suffix {
    font-family: 'Montserrat', sans-serif;
    font-size: 60px;
    font-weight: 700;
    color: #fff;
    margin-left: 2px;
}

.scn-counter-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-top: 5px;
    line-height: 1.2;
    text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        min-height: 375px !important;
        height: 375px !important;
    }

    .scn-counter-number,
    .scn-counter-suffix {
        font-size: 30px;
    }

    .scn-counter-title {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 280px !important;
        height: 280px !important;
    }

    .scn-counter-item {
        width: 25%;
        padding: 5px;
        text-align: center !important;
    }

    .scn-counter-number {
        justify-content: center !important;
    }

    .scn-counter-number,
    .scn-counter-suffix {
        font-size: 16px;
    }

    .scn-counter-title {
        font-size: 10px;
        line-height: 1.3;
        text-align: center !important;
    }
}

@media (max-width: 520px) {
    .hero-section {
        min-height: 220px !important;
        height: 220px !important;
    }

    .scn-counter-number,
    .scn-counter-suffix {
        font-size: 14px;
    }

    .scn-counter-title {
        font-size: 8px;
    }
}

@media (max-width: 380px) {
    .hero-section {
        min-height: 180px !important;
        height: 180px !important;
    }

    .scn-counter-title {
        line-height: 10px;
    }
}