/* Sabib Ahmed Portfolio - Style matching mostafij-rahman.github.io */
* {
    color: inherit;
}
html {
    color: #000;
}
.uk-label {
    color: black;
    text-transform: none;
    background-color: transparent;
    border: 1px solid black;
    padding: 0px 3px;
}
/* Social icons styling */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 8px;
    border-radius: 50%;
    color: #fff !important;
    font-size: 24px;
    line-height: 60px;
    text-decoration: none;
    transition: transform .2s, background .2s;
}
.social-icon i {
    color: #fff !important;
    font-size: 24px;
    line-height: 60px;
}
.social-icon:hover {
    transform: scale(1.1);
    background: #333;
}
.uk-text-bold {
    font-weight: 600;
}
.uk-h2, h2 {
    font-size: 1.5rem;
}
.uk-text-lead {
    font-size: 1.0rem;
    line-height: 1.5;
    color: #333;
}
.uk-text-lead {
    color: #800000;
}

/* Added background color for the top header */
.uk-navbar-container {
    background-color: #BF5701 !important; /* Burnt Orange - UT Austin color */
}

/* Card styling */
.uk-card-default {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.uk-card-primary {
    border-radius: 8px;
}

/* Publication tags */
.uk-label {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* List item spacing */
.uk-list > li {
    margin-bottom: 25px;
}

/* Links styling */
a {
    color: #007fe6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #BF5701;
}

/* Section dividers */
hr.uk-margin-small {
    margin-top: 30px;
    margin-bottom: 20px;
    border-top: 1px solid #e5e5e5;
}

/* Profile image styling */
.uk-border-circle {
    border: 4px solid #BF5701;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Grid spacing */
.uk-grid-small > * {
    padding-left: 15px;
}

/* Navigation links */
.uk-navbar-nav > li > a {
    color: white !important;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.uk-navbar-nav > li > a:hover {
    opacity: 0.8;
}

/* Logo styling */
.uk-logo {
    font-weight: 700 !important;
    color: white !important;
}

/* Status badges */
span[style*="background-color: lightgreen"] {
    font-weight: 500;
}

span[style*="background-color: #17a2b8"] {
    font-weight: 500;
}

/* Content container */
.uk-container {
    padding-left: 20px;
    padding-right: 20px;
}

/* Research/Publication item hover effect */
.uk-list > li:hover {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-left: -15px;
    margin-right: -15px;
    transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        line-height: 50px;
    }
    .social-icon i {
        font-size: 20px;
        line-height: 50px;
    }
    
    .uk-h2, h2 {
        font-size: 1.3rem;
    }
    
    .uk-text-lead {
        font-size: 0.95rem;
    }
}

/* Footer styling */
.uk-section-secondary {
    padding: 20px 0;
}

.uk-section-secondary p {
    color: white !important;
    margin: 0;
}

/* Card body padding */
.uk-card-body {
    padding: 25px 30px;
}

/* Icons in header */
.uk-flex-center a i {
    font-size: 1.2rem;
    color: #007fe6;
    transition: color 0.3s ease;
}

.uk-flex-center a i:hover {
    color: #BF5701;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile menu (offcanvas) styling */
.uk-offcanvas-bar {
    background-color: #BF5701;
}

.uk-nav-primary > li > a {
    color: white !important;
}

/* Print styles */
@media print {
    .uk-navbar-container,
    .uk-section-secondary {
        background-color: #BF5701 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}



/* ─────────────────────────────────────────
   NEWS SECTION
   ───────────────────────────────────────── */

.news {
  padding: 3rem 0;
}

.news-section h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: #c87722;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  padding-left: 0.25rem;
  border-left: 4px solid #c87722;
  padding-left: 0.75rem;
}

/* ── Scrollable wrapper ── */
.news-list-wrapper {
  background: #ffffff;
  border: 1px solid #e8e4dc;
  border-radius: 12px;
  padding: 0.5rem 1.75rem;
  max-height: 500px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #d4cfc4 transparent;
}

.news-list-wrapper::-webkit-scrollbar {
  width: 5px;
}

.news-list-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.news-list-wrapper::-webkit-scrollbar-thumb {
  background: #d4cfc4;
  border-radius: 4px;
}

/* ── List reset ── */
ul.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Each item ── */
ul.news-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 0.9rem 0;
  border-bottom: 1px dashed #ece8e0;
  font-size: 0.935rem;
  line-height: 1.7;
  color: #2b2b2b;
}

ul.news-list li:last-child {
  border-bottom: none;
}

/* custom bullet */
ul.news-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: #aaa9a2;
  margin-top: 0.58em;
  transition: background 0.2s;
}

ul.news-list li.is-new::before {
  background: #b8320a;
  box-shadow: 0 0 0 3px #fde8e0;
}

/* ── "New!" badge ── */
.badge-new {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b8320a;
  background: #fff4f0;
  border: 1px solid #f5c4b0;
  border-radius: 4px;
  padding: 1px 7px;
  margin-right: 4px;
  vertical-align: middle;
  white-space: nowrap;
}

/* ── Date label ── */
.date {
  font-weight: 600;
  color: #111;
}

/* ── Conference / award links (bold blue) ── */
a.conf {
  color: #1558b0;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s;
}

a.conf:hover {
  border-bottom-color: #1558b0;
}

/* ── Paper / general links ── */
a.paper {
  color: #1864c4;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px dashed #91b4e8;
  transition: border-color 0.15s, color 0.15s;
}

a.paper:hover {
  color: #0d47a1;
  border-bottom-style: solid;
}

/* ── Award inline text (non-link) ── */
a.award {
  color: #1558b0;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s;
}

a.award:hover {
  border-bottom-color: #1558b0;
}

/* ── Highlight award span ── */
.highlight-award {
  font-weight: 700;
  color: #1558b0;
}
