/* ════════════════════════════
       NEWS TABS BAR
    ════════════════════════════ */
.news-tabs-bar {
    background: #7b2d1e;
    width: 100%;
}

.news-tabs-bar .nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.news-tabs-bar .nav::-webkit-scrollbar {
    display: none;
}

.news-tab-btn {
    flex: 1 1 0;
    min-width: 130px;
    padding: 18px 20px;
    background: #5a1e0e;
    color: rgba(255, 255, 255, .80);
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, .15);
    cursor: pointer;
    text-align: center;
    letter-spacing: 0.3px;
    transition: background .2s, color .2s;
    white-space: nowrap;
}

.news-tab-btn:last-child {
    border-right: none;
}

.news-tab-btn.active {
    background: #c8714a;
    color: #ffffff;
}

.news-tab-btn:hover:not(.active) {
    background: #7b2d1e;
    color: #ffffff;
}

/* ════════════════════════════
       NEWS SECTION
    ════════════════════════════ */
.news-section {
    padding: 50px 0 70px;
    background: #ffffff;
}

.news-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #7b2d1e;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ── Tab Content Panels ── */
.news-tab-panel {
    display: none;
}

.news-tab-panel.active {
    display: block;
}

/* ════════════════════════════
       NEWS CARD
    ════════════════════════════ */
.news-card {
    background: #ffffff;
    border: 1.5px solid #e0d8d4;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    transition: box-shadow .25s, transform .25s;
    cursor: pointer;
}

.news-card:hover {
    box-shadow: 0 8px 32px rgba(100, 30, 10, .12);
    transform: translateY(-4px);
}

/* Card image */
.news-card-img {
    width: 100%;
    height: 300px;
    object-fit: fill;
    object-position: center;
    border-radius: 20px;
    display: block;
    padding: 12px 12px 0;
}

/* Card body */
.news-card-body {
    padding: 18px 20px 22px;
}

.news-card-date {
    font-size: 12.5px;
    color: #7F3319;
    margin-bottom: 10px;
    font-weight: 600;
}

.news-card-title {
    font-size: 16px;
    font-weight: 800;
    color: #7F3319;
    line-height: 1.45;
    margin-bottom: 12px;
}

.news-card-desc {
    font-size: 16px;
    color: #000000;
    line-height: 33px;
    margin-bottom: 18px;
    /*font-weight: 600;*/
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #7F3319;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    transition: gap .2s;
}

.news-read-more:hover {
    gap: 12px;
    color: #5a1e0e;
}

/* ════════════════════════════
       NEWS MODAL
    ════════════════════════════ */
.news-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 2, .75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(3px);
}

.news-modal-overlay.active {
    display: flex;
}

.news-modal-box {
    background: #fff;
    border-radius: 18px;
    max-width: 680px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    animation: modalUp .35s ease;
    scrollbar-width: thin;
    padding: 28px 10px 28px;
}

.news-modal-box::-webkit-scrollbar {
    width: 4px;
}

.news-modal-box::-webkit-scrollbar-thumb {
    background: #c8a96e;
    border-radius: 4px;
}

@keyframes modalUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal image */
.news-modal-img {
    width: 100%;
    height: 300px;
    object-fit: fill;
    border-radius: 18px 18px 0 0;
    display: block;
}

/* Modal content */
/* .news-modal-content { padding: 28px 30px 32px; } */
.news-modal-date {
    font-size: 13px;
    color: #7b2d1e;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-modal-title {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 800;
    color: #1a1a1a;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 20px;
}

.news-modal-body p {
    font-size: 16px;
    color: #000000;
    line-height: 33px;
    margin-bottom: 16px;
    /*font-weight: 500;*/
}

.news-modal-body p:last-child {
    margin-bottom: 0;
}

/* Close button */
.news-modal-footer {
    text-align: center;
    padding: 16px 30px 28px;
}

.news-modal-close-btn {
    display: inline-block;
    background: #fff;
    color: #7b2d1e;
    border: 1.5px solid #ddd;
    padding: 12px 52px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .10);
    transition: background .2s, color .2s, transform .15s;
}

.news-modal-close-btn:hover {
    background: #7b2d1e;
    color: #fff;
    transform: scale(1.03);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .news-card-img {
        height: 200px;
    }

    .news-modal-img {
        height: 220px;
    }

    .news-modal-content {
        padding: 20px;
    }

    .news-tab-btn {
        min-width: 110px;
        font-size: 13px;
        padding: 14px 12px;
    }
}

@media (max-width: 480px) {
    .news-tab-btn {
        min-width: 90px;
        font-size: 12px;
        padding: 12px 8px;
    }

    .news-modal-box {
        border-radius: 14px;
    }
}



/* ════════════════════════════
       TABS BAR — NEW DESIGN
    ════════════════════════════ */
.notif-tabs-section {
    background: #ffffff;
    border-bottom: 2px solid #ede8e4;
    box-shadow: 0 2px 12px rgba(60, 20, 10, 0.07);
    position: sticky;
    top: 0;
    z-index: 100;
}

