.search-result {
    border-radius: unset;
    filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.102));
}


.searchResultMask {
    position: absolute;
    left: -2px;
    bottom: 0;
}

.searchResultCardMask {
    border-radius: 0px;
    object-fit: cover;
    margin: 0px;
    max-width: 182px;
    width: 100%;
    height: 63px;
}

.search-pagination .page-item .page-link {
    background-color: #ffffff;
    border-radius: 50%;
    border-color: #ffffff;
    text-decoration: none;
    color: #1D1D1B;
}

.search-pagination .page-item .page-link.disabled {
    background-color: #D0D5DD;
    border-radius: 50%;
    border-color: #D0D5DD;
    color: #98A2B3;
}

.search-pagination .page-item .page-link.active {
    background-color: #E42313;
    border-radius: 50%;
    border-color: #E42313;
    color: #ffffff;
}


.box-form-limit{
    border-color: white;
}


.NewsCard-Wrapper {
    position: relative;
}

.ImgHolder {
    border-radius: 0px;
    object-fit: cover;
    margin: 0px;
    max-width: 416px;
    width: 100%;
    height: 234px;
}

.newsBox {
    width: 100%;
    height: auto;
    text-decoration: none;
}

.searchBoxCardImage{
    position: relative;

}

.css-1xo0zjq{
    display: block;
    vertical-align: baseline;
    text-align: initial;
    box-sizing: border-box;
    margin: 0px 0px;
    width: initial;
    height: auto;
    border: 0px;
    border-radius: 0px;
    box-shadow: initial;
    background: initial;
    color: initial;
}

.searchImageCard{
    border-radius: 0px;
    object-fit: cover;
    margin: 0px;
    max-width: 100%;
    width: 100%;
    height: 80%;
}

.newsMask {
    position: absolute;
    left: -2px;
    bottom: 0;
}

.newsCardMask {
    border-radius: 0px;
    object-fit: cover;
    margin: 0px;
    max-width: 182px;
    width: 100%;
    height: 63px;
}

.newsCardTimestamp {
    position: absolute;
    left: 8px;
    bottom: 8px;
}

.newsCardTimestampStyle{
    box-sizing: border-box;
    font-family: lato;
    font-weight: 399;
    margin: 0px;
    line-height: 1.4;
    color: rgb(102, 112, 133);
    background-color: initial;
    display: revert;
}

.searchCardCategory{
    display: block;
    vertical-align: baseline;
    text-align: initial;
    box-sizing: border-box;
    padding: 4px 8px;
    width: initial;
    height: auto;
    border: 0px;
    border-radius: 24px;
    box-shadow: initial;
    background: initial;
    color: initial;
}

.searchCardCategoryText{
    box-sizing: border-box;
    font-family: lato;
    font-weight: normal;
    font-size: 12px;
    margin: 0px;
    line-height: 1.4;
    color: white;
    background-color: initial;
    display: revert;
}

.newsCardDetails {
    display: block;
    vertical-align: baseline;
    text-align: initial;
    box-sizing: border-box;
    width: initial;
    height: auto;
    border: 0px;
    border-radius: 0px;
    box-shadow: initial;
    background: initial;
    color: initial;
}

