/* ═══════════════════════════════════════════════════
   15. Legacy Styles moved from home_index.blade.php
   ═══════════════════════════════════════════════════ */
.series-link-item {
    color: #333333 !important;
    transition: color 0.15s ease-in-out;
}
.series-link-item:hover {
    color: var(--head_bg, #337ab7) !important;
    text-decoration: underline !important;
}
.text-header-news{
    font-size: 18px;
}
.img-news-thumbnail{
    border-radius: 15px;
}
.btn-view {
    font-size: 12px;
    font-weight: bold;
    height: 42px;
    color: var(--ds-color-white);
    background: var(--ds-color-link-bootstrap);
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border-color: var(--ds-color-link-bootstrap);
}
.btn-view:hover {
    background-color: #2e6da4;
    border-color: #2e6da4;
    color: var(--ds-color-white);
}
.btn-view:active {
    background-color: #2e6da4 !important;
    border-color: #2e6da4;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff
}
.btn-view:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    color: var(--ds-color-white);
    background-color: #2e6da4
}
.btn-view.disabled {
    background-color: rgba(254, 93, 112, 0.5);
    border-color: rgba(254, 93, 112, 0.5)
}
.btn-edit {
    font-size: 12px;
    font-weight: bold;
    height: 42px;
    color: var(--ds-color-white);
    background: #f0ad4e;
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border-color: #eea236;
}
.btn-edit:hover {
    background-color: #ec971f;
    border-color: #d58512;
    color: var(--ds-color-white);
}
.btn-edit:active {
    background-color: #ec971f !important;
    border-color: #d58512;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff
}
.btn-edit:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    color: var(--ds-color-white);
    background-color: #ec971f
}
.btn-edit.disabled {
    background-color: rgba(254, 93, 112, 0.5);
    border-color: rgba(254, 93, 112, 0.5)
}
.btn-delete {
    font-size: 12px;
    font-weight: bold;
    height: 42px;
    color: var(--ds-color-white);
    background: #d9534f;
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    border-color: #d43f3a;
}
.btn-delete:hover {
    background-color: #c9302c;
    border-color: #ac2925;
    color: var(--ds-color-white);
}
.btn-delete:active {
    background-color: #c9302c !important;
    border-color: #ac2925;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff
}
.btn-delete:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    color: var(--ds-color-white);
    background-color: #c9302c
}
.btn-delete.disabled {
    background-color: rgba(254, 93, 112, 0.5);
    border-color: rgba(254, 93, 112, 0.5)
}
.news{
    height: 168px;
    background: #222222;
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.25);
    border-radius: 0px 0px 30px 30px;
}
.badge {
  padding: 5px 10px;
  border-radius: 50%;
  background: var(--head_bg);
  color: var(--head_font) !important;
}
.text-header1{
    color: var(--head_bg);
}
.newsDetail{
    font-size: 18px;
    color: #000000;
    text-align: left;
    cursor: pointer;
    height: 105px;
}
@media (max-width: 1450px){
    .newsDetail{
        height: auto !important;
    }
}
.image_h3{
    object-fit: cover;
    object-position: 50% 50%;
    width: 100% !important;
    aspect-ratio: 16 / 10 !important;
    height: auto !important;
    border-radius: 10px;
    border: 1px solid #0000002b;
}
.product{
    margin: 0px;
    padding: 5px;
}
.box-news{
    margin: 0px;
    padding: 10px;
    background: #ffffff;
    border-radius: 10px;
    width: 100%;
    position: relative;
}
.text-date{
    font-size: 18px;
    color: #999999;
    padding-right: 10px;
    margin-bottom: 0px;
}
.text-create{
    font-size: 18px;
    color: var(--head_bg);
}



/* ═══════════════════════════════════════════════════
   14. Styles from home_index.blade.php (DOAE-278 UX/UI)
   ═══════════════════════════════════════════════════ */
.datepicker-dropdown {
    z-index: 9999 !important;
}
.search-control {
    height: 48px !important;
}
select.search-control,
.ds-toolbar select.ds-toolbar__select.search-control,
.ds-toolbar select.ds-toolbar__select.home-news-toolbar-select {
    height: 48px !important;
    min-height: 48px !important;
    line-height: 46px !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
}
.home-news-toolbar-select {
    min-width: 140px;
    flex: 1;
}
.home-news-toolbar-input {
    min-width: 160px;
    flex: 1.5;
}
.home-news-toolbar-date {
    width: 100%;
    background-color: #fff !important;
    cursor: pointer;
}
.home-news-toolbar-date-icon {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    color: #999 !important;
    z-index: 10 !important;
}
.home-news-toolbar-btn {
    min-width: 100px;
}
.home-news-card-wrapper {
    padding: 15px;
    margin: 5px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    background: #fff;
    position: relative;
}
.home-news-thumbnail-contain {
    object-fit: contain !important;
    border-radius: 8px;
}
.home-news-series-badge {
    background-color: var(--head_bg);
    color: white;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    border: none;
}
.home-news-accordion-container {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 8px;
}
.home-news-accordion-toggle {
    font-size: 13px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--head_bg, #337ab7) !important;
}
.home-news-accordion-content {
    margin-top: 8px;
    padding-left: 15px;
    border-left: 2px solid var(--head_bg, #0094FF);
    text-align: left;
}

/* Custom extra-large breakpoint for side-by-side radio and search toolbar */
@media (min-width: 1725px) {
    .col-xxl-6 {
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}