.notif-tabs-wrap {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 0;
}

.notif-tabs-wrap::-webkit-scrollbar {
    display: none;
}

.notif-tab-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 18px 26px;
    background: transparent;
    border: none;
    font-size: 13.5px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: color .2s;
    border-right: 1px solid #ede8e4;
    flex: 1 1 0;        /* ← add/replace this */
    min-width: 0;       /* ← add/replace this */
}

.notif-tab-btn:last-child {
    border-right: none;
}

/* Tab icon circle */
.notif-tab-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0ece8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #aaa;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}

/* Count badge on tab */
.notif-tab-count {
    background: #e8ddd8;
    color: #888;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 20px;
    min-width: 22px;
    text-align: center;
    transition: background .2s, color .2s;
}

/* Active underline indicator */
.notif-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
    transition: background .2s;
}

.notif-tab-btn.active {
    color: #7b2d1e;
}

.notif-tab-btn.active::after {
    background: #7b2d1e;
}

.notif-tab-btn.active .notif-tab-icon {
    background: #f5ede4;
    color: #7b2d1e;
}

.notif-tab-btn.active .notif-tab-count {
    background: #7b2d1e;
    color: #ffffff;
}

.notif-tab-btn:hover:not(.active) {
    color: #5a2010;
}

.notif-tab-btn:hover:not(.active) .notif-tab-icon {
    background: #f5ede4;
    color: #7b2d1e;
}

/* ════════════════════════════
       NOTIFICATION SECTION
    ════════════════════════════ */
.notif-section {
    padding: 40px 0 70px;
}

/* Section heading row */
.notif-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.notif-section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #3b1a10;
}

.notif-section-title span {
    font-size: 14px;
    font-weight: 600;
    color: #999;
    margin-left: 10px;
}

.notif-mark-all {
    font-size: 13px;
    font-weight: 700;
    color: #7b2d1e;
    background: #f5ede4;
    border: 1px solid rgba(123, 45, 30, .2);
    border-radius: 20px;
    padding: 7px 18px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.notif-mark-all:hover {
    background: #7b2d1e;
    color: #fff;
}

/* Tab content panel */
.notif-tab-panel {
    display: none;
}

.notif-tab-panel.active {
    display: block;
}

/* ════════════════════════════
       NOTIFICATION CARD
    ════════════════════════════ */
.notif-card {
    background: #ffffff;
    border: 1.5px solid #ede8e4;
    border-radius: 14px;
    padding: 22px 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 16px;
    transition: box-shadow .25s, border-color .25s, transform .2s;
    position: relative;
    overflow: hidden;
}

.notif-card:hover {
    box-shadow: 0 6px 28px rgba(100, 30, 10, .10);
    border-color: #c8a96e;
    transform: translateY(-2px);
}

/* Unread left border accent */
.notif-card.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #7b2d1e;
    border-radius: 14px 0 0 14px;
}

/* Icon box */
.notif-icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.notif-icon-alert {
    background: #fdf0ec;
    color: #7b2d1e;
}

.notif-icon-info {
    background: #edf4fd;
    color: #2456c8;
}

.notif-icon-success {
    background: #edfdf4;
    color: #1a8c50;
}

.notif-icon-warning {
    background: #fdf8ec;
    color: #c87a24;
}

.notif-icon-doc {
    background: #f5ede4;
    color: #5a2010;
}

/* Card content */
.notif-card-content {
    flex: 1;
    min-width: 0;
}

.notif-card-top {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 7px;
}

.notif-badge {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
}

.badge-new {
    background: #7b2d1e;
    color: #fff;
}

.badge-important {
    background: #c87a24;
    color: #fff;
}

.badge-update {
    background: #2456c8;
    color: #fff;
}

.badge-circular {
    background: #1a8c50;
    color: #fff;
}

.badge-deadline {
    background: #8b1a1a;
    color: #fff;
}

.notif-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #1e1e1e;
    line-height: 1.4;
    margin-bottom: 7px;
}

.notif-card.unread .notif-card-title {
    color: #3b1a10;
}

.notif-card-desc {
    font-size: 16px;
    color: #000000;
    line-height: 33px;
    margin-bottom: 14px;
    /*font-weight: 500;*/
}

.notif-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.notif-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.notif-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.notif-meta-item i {
    font-size: 11px;
}

.notif-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #7b2d1e;
    background: #f5ede4;
    border: 1px solid rgba(123, 45, 30, .18);
    border-radius: 20px;
    padding: 6px 16px;
    cursor: pointer;
    transition: background .2s, color .2s, gap .2s;
    text-decoration: none;
}

.notif-view-btn:hover {
    background: #7b2d1e;
    color: #fff;
    gap: 10px;
}

/* Unread dot on right */
.notif-unread-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #7b2d1e;
    margin-top: 6px;
    box-shadow: 0 0 0 3px rgba(123, 45, 30, .15);
}