.newsCardHeaderText{
    box-sizing: border-box;
    font-family: lato;
    font-weight: 700;
    font-size: 22px;
    margin: 0px 0px -1rem;
    line-height: 32px;
    color: inherit;
    background-color: initial;
    display: revert;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.newsCardDescriptionText {
    box-sizing: border-box;
    font-family: lato;
    font-weight: normal;
    margin: 0px 0px 3rem;
    line-height: 1.4;
    color: rgb(102, 112, 133);
    background-color: initial;
    display: revert;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gapPaging{
    gap: 8px;
}

.searchResultmore{
    color: red;
    text-decoration: none;
}

.searchResultmore:hover{
    color: #c72727;
    text-decoration: underline;
}

/* Extra small devices (portrait phones, less than 576px) */
/* @media (max-width: 575.98px) {
    .news .event-highlight h6 {
        font-size: 150%;
        font-weight: 400;
    }
    .news .nav {
        overflow-x: scroll;
        padding-left: unset !important;
        padding-right: unset !important;
        margin-right: unset !important;
        margin-left: unset !important;
        flex-wrap: unset !important;
    }
    .news .nav::-webkit-scrollbar {
        display: none;
    }
    .news .font-subtitle {
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 17px;
    }
    .news .row {
        display: block;
    }
} */

/* Small devices (landscape phones, 576px and up) */
/* @media (min-width: 576px) {
    .news .event-highlight h6 {
        font-size: 100%;
        font-weight: 400;
    }
    .news .nav {
        overflow-x: scroll;
        padding-left: unset !important;
        padding-right: unset !important;
        margin-right: unset !important;
        margin-left: unset !important;
        flex-wrap: unset !important;
    }
    .news .nav::-webkit-scrollbar {
        display: none;
    }
    .news .font-subtitle {
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 17px;
    }
} */

@media (min-width: 0px) {
    .list-result {
        width: calc(100% - 10px); /* Two items per row for tablet layout */
    }
}


@media (max-width: 768px) {
    .search-result .wrapper-content .wrapper-component .wrapper-image {
        padding: unset !important;
    }
    .search-result .wrapper-content .wrapper-component .wrapper-text {
        padding: unset !important;
    }
    .search-result .wrapper-content .wrapper-component .wrapper-text h4 {
        font-size: 28px !important;
    }
    .search-result .wrapper-content .wrapper-component .wrapper-text h6 {
        font-size: 18px !important;
    }
    .search-result .wrapper-content .wrapper-component .wrapper-text p {
        font-size: 14px !important;
    }
    .search-result .wrapper-content .wrapper-component .wrapper-text a {
        font-size: 14px !important;
    }
}


/* Moved from views/new-design/component-search-result.ejs */
/* tabs*/
  .search-tabs-wrap {
    display: flex;
    align-items: stretch;
  }

  .search-tabs-btn-prev,
  .search-tabs-btn-next {
    display: none;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    z-index: 2;
    cursor: pointer;
    border: 0;
    background: transparent;
  }

  .search-tabs-btn-prev {
    left: 0;
    background: linear-gradient(90deg, #fff 40%, hsla(0, 0%, 100%, .6) 60%, hsla(0, 0%, 100%, 0));
  }

  .search-tabs-btn-next {
    right: 0;
    background: linear-gradient(270deg, #fff 40%, hsla(0, 0%, 100%, .6) 60%, hsla(0, 0%, 100%, 0));
  }

  .search-tabs {
    display: flex;
    gap: 24px;
    list-style: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  .search-tabs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #6b7280;
    padding: 16px 0;
  }

  .search-tabs li.active {
    color: #E42313;
    border-bottom: 2px solid #E42313;
  }

  .tab-count {
    min-width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #E42313;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    line-height: 1;
  }

  /* section */
  .section {
    margin-bottom: 48px;
  }

  .search-layout-row {
    --bs-gutter-x: 3.5rem;
    --bs-gutter-y: 0;
    align-items: flex-start;
  }

  #leftContent .section-title,
  #rightSidebar .section-title {
    margin-top: 0;
    color: #667085;
  }

  #leftContent .section {
    margin-bottom: 48px;
  }

  #rightSidebar .section {
    margin-bottom: 36px;
  }

  .section-title {
    font-weight: 700;
    margin: 24px 0 34px 0;
    font-size: 24px;
  }

  /* thumb */
  .thumb {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    object-fit: cover;
  }

  /* product grid - match component-segment-detail behavior */
  .search-product-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    padding: 0;
    column-gap: 20px;
    row-gap: 20px;
    margin-bottom: 24px;
  }

  .search-product-grid .segment-card {
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
  }

  .search-product-grid .segment-card .card-body {
    position: relative;
    gap: 0.75rem;
    align-items: center;
    justify-content: initial;
    box-sizing: border-box;
    padding: 16px 12px;
    width: initial;
    height: auto;
    border: initial;
    box-shadow: none;
    background: #ffffff;
    color: initial;
    min-height: 220px;
  }

  .search-product-grid .segment-card .card-body .text {
    margin-bottom: 0.5rem;
    font-size: 18px;
    width: 100%;
    text-align: left;
  }

  .search-product-grid .segment-card .card-body p {
    margin: unset !important;
  }

  .search-product-grid .segment-card img {
    display: block;
    align-self: center;
    border-radius: 0;
    margin: 0 auto 8px;
    width: auto;
    max-height: 52px;
    max-width: 100%;
    object-fit: contain;
  }

  .search-product-grid .segment-card .card-body .text .body-small-2 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 4);
  }

  .search-product-grid .segment-card .card-body .btn {
    bottom: 8%;
    width: calc(100% - 48px);
    display: none;
    background-color: rgb(228, 35, 19);
    border-color: rgb(228, 35, 19);
    color: rgb(255, 255, 255);
    border-radius: 1rem;
    padding-right: 20px;
    padding-left: 20px;
    font-size: 14px;
    height: 44px;
    box-shadow: 0px -20px 50px 25px rgba(255,255,255,1);
  }

  .search-product-grid .segment-card .card-body .btn i {
    font-size: 20px;
  }

  .search-product-grid .segment-card .card-body:hover > .btn {
    display: flex;
  }

  /* solution tab */
  .solution-grid-wrap {
    background: #EAECF0;
    border-radius: 24px;
    padding: 24px;
  }

  .solution-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }

  .solution-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    min-height: 260px;
    position: relative;
    box-shadow: 0 8px 16px rgba(16, 24, 40, 0.08);
    display: flex;
    flex-direction: column;
  }

  .solution-card img {
    width: 100%;
    max-width: 130px;
    max-height: 46px;
    object-fit: contain;
    margin-bottom: 14px;
  }

  .solution-name {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
    color: #101828;
  }

  .solution-desc {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #667085;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .solution-desc.solution-desc-has-image {
    -webkit-line-clamp: 2;
  }

  .solution-desc p {
    margin: 0;
  }

  .solution-see-detail {
    margin-top: auto;
    width: 100%;
    height: 42px;
    border-radius: 12px;
    background: #E42313;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .solution-card:hover .solution-see-detail,
  .solution-card:focus-within .solution-see-detail {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .solution-empty {
    color: #667085;
    font-size: 14px;
  }

  /* report */
  .report-row {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px;
    gap: 4.69px;
    width: 100%;
    min-height: 72px;
    border-bottom: 1px solid #D0D5DD;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
  }
  .report-row + .report-row {
    margin-top: 0;
  }
  .report-row > span {
    flex: 1;
    min-width: 0;
    margin-right: 16px;
  }

  .report-title {
    font-size: 16px;
    line-height: 1.5;
    color: #101828;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .report-download-icon {
    display: none;
    width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    color: #E42313;
    text-decoration: none;
    margin-left: auto;
    flex: 0 0 24px;
  }

  .report-download-icon .material-icons-round {
    font-size: 18px;
    line-height: 1;
  }
  .report-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 12px;
    margin: 0;
    width: auto;
    min-width: 223px;
    height: 36px;
    flex: none;
    order: 1;
    flex-grow: 0;
  }

  /* Keep Product and Report aligned in right sidebar (including zoomed/side-window mode) */
  #rightSidebar #reportSection {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  #rightSidebar #reportSection .section-title {
    margin-top: 0;
    margin-bottom: 16px;
  }

  #rightSidebar #reportSection .report-row {
    width: 100%;
    padding: 24px 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-height: auto;
  }

  #rightSidebar #reportSection .report-row > span {
    flex: 1 1 0%;
    min-width: 0;
    overflow: hidden;
    margin-right: 0;
  }

  #rightSidebar #reportSection .report-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #101828;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  #rightSidebar #reportSection .report-actions {
    display: none;
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }

  #rightSidebar #reportSection .report-actions .btn-pill {
    padding: 0 10px;
    height: 28px;
    width: auto;
    font-size: 14px;
    border-radius: 8px;
  }

  #rightSidebar #reportSection .report-download-icon {
    display: inline-flex;
    flex: 0 0 auto;
  }

  #rightSidebar #reportSection .report-row:hover .report-actions,
  #rightSidebar #reportSection .report-row:focus-within .report-actions {
    display: flex;
  }

  #rightSidebar #reportSection .report-row:hover .report-download-icon,
  #rightSidebar #reportSection .report-row:focus-within .report-download-icon {
    display: none;
  }

  #rightSidebar #reportSection .report-row:hover .report-title,
  #rightSidebar #reportSection .report-row:focus-within .report-title {
    color: #E42313;
    font-weight: 600;
  }

  #rightSidebar #reportSection .report-row:hover,
  #rightSidebar #reportSection .report-row:focus-within {
    border-bottom-color: #F97066;
  }

  #rightSidebar #reportSection .report-download-icon .material-icons-round {
    font-size: 18px;
  }

  #rightSidebar #reportSection .report-more {
    margin-top: 12px;
    justify-content: center;
  }

  #rightSidebar #reportSection .report-more .btn-show-more {
    /* font-size: 13px;
    padding: 8px 20px; */
    align-items: center;
    gap: 6px;
    background: #FDECEC;
    color: #E42313;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
  }

  #rightSidebar #reportSection .section-more-wrap {
    margin-top: 10px;
  }

  #reportSection[data-active-tab="report"] .report-row {
    align-items: center;
    position: relative;
  }

  #reportSection[data-active-tab="report"] .report-title {
    color: #101828;
    margin-right: 12px;
  }

  #reportSection[data-active-tab="report"] .report-actions {
    display: none;
  }

  #reportSection[data-active-tab="report"] .report-download-icon {
    display: inline-flex;
  }

  #reportSection[data-active-tab="report"] .report-row:hover .report-actions,
  #reportSection[data-active-tab="report"] .report-row:focus-within .report-actions {
    display: flex;
  }

  #reportSection[data-active-tab="report"] .report-row:hover .report-download-icon,
  #reportSection[data-active-tab="report"] .report-row:focus-within .report-download-icon {
    display: none;
  }

  /* button */
  .btn-pill {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    gap: 4px;
    width: 104px;
    height: 36px;
    border-radius: 10px;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    text-decoration: none;
    border: 0;
    flex: none;
    order: 0;
    flex-grow: 0;
    white-space: nowrap;
  }

  .btn-primary {
    background: #E42313;
    color: #fff;
    width: 107px;
  }

  .btn-outline {
    border: 0;
    color: #E42313;
    background: #FCE7E5;
  }

  .btn-icon {
    width: 16px;
    height: 16px;
    font-size: 16px;
    line-height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    order: 2;
    flex-grow: 0;
  }

  .btn-primary-full {
    display: block;
    width: 100%;
    background: #E42313;
    color: #fff;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
  }

  .report-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .report-pagination .page-btn,
  .report-pagination .page-number {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #101828;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .report-pagination .page-btn.first,
  .report-pagination .page-btn.last {
    width: auto;
    border-radius: 999px;
    padding: 0 16px;
    font-size: 14px;
    background: #F2F4F7;
    color: #344054;
  }

  .report-pagination .page-btn.first:hover,
  .report-pagination .page-btn.last:hover {
    background: #E4E7EC;
  }

  .report-pagination .page-number.active {
    background: #E42313;
    color: #fff;
    cursor: default;
  }

  .report-pagination .page-btn.disabled {
    color: #98A2B3;
    background: transparent !important;
    cursor: not-allowed;
    pointer-events: none;
  }

  .content-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .content-pagination .page-btn,
  .content-pagination .page-number {
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #101828;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .content-pagination .page-btn.first,
  .content-pagination .page-btn.last {
    width: auto;
    border-radius: 999px;
    padding: 0 16px;
    font-size: 14px;
    background: #F2F4F7;
    color: #344054;
  }

  .content-pagination .page-btn.first:hover,
  .content-pagination .page-btn.last:hover {
    background: #E4E7EC;
  }

  .content-pagination .page-number.active {
    background: #E42313;
    color: #fff;
    cursor: default;
  }

  .content-pagination .page-btn.disabled {
    color: #98A2B3;
    background: transparent !important;
    cursor: not-allowed;
    pointer-events: none;
  }

  /* footer product */
  .product-more {
    text-align: center;
    margin: 24px 0;
  }

  .btn-show-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FDECEC;
    color: #E42313;
    border: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
  }

  .product-footer {
    margin-top: 12px;
  }

  .another-link {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .section-more-wrap {
    display: none;
    margin-top: 16px;
  }

  .section-more-product {
    margin-top: 12px;
  }

  .report-more {
    display: none;
    justify-content: center;
    margin-top: 14px;
  }

  .another-link:hover {
    text-decoration: underline;
  }

  /* result page */
  .page-result-item {
    margin-bottom: 28px;
  }

  .page-result-title {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
    text-decoration: none;
    margin-bottom: 12px;
  }

  .page-result-title:hover {
    text-decoration: underline;
  }

  .page-result-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    width: 100%;
    max-width: 100%;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: calc(1.7em * 4);
    text-overflow: ellipsis;
    margin-bottom: 0;
  }
  .page-result-desc p {
    margin: 0;
    display: inline;
  }
  .page-result-desc br {
    display: none;
  }

  .page-result-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
  }

  .page-result-more:hover {
    text-decoration: underline;
  }

  .page-see-detail-row {
    position: static;
    margin-top: 18px;
    margin-bottom: 6px;
  }

  .page-result-item:hover .page-see-detail-row,
  .page-result-item:focus-within .page-see-detail-row {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .search-card-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 26px;
  }

  .search-card-media {
    width: 240px;
    min-width: 240px;
    position: relative;
  }

  .search-card-media .ImgHolder {
    border-radius: 20px;
    object-fit: cover;
    margin: 0;
    max-width: 240px;
    width: 100%;
    height: 240px;
  }

  .NewsCard-ImgMask {
    position: absolute;
    left: -4px;
    bottom: -3px;
  }

  .ImgCard_Timestamp {
    position: absolute;
    left: 5px;
    bottom: 5px;
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    color: #344054;
  }

  .news-category-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 120px;
    padding: 4px 8px;
    border-radius: 8px;
    background: rgba(29, 29, 27, 0.82);
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 2;
  }

  .search-card-content {
    flex: 1;
    min-width: 0;
  }

  .search-card-title {
    box-sizing: border-box;
    font-weight: 700;
    font-size: 28px;
    margin: 0 0 16px;
    line-height: 1.2;
    color: #1D2939;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .search-card-summary {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
    color: #667085;
    text-align: left;
  }

  .btn-see-detail-row {
    margin-top: 14px;
    width: 100%;
    height: 42px;
    border-radius: 12px;
    background: #E42313;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .btn-see-detail-row:hover {
    color: #fff;
    text-decoration: none;
  }

  .search-card-row:hover .btn-see-detail-row,
  .search-card-row:focus-within .btn-see-detail-row {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* === News / Articles dedicated tab === */
  .search-result[data-active-tab="news"] .section-news .search-card-row,
  .search-result[data-active-tab="articles"] .section-articles .search-card-row {
    align-items: stretch;
    margin-bottom: 32px;
  }

  .search-result[data-active-tab="news"] .section-news .search-card-media,
  .search-result[data-active-tab="articles"] .section-articles .search-card-media {
    width: 280px;
    min-width: 280px;
    align-self: stretch;
    flex-shrink: 0;
  }

  .search-result[data-active-tab="news"] .section-news .search-card-media .ImgHolder,
  .search-result[data-active-tab="articles"] .section-articles .search-card-media .ImgHolder {
    max-width: 280px;
    width: 100%;
    height: 100%;
    min-height: 200px;
    border-radius: 20px;
    object-fit: cover;
  }

  /* content area: relative + hidden so ::after gradient clips correctly */
  .search-result[data-active-tab="news"] .section-news .search-card-content,
  .search-result[data-active-tab="articles"] .section-articles .search-card-content {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 0;
    flex: 1;
  }

  /* description: max 6 lines, clamp overflow */
  .search-result[data-active-tab="news"] .section-news .news-result-desc,
  .search-result[data-active-tab="articles"] .section-articles .article-result-desc {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.55;
    max-height: calc(1.55em * 6);
    flex: 1;
  }

  /* soft gradient overlay: hidden by default, revealed on hover */
  .search-result[data-active-tab="news"] .section-news .search-card-content::after,
  .search-result[data-active-tab="articles"] .section-articles .search-card-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(
      to top,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.88) 18%,
      rgba(255, 255, 255, 0.62) 48%,
      rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 1;
  }

  .search-result[data-active-tab="news"] .section-news .search-card-row:hover .search-card-content::after,
  .search-result[data-active-tab="news"] .section-news .search-card-row:focus-within .search-card-content::after,
  .search-result[data-active-tab="articles"] .section-articles .search-card-row:hover .search-card-content::after,
  .search-result[data-active-tab="articles"] .section-articles .search-card-row:focus-within .search-card-content::after {
    opacity: 1;
  }

  /* "See Details" button: absolute at bottom of content, above gradient */
  .search-result[data-active-tab="news"] .section-news .btn-see-detail-row,
  .search-result[data-active-tab="articles"] .section-articles .btn-see-detail-row {
    margin-top: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
  }

  .search-result[data-active-tab="all"] .section-news .news-result-desc,
  .search-result[data-active-tab="all"] .section-articles .article-result-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 4);
  }

  .search-result[data-active-tab="all"] .section-news .search-card-row,
  .search-result[data-active-tab="all"] .section-articles .search-card-row {
    position: relative;
    margin-bottom: 34px;
    --all-card-cta-x: 0px;
    --all-card-cta-bottom: 0px;
    --all-card-cta-h: 44px;
  }

  .search-result[data-active-tab="all"] .section-news .search-card-row::after,
  .search-result[data-active-tab="all"] .section-articles .search-card-row::after {
    content: "";
    position: absolute;
    left: var(--all-card-cta-x);
    right: var(--all-card-cta-x);
    bottom: var(--all-card-cta-bottom);
    height: calc(var(--all-card-cta-h) + 16px);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.26) 38%, rgba(255, 255, 255, 0.62) 72%, rgba(255, 255, 255, 0.86) 100%);
    backdrop-filter: blur(2px);
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 1;
    opacity: 0;
  }

  .search-result[data-active-tab="all"] .section-news .btn-see-detail-row,
  .search-result[data-active-tab="all"] .section-articles .btn-see-detail-row {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    position: absolute;
    left: var(--all-card-cta-x);
    right: var(--all-card-cta-x);
    bottom: var(--all-card-cta-bottom);
    height: var(--all-card-cta-h);
    margin-top: 0;
    z-index: 2;
    box-shadow: 0 -8px 16px rgba(255, 255, 255, 0.28);
  }

  .search-result[data-active-tab="all"] .section-news .search-card-row:hover .btn-see-detail-row,
  .search-result[data-active-tab="all"] .section-news .search-card-row:focus-within .btn-see-detail-row,
  .search-result[data-active-tab="all"] .section-articles .search-card-row:hover .btn-see-detail-row,
  .search-result[data-active-tab="all"] .section-articles .search-card-row:focus-within .btn-see-detail-row {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .search-result[data-active-tab="all"] .section-news .search-card-row:hover::after,
  .search-result[data-active-tab="all"] .section-news .search-card-row:focus-within::after,
  .search-result[data-active-tab="all"] .section-articles .search-card-row:hover::after,
  .search-result[data-active-tab="all"] .section-articles .search-card-row:focus-within::after {
    opacity: 1;
  }

  .search-result[data-active-tab="all"] .section-more-wrap {
    display: block;
  }

  .search-result[data-active-tab="all"] .report-more {
    display: flex;
  }

  .search-result[data-active-tab="page"] .section-page .page-result-desc {
    max-width: 100%;
    -webkit-line-clamp: 4;
    max-height: calc(1.7em * 4);
  }

  @media (max-width: 991.98px) {
    .search-tabs {
      overflow-x: auto;
      flex-wrap: nowrap;
      -webkit-overflow-scrolling: touch;
      scroll-behavior: smooth;
    }

    .search-tabs::-webkit-scrollbar {
      display: none;
    }

    .search-tabs li {
      white-space: nowrap;
      flex-shrink: 0;
    }
  }

  @media (max-width: 575.98px) {
    .search-layout-row {
      --bs-gutter-x: 1rem;
      --bs-gutter-y: 0;
    }

    .page-result-title {
      font-size: 22px;
    }

    .search-card-title {
      font-size: 22px;
    }

    .search-card-summary,
    .page-result-desc {
      font-size: 14px;
    }

    .product-grid,
    .search-product-grid {
      grid-template-columns: 1fr;
    }

    .solution-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }

    .solution-grid-wrap {
      padding: 16px;
      border-radius: 16px;
    }

    .search-card-row {
      flex-direction: column;
      gap: 10px;
    }

    .search-card-media {
      width: 100%;
      min-width: 0;
    }

    .search-card-media .ImgHolder {
      max-width: 100%;
      height: auto;
      aspect-ratio: 1 / 1;
    }

    .search-result[data-active-tab="news"] .section-news .search-card-media,
    .search-result[data-active-tab="articles"] .section-articles .search-card-media {
      width: 100%;
      min-width: 0;
    }

    .search-result[data-active-tab="news"] .section-news .search-card-media .ImgHolder,
    .search-result[data-active-tab="articles"] .section-articles .search-card-media .ImgHolder {
      max-width: 100%;
      height: auto;
      min-height: unset;
      aspect-ratio: 16 / 9;
    }

    .report-row {
      flex-direction: row;
      align-items: center;
      gap: 8px;
      padding: 16px 0;
      min-height: auto;
    }

    .report-row > span {
      margin-right: 0;
      min-width: 0;
    }

    .report-actions {
      width: auto;
      min-width: 0;
      flex-shrink: 0;
      justify-content: flex-end;
      display: flex;
    }

    .report-download-icon {
      display: none;
    }

    #reportSection[data-active-tab="report"] .report-actions {
      display: flex;
    }

    #reportSection[data-active-tab="report"] .report-download-icon {
      display: none;
    }
  }

  @media (min-width: 992px) and (max-width: 1399.98px) {
    .search-layout-row {
      --bs-gutter-x: 2rem;
    }

    .search-product-grid {
      column-gap: 16px;
      row-gap: 16px;
    }

    .search-product-grid .segment-card .card-body {
      min-height: 200px;
      padding: 14px 10px;
    }

    .search-product-grid .segment-card .card-body .text .body-small-2 {
      font-size: 14px;
      line-height: 1.45;
    }

    #rightSidebar #reportSection .report-row {
      flex-wrap: nowrap;
      align-items: center;
      gap: 8px;
    }

    #rightSidebar #reportSection .report-row > span {
      flex: 1 1 0%;
      min-width: 0;
      overflow: hidden;
      margin-right: 0;
    }

    #rightSidebar #reportSection .report-actions {
      flex: 0 0 auto;
      min-width: 0;
      width: auto;
    }
  }

  @media (min-width: 992px) {
    .search-result[data-active-tab="all"] .section-news .search-card-title,
    .search-result[data-active-tab="all"] .section-articles .search-card-title {
      font-size: 29px;
      line-height: 1.25;
      margin-bottom: 14px;
      -webkit-line-clamp: 3;
    }

    .search-result[data-active-tab="all"] .section-news .search-card-summary,
    .search-result[data-active-tab="all"] .section-articles .search-card-summary {
      font-size: 17px;
      line-height: 1.57;
    }
  }

  @media (min-width: 576px) and (max-width: 991.98px) {
    .solution-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 992px) and (max-width: 1199.98px) {
    .solution-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  /* ====================================================
     SKELETON LOADING
     ==================================================== */

  @keyframes sk-shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
  }

  .skeleton-box {
    background: #e0e0e0;
    background-image: linear-gradient(
      90deg,
      #e0e0e0 0px,
      #eeeeee 40%,
      #e0e0e0 80%
    );
    background-size: 600px 100%;
    animation: sk-shimmer 1.4s linear infinite;
    border-radius: 6px;
  }

  .tab-loading-skeleton {
    padding: 8px 0 24px;
  }

  .mt-2 { margin-top: 8px; }

  /* card row skeleton (news / articles) */
  .sk-card-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 26px;
  }

  .sk-media {
    width: 240px;
    min-width: 240px;
    height: 240px;
    border-radius: 20px;
    flex-shrink: 0;
  }

  .sk-content {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
  }

  .sk-line {
    height: 14px;
    margin-bottom: 10px;
    border-radius: 4px;
  }

  .sk-line-title  { height: 22px; width: 80%; margin-bottom: 14px; }
  .sk-line-short  { width: 40%; }
  .sk-line-full   { width: 100%; }
  .sk-line-mid    { width: 65%; }

  /* page result skeleton */
  .sk-page {
    margin-bottom: 28px;
  }

  .sk-page .sk-line-title {
    height: 26px;
    width: 72%;
    margin-bottom: 12px;
  }

  /* solution card skeleton */
  .sk-sol-wrap {
    background: #EAECF0;
    border-radius: 24px;
    padding: 24px;
  }

  .sk-sol-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
  }

  .sk-sol-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 20px;
    min-height: 200px;
  }

  .sk-sol-img {
    width: 80px;
    height: 32px;
    border-radius: 4px;
    margin-bottom: 14px;
  }

  /* report skeleton */
  .sk-report-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #F2F4F7;
  }

  .sk-report-row .sk-line {
    flex: 1;
    height: 16px;
    margin: 0;
  }

  .sk-report-actions {
    width: 140px;
    height: 28px;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .skeleton-item {
    margin-bottom: 12px;
  }

  @media (max-width: 575.98px) {
    .sk-card-row {
      flex-direction: column;
    }
    .sk-media {
      width: 100%;
      min-width: 0;
      height: 200px;
    }
    .sk-sol-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (min-width: 576px) and (max-width: 991.98px) {
    .sk-sol-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 992px) and (max-width: 1199.98px) {
    .sk-sol-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