/* ── Divider between cards ── */
.notif-day-label {
    font-size: 12px;
    font-weight: 800;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 28px 0 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notif-day-label::before,
.notif-day-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e2de;
}

/* ── Empty state ── */
.notif-empty {
    text-align: center;
    padding: 60px 20px;
    color: #bbb;
}

.notif-empty i {
    font-size: 52px;
    color: #ddd;
    margin-bottom: 16px;
    display: block;
}

.notif-empty p {
    font-size: 15px;
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .notif-tab-btn {
        padding: 14px 14px;
        font-size: 12px;
    }

    .notif-tab-btn span.label {
        display: none;
    }

    .notif-card {
        flex-direction: column;
        gap: 12px;
    }

    .notif-unread-dot {
        position: absolute;
        top: 16px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .notif-icon-box {
        width: 42px;
        height: 42px;
        font-size: 17px;
        border-radius: 10px;
    }

    .notif-card-title {
        font-size: 14px;
    }
}


/* ── TAB NAVIGATION ── */
    .nav-area {
      background: #fff;
      border-bottom: 3px solid #E8D5C8;
      padding: 0 0 0 0;
    }
 
    .nav-inner {
      display: flex;
      align-items: stretch;
      gap: 0;
      border-left: 1px solid #E8D5C8;
    }
 
    .tab-btn {
      flex: 1;
      background: #fff;
      border: none;
      border-right: 1px solid #E8D5C8;
      border-bottom: 4px solid transparent;
      padding: 18px 10px 14px;
      font-size: 0.92rem;
      font-weight: 700;
      color: #6B2010;
      letter-spacing: 0.04em;
      cursor: pointer;
      transition: background 0.25s, border-color 0.25s, color 0.25s;
      text-align: center;
      position: relative;
      text-transform: uppercase;
    }
 
    .tab-btn:hover {
      background: #FDF6F0;
      color: #C1622A;
    }
 
    .tab-btn.active {
      background: #6B2010;
      color: #fff;
      border-bottom-color: #C1622A;
    }
 
    .tab-btn.active::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 8px solid transparent;
      border-right: 8px solid transparent;
      border-top: 6px solid #C1622A;
    }
 
    /* ── SECTION TITLE ── */
    .section-title {
      font-size: 2.8rem;
      font-weight: 700;
      color: #6B2010;
      text-align: center;
      padding: 40px 0 10px;
      letter-spacing: 0.02em;
      position: relative;
    }
 
    .section-title::after {
      content: '';
      display: block;
      width: 70px;
      height: 3px;
      background: #C1622A;
      margin: 12px auto 0;
      border-radius: 2px;
    }
 
    /* ── TAB PANELS ── */
    .tab-panel { display: none; }
    .tab-panel.active { display: block; }
 
    /* ── CASE STUDY CARD ── */
    .case-card {
      background: #fff;
      border: 1px solid #E8D5C8;
      border-radius: 12px;
      box-shadow: 0 2px 12px rgba(107,32,16,0.07);
      overflow: hidden;
      margin-bottom: 28px;
      transition: box-shadow 0.25s, transform 0.22s;
    }
 
    .case-card:hover {
      box-shadow: 0 8px 28px rgba(107,32,16,0.14);
      transform: translateY(-3px);
    }
 
    .case-card-header {
      background: #6B2010;
      padding: 16px 24px;
      display: flex;
      align-items: center;
      gap: 14px;
    }
 
    .case-number {
      font-size: 1.7rem;
      font-weight: 700;
      color: #D4845A;
      min-width: 36px;
      line-height: 1;
    }
 
    .case-title {
      font-size: 1.05rem;
      font-weight: 600;
      color: #fff;
      margin: 0;
      line-height: 1.4;
    }
 
    .case-card-body {
      padding: 22px 24px 20px;
    }
 
    .case-meta {
      font-size: 0.8rem;
      color: #000000;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
 
    .case-meta span {
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
 
    .case-meta .dot {
      width: 4px;
      height: 4px;
      background: #D4845A;
      border-radius: 50%;
      display: inline-block;
    }
 
    .case-body-text {
      font-size: 16px;
      color: #000000;
      line-height: 33px;
      margin: 0;
      text-align: justify;
    }
 
    .case-body-text + .case-body-text {
      margin-top: 14px;
    }
 
    .case-divider {
      border: none;
      border-top: 1px dashed #E8D5C8;
      margin: 18px 0 0;
    }
 
    /* ── CONTENT AREA ── */
    .content-wrap {
      padding: 10px 0 50px;
    }
 
    @media (max-width: 767px) {
      .nav-inner { flex-wrap: wrap; }
      .tab-btn { flex: 0 0 50%; font-size: 0.78rem; padding: 14px 6px 10px; }
      .section-title { font-size: 1.5rem; }
      .case-card-header { padding: 14px 16px; }
      .case-card-body { padding: 16px; }
    }