:root {
  --violet: #7c6fe0;
  --teal: #2fb6a6;
  --amber: #e0a63c;
  --red: #e0637c;
  --ink: #12121a;
  --footer-bg: #003d5c;
  --footer-bg-2: #2c6054;
  --muted: #9490aa;
  --hair: rgba(255, 255, 255, 0.08);
  --midnight: #10182b;
  --paper: #f2f5f9;
  --paper-raised: #ffffff;
  --violet: #2c6054;
  --teal: #003964;
  --amber: #f2a63c;
  --red: #e0563f;
  --ink: #141b2e;
  --muted: #616e86;
  --line: #dce3ec;
  --spectrum: linear-gradient(
    90deg,
    #2c6054 0%,
    #3e7bd6 22%,
    #003d5c 45%,
    #4fb84a 60%,
    #f2a63c 80%,
    #e0563f 100%
  );
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

.serif {
  /* /* font-family: "Fraunces", serif; */ */
}

.mono {
  font-family: "IBM Plex Mono", monospace;
}

h1,
h2,
h3 {
  /* /* font-family: "Fraunces", serif; */ */
  color: var(--midnight);
  font-weight: 600;
}
h1{
  font-size: 20px;
}
::selection {
  background: var(--violet);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 2px;
}

/* spectrum bar utility */
.spectrum-rule {
  height: 4px;
  background: var(--spectrum);
  border: none;
  border-radius: 2px;
}

.eyebrow {
  /* /* font-family: "Fraunces", serif; */ */
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--violet);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--spectrum);
  display: inline-block;
  border-radius: 2px;
}

/* ==========================================================
   UNIFIED SECTION SPACING
   Every direct block in the main content column and sidebar
   gets the SAME gap below it via .content-section, regardless
   of whatever margin its own component class (.panel,
   .side-card, .popular-block, .logo-strip, .journal-card, etc.)
   might already define. This replaces the old mismatched
   Bootstrap utilities (mb-3 / mb-4 / mb-5 / mt-4) that were
   causing uneven or doubled-up gaps between sections.
   ========================================================== */
.content-section {
  margin-top: 0 !important;
  margin-bottom: 2rem !important;
}

.content-section:last-child {
  margin-bottom: 0 !important;
}

/* ---------- Nav ---------- */
/* ================= Header ================= */

.site-nav {
  background: #2c6054;
  padding: 10px 0;
}

.site-nav .navbar-brand img {
  max-width: 100%;
  object-fit: contain;
}

.site-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0 !important;
  transition: 0.3s;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: #ffd700 !important;
}

/* Toggle Button */
.site-nav .navbar-toggler {
  background: transparent;
  padding: 6px 8px;
}

/* Make hamburger white */
.site-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile */
@media (max-width: 991px) {
  .site-nav .navbar-collapse {
    margin-top: 12px;
    padding: 10px 0;
  }

  .site-nav .navbar-nav {
    gap: 0 !important;
  }

  .site-nav .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-nav .nav-link {
    padding: 10px 5px !important;
  }
}

@media (max-width: 575px) {
  .site-nav .navbar-brand img {
    height: 42px !important;
  }
}

.site-nav .dropdown-menu {
  background: #2c6054;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  min-width: 200px;
}

.site-nav .dropdown-item {
  color: #fff;
  font-size: 14px;
  padding: 9px 15px;
}

.site-nav .dropdown-item:hover {
  background: #fff;
  color: #2c6054;
}

/* Dropdown arrow */
.site-nav .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
}

/* Mobile dropdown */
@media (max-width: 991px) {
  .site-nav .dropdown-menu {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    margin: 0;
  }

  .site-nav .dropdown-item {
    padding: 9px 15px;
  }
}
.hero {
  padding: 80px 0;
}

.hero-title {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.2;
}

.hero-sub {
  font-size: 16px;
  color: #666;
  margin: 20px 0;
  max-width: 650px;
}

.hero-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  background: #f3f3ff;
  color: #6c3cff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
}

.hero-img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .hero {
    text-align: center;
  }

  .hero-chip-row {
    justify-content: center;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-sub {
    font-size: 16px;
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

.hero-img {
  animation:
    hero-img-in 0.9s ease-out both,
    hero-img-float 4.5s ease-in-out 0.9s infinite;
  will-change: transform;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.18));

    float: right;
    border-radius: 16px;
}

/* Entrance: fades and rises into place on page load */
@keyframes hero-img-in {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Loop: a slow, subtle up-and-down float, like the image is at rest */
@keyframes hero-img-float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Small extra lift on hover, on top of the float */
.hero-img:hover {
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.24));
}

@media (prefers-reduced-motion: reduce) {
  .hero-img {
    animation: none;
  }
}
/* Primary Button */
.btn-violet {
  background: linear-gradient(135deg, #003964, #52a459);
  color: #fff;
  border: none;
  padding: 14px 32px;

  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(91, 33, 182, 0.25);
}

.btn-violet:hover {
  background: linear-gradient(135deg, #003964, #52a459);
  color: #fff;
  transform: translateY(-3px);
}

/* Secondary Button */
.btn-ghost {
  background: #ffffff;
  color: #2c6054;
  border: 2px solid #2c6054;
  padding: 14px 32px;

  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: #2c6054;
  color: #fff;
}
/* ---------- Panels ---------- */
.panel {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.6rem;
}

.panel h2 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.panel p {
  color: #3d4a63;
  line-height: 1.75;
  font-size: 0.96rem;
}

.util-links a {
  color: var(--midnight);
  font-weight: 600;
  font-size: 0.85rem;
  margin-right: 1.2rem;
  margin-top: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.util-links a i {
  color: var(--teal);
}

.date-item {
  border-left: 3px solid var(--line);
  padding-left: 0.9rem;
}

.date-item.v-violet {
  border-color: var(--violet);
}

.date-item.v-teal {
  border-color: var(--teal);
}

.date-item.v-amber {
  border-color: var(--amber);
}

.date-item.v-red {
  border-color: var(--red);
}

.date-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.date-value {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 0.15rem;
}

/* agenda */
.agenda-tabs {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}

.agenda-tabs .nav-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.88rem;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 0.5rem 0;
  margin-right: 1.6rem;
}

.agenda-tabs .nav-link.active {
  color: var(--violet);
  background: transparent;
  border-bottom: 2px solid var(--violet);
}

.agenda-table {
  font-size: 0.88rem;
}

.agenda-table thead th {
  background: var(--midnight);
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 0.65rem 1rem;
  border: none;
}

.agenda-table td {
  padding: 0.75rem 1rem;
  color: #33415c;
  vertical-align: middle;
  border-color: var(--line);
}

.agenda-table .timing {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
  white-space: nowrap;
  color: var(--muted);
}

/* Make wide tables scroll horizontally on small screens instead of
   squeezing columns or breaking the page layout */
.table-responsive-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* people */
.section-lede {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.person {
  text-align: center;
}

.avatar-ring {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  padding: 3px;
  background: var(--spectrum);
  margin: 0 auto 0.8rem;
}

.avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--paper-raised);
}

.person-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.person-role {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

@media (max-width: 420px) {
  .avatar-ring {
    width: 88px;
    height: 88px;
  }
}

/* find next */
.next-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--midnight);
  background: var(--paper-raised);
  transition: border-color 0.15s;
}

.next-card:hover {
  border-color: var(--violet);
}

/* similar events */
.event-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.1rem;
  height: 100%;
}

.event-tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.event-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.5rem 0 0.3rem;
  line-height: 1.35;
}

.event-loc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.event-card .btn {
  font-size: 0.82rem;
}

/* sidebar */
.side-card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.3rem;
}

.side-title {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.organizer-name {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.organizer-line {
  font-size: 0.86rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.organizer-line i {
  color: var(--teal);
}

.indexed-badge {
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
  color: #333;
}

.cfp-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.86rem;
}

.cfp-list li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.55rem;
  color: #3d4a63;
}

.cfp-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spectrum);
  position: absolute;
  left: 0;
  top: 0.45rem;
}

.more-link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--violet);
  display: inline-block;
  margin-bottom: 0.9rem;
}

.venue-text {
  font-size: 0.88rem;
  color: #3d4a63;
  line-height: 1.65;
}

.qi-row {
  font-size: 0.86rem;
  margin-bottom: 0.65rem;
  display: flex;
  justify-content: space-between;
}

.qi-label {
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.qi-value {
  font-weight: 600;
}

/* newsletter */
.newsletter {
  background: var(--midnight);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--spectrum);
}

.newsletter h2 {
  color: #fff;
}

.newsletter p {
  color: #9ba6c0;
  max-width: 520px;
  margin: 0.7rem auto 1.6rem;
}

.newsletter-form {
  max-width: 460px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 3px 0 0 3px;
  border: 1px solid #2b3654;
  background: #182036;
  color: #fff;
  padding: 0.7rem 1rem;
}

.newsletter-form .form-control::placeholder {
  color: #7f8cab;
}

.newsletter-form .btn {
  flex: 0 0 auto;
  border-radius: 0 3px 3px 0;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .newsletter {
    padding: 3rem 0;
  }

  .newsletter-form {
    flex-direction: column;
    max-width: 340px;
  }

  .newsletter-form .form-control {
    width: 100%;
    border-radius: 4px;
  }

  .newsletter-form .btn {
    width: 100%;
    border-radius: 4px;
    margin-top: 0.6rem;
    padding: 0.75rem 1rem;
  }
}

/* footer */
/* ============ FOOTER ============ */
.site-footer {
  background: linear-gradient(
    180deg,
    var(--footer-bg) 0%,
    var(--footer-bg-2) 100%
  );
  color: var(--muted);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 0;
  font-size: 0.94rem;
  line-height: 1.6;
}
.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--hair);
}

.footer-brand-col .brand-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  text-decoration: none;
}
.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--violet), var(--teal));
  flex-shrink: 0;
}
.brand-logo {
  max-height: 44px;
  width: auto;
}
.brand-name {
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.footer-desc {
  max-width: 32ch;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hair);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}
.footer-social a:hover {
  background: var(--violet);
  border-color: var(--violet);
  transform: translateY(-2px);
}

.footer-col h6 {
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  color: #fff;
  margin-bottom: 1.1rem;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  /* color: var(--muted); */
  color: #fff;
  text-decoration: none;
  transition:
    color 0.15s ease,
    padding-left 0.15s ease;
  display: inline-block;
}
.footer-col a:hover {
  color: #fff;
  padding-left: 2px;
}

/* collapsible columns on mobile */
.footer-col-toggle {
  display: none;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0 0 1.1rem 0;
  text-align: left;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.footer-col-toggle i {
  transition: transform 0.2s ease;
  font-size: 0.7rem;
  color: var(--muted);
}
.footer-col-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0 2rem;
  font-size: 0.82rem;
  color: #fff;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-bottom-links a {
  color: #fff;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: #fff;
}

/* ============ RESPONSIVE ============ */

/* Tablet: brand takes full width, link columns wrap to 2x2 */
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.25rem;
  }
  .footer-brand-col {
    grid-column: 1 / -1;
  }
  .footer-desc {
    max-width: 44ch;
  }
}

/* Mobile: single column, columns become accordions */
@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .footer-brand-col {
    padding-bottom: 1.75rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--hair);
  }
  .footer-col {
    border-bottom: 1px solid var(--hair);
    padding: 1.25rem 0;
  }
  .footer-col-toggle {
    display: flex;
    padding-bottom: 0;
  }
  .footer-col ul {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.25s ease;
    margin-top: 0;
  }
  .footer-col ul > * {
    overflow: hidden;
  }
  .footer-col.is-open ul {
    grid-template-rows: 1fr;
    margin-top: 1rem;
  }
  .footer-col h6 {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
}

/* ---------- Hero responsive ---------- */
@media (max-width: 991.98px) {
  .hero {
    padding: 2rem 0 5.5rem;
    text-align: center;
  }

  .hero-chip-row,
  .hero-stats {
    justify-content: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero .d-flex.flex-wrap.gap-3 {
    justify-content: center;
  }

  .hero-stat {
    text-align: left;
  }

  .cover-facts-band {
    padding: 1.4rem 1.2rem;
    border-radius: 12px;
  }

  .facts-key {
    width: 130px;
    font-size: 0.88rem;
  }

  .facts-val {
    font-size: 0.88rem;
    min-width: 140px;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 1.8rem 0 5rem;
  }

  .hero-title {
    font-size: 1.6rem;
    letter-spacing: -0.3px;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .hero-code {
    font-size: 0.8rem;
  }

  .hero .d-flex.flex-wrap.gap-3 {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem !important;
  }

  .hero .d-flex.flex-wrap.gap-3 .btn {
    width: 100%;
    text-align: center;
  }

  .hero .d-flex.flex-wrap.gap-3 .share-text {
    text-align: center;
    margin-top: 0.2rem;
  }

  .hero-stat {
    flex: 1 1 100%;
    text-align: center;
  }

  .facts-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.6rem 0;
  }

  .facts-key {
    width: auto;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--violet);
    font-weight: 600;
  }

  .facts-val {
    min-width: 0;
    width: 100%;
    text-align: left;
    margin-left: 0;
  }

  .btn-viewmore {
    margin-top: 0.4rem;
  }

  .cover-thumb {
    width: 110px;
  }
}

:root {
  --brand-red: #c0272d;
  --brand-navy: #2b3a4a;
  --brand-orange: #f2a71b;
  --panel-bg: #f4f4f4;
  --panel-border: #e2e2e2;
}

.top-bar {
  border-bottom: 2px solid #eee;
  padding: 14px 0;
}
.top-bar .member-link {
  font-weight: 700;
}
.top-bar .member-link .red {
  color: var(--brand-red);
}
.top-bar .member-link .blue {
  color: #2f6fb3;
  cursor: pointer;
}

.search-box {
  display: flex;
  margin-bottom: 20px;
}
.search-box input {
  border-radius: 0;
  border: 1px solid #ccc;
}
.search-box button {
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  color: #fff;
  border-radius: 0;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  padding: 14px 16px;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  border-radius: 2px;
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.sidebar-btn i {
  color: var(--brand-red);
  width: 18px;
  text-align: center;
}
.sidebar-btn:hover {
  background: #ececec;
  color: #333;
}
.sidebar-btn.active {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}
.sidebar-btn.active i {
  color: var(--brand-orange);
}

.news-panel {
  background: var(--brand-navy);
  color: #fff;
  padding: 16px;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 2px;
  margin-top: 6px;
}
.news-panel-body {
  background: #fff;
  border: 1px solid var(--panel-border);
  border-top: none;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: #555;
  max-height: 220px;
  overflow-y: auto;
}

.hero-banners {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}
.hero-card {
  position: relative;
  flex: 1;
  min-height: 230px;
  border-radius: 2px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background-size: cover;
  background-position: center;
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05));
  z-index: 0;
}
.hero-card .hero-content {
  position: relative;
  z-index: 1;
}
.hero-card h5 {
  font-weight: 600;
  margin-bottom: 6px;
}
.hero-card .click-here {
  color: var(--brand-orange);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
}
.hero-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: var(--brand-red);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 1;
}
.banner1 {
  background-image:
    linear-gradient(rgba(20, 20, 20, 0.35), rgba(20, 20, 20, 0.55)),
    url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=60");
}
.banner2 {
  background-image:
    linear-gradient(rgba(30, 50, 70, 0.35), rgba(30, 50, 70, 0.55)),
    url("https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&w=900&q=60");
}

.section-title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 10px 0 26px;
}
.section-title hr {
  flex: 1;
  border: none;
  border-top: 3px double #333;
  margin: 0;
}
.section-title h4 {
  color: var(--brand-red);
  font-weight: 700;
  white-space: nowrap;
  margin: 0;
}
.content-panel h3 {
  color: var(--brand-navy);
  font-weight: 700;
  margin-bottom: 18px;
}
.content-panel p {
  line-height: 1.75;
  color: #4a4a4a;
}
.content-panel ul li {
  line-height: 1.8;
  color: #4a4a4a;
}

.breadcrumb-bar {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 18px;
}
.breadcrumb-bar a {
  color: var(--brand-red);
  text-decoration: none;
}

.to-top-btn {
  position: fixed;
  right: 0;
  bottom: 60px;
  background: var(--brand-red);
  color: #fff;
  padding: 12px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 6px 0 0 6px;
  writing-mode: vertical-rl;
  z-index: 1000;
  cursor: pointer;
  text-align: center;
}

@media (max-width: 767px) {
  .hero-banners {
    flex-direction: column;
  }
  .hero-card {
    min-height: 180px;
  }
}

.quick-links-card {
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}

.quick-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.quick-links-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.quick-links-list a {
  display: block;
  padding: 0.9rem 1.1rem;
  background: var(--violet);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  transition:
    background 0.15s ease,
    padding-left 0.15s ease;
}

@media (max-width: 575px) {
  .quick-links-list a {
    font-size: 0.88rem;
    padding: 0.8rem 1rem;
  }
}

.past-issues-card {
  position: relative;
  padding-top: 2.5rem;
  overflow: visible;
}

/* ---- Ribbon / flag banner ---- */
.ribbon-header {
  position: absolute;
  top: -22px;
  left: -1px;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;

  padding: 0.75rem 1.75rem 0.75rem 1.15rem;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  box-shadow: 0 3px 6px rgba(21, 19, 31, 0.18);
  white-space: nowrap;
}

/* ---- Issue list ---- */
.issue-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}
.issue-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--ink);
}
.issue-vol {
  font-weight: 700;
}
.issue-date {
  color: var(--muted);
  font-weight: 500;
}

/* ---- View More pill button ---- */
.btn-view-more {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.75rem;
  border-radius: 999px;
  box-shadow: 0 3px 6px rgba(21, 19, 31, 0.15);
  transition:
    background 0.15s ease,
    transform 0.15s ease;
}
.btn-view-more:hover {
  background: #1a7a6d;
  transform: translateY(-1px);
  color: #fff;
}

/* ---- Responsive ---- */
@media (max-width: 575px) {
  .ribbon-header {
    font-size: 0.76rem;
    padding: 0.65rem 1.4rem 0.65rem 1rem;
  }
  .issue-list li {
    font-size: 0.84rem;
  }
}

/* ---- Month/date pill ---- */
.stat-pill {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

/* ---- Stat rows ---- */
.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stats-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.38rem 0;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.stat-label {
  font-weight: 700;
  color: var(--ink);
  flex: 0 0 auto;
}
.stat-sep {
  color: var(--muted);
}
.stat-value {
  margin-left: auto;
  font-weight: 700;
  color: var(--ink);
}

/* ---- Responsive ---- */
@media (max-width: 575px) {
  .stats-list li {
    font-size: 0.86rem;
  }
  .stat-pill {
    font-size: 0.78rem;
    padding: 0.3rem 0.9rem;
  }
}

/* ---- Join list (block-style links) ---- */
.join-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
}

.join-list li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.join-list a {
  display: block;
  padding: 0.8rem 1rem;
  background: var(--violet);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  transition:
    background 0.15s ease,
    padding-left 0.15s ease;
}

/* ---- Responsive ---- */
@media (max-width: 575px) {
  .join-list a {
    font-size: 0.84rem;
    padding: 0.7rem 0.9rem;
  }
}

/* ==========================================================
   SESSION TRACKS — side card with a continuous vertical ticker
   ========================================================== */

.tracks-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* thin purple accent along the top edge */
.tracks-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2c6054;
}

.tracks-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #111111;
  display: flex;
  align-items: center;
  margin-bottom: 0.4rem;
}

.tracks-title i {
  color: #2c6054;
}

.tracks-desc {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.85rem;
  color: #6b6b6b;
  margin-bottom: 1.25rem;
}

/* --- Ticker viewport --- */

.tracks-ticker {
  position: relative;
  height: 220px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.tracks-track {
  display: flex;
  flex-direction: column;
  animation: tracks-scroll-up 18s linear infinite;
}

.tracks-ticker:hover .tracks-track {
  animation-play-state: paused;
}

.tracks-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  color: #111111;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e4e4e7;
}

.tracks-item .tracks-num {
  flex: 0 0 auto;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: #2c6054;
  min-width: 1.6rem;
}

/* Seamless loop: the track list is duplicated once in the markup,
   and the animation moves exactly the height of one copy. */
@keyframes tracks-scroll-up {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.tracks-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  color: #2c6054;
  text-decoration: none;
}

.tracks-more:hover {
  text-decoration: underline;
}

.tracks-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 1.25rem;
  background: #2c6054;
  color: #ffffff;
  border: 1px solid #2c6054;
  border-radius: 6px;
  padding: 0.65rem 1rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.tracks-cta:hover {
  background: #003d5c;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.35);
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .tracks-track {
    animation: none;
  }
  .tracks-ticker {
    overflow-y: auto;
  }
}

@media (max-width: 575px) {
  .tracks-card {
    padding: 1.4rem 1.1rem 1.2rem;
  }
  .tracks-ticker {
    height: 180px;
  }
}

/* similar section */
.journal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 1.35rem 1.25rem 1.25rem;
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.journal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2c6054;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
  border-color: #d9cbfb;
}

.journal-card:hover::before {
  transform: scaleX(1);
}

.journal-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.journal-kind {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2c6054;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
}

.journal-vol {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  color: #9a9aa2;
}

.journal-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #111111;
  margin-bottom: 0.6rem;
  flex-grow: 1;
}

.journal-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.8rem;
  color: #6b6b6b;
  margin-bottom: 1.1rem;
}

.journal-loc i {
  color: #2c6054;
  font-size: 0.78rem;
}

.journal-btn {
  display: block;
  width: 100%;
  text-align: center;
  background: #2c6054;
  color: #ffffff;
  border: 1px solid #2c6054;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.journal-btn:hover {
  background: #6d28d9;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}

/* ==========================================================
   POPULAR CONTENT — publication list with visit-count badges
   ========================================================== */

.popular-block {
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  overflow: hidden;
}

.popular-banner {
  background: #2c6054;
  color: #ffffff;
  text-align: center;

  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1rem;
}

.popular-list {
  padding: 0.25rem 1.5rem;
}

.popular-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px dashed #c7c7cf;
}

.popular-row:last-child {
  border-bottom: none;
}

.popular-info {
  flex: 1 1 auto;
  min-width: 0;
}

.popular-title {
  display: block;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e2a6e;
  text-decoration: none;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.popular-title:hover {
  text-decoration: underline;
}

.popular-authors {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.85rem;
  color: #2b2b33;
}

.popular-visit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #9dc9a1a8;
  color: #1e2a6e;
  border: 1px solid #9dc9a1a8;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Widened from the original 575.98px breakpoint: on tablets (the
   .col-lg-8 main column is already full-width below 992px) the
   row was still forced side-by-side and crowded the visit pill
   against the title. Stack earlier, at the md breakpoint. */
@media (max-width: 767.98px) {
  .popular-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .popular-visit {
    align-self: flex-start;
  }

  .popular-list {
    padding: 0.25rem 1rem;
  }
}

.logo-strip {
  position: relative;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  border-radius: 12px;
  padding: 1.5rem 0;
  overflow: hidden;
}

.logo-strip-heading {
  text-align: center;

  font-size: 20px;
  letter-spacing: 0.1em;

  color: #101010;
  margin-bottom: 1.1rem;
}
.logo-item img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.logo-strip-viewport {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.logo-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logo-strip-scroll 26s linear infinite;
}

.logo-strip-viewport:hover .logo-strip-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 2.75rem;

  font-weight: 700;
  font-size: 1.05rem;
  color: #4b4b55;
  white-space: nowrap;
  opacity: 0.75;
  transition:
    opacity 0.2s ease,
    filter 0.2s ease,
    color 0.2s ease;
}

.logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  color: #2c6054;
}

.logo-item img {
  height: 40px;
  width: auto;
  display: block;
}

/* Seamless loop: track is duplicated once in the markup;
   animation moves exactly the width of one copy (-50%). */
@keyframes logo-strip-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-strip-track {
    animation: none;
  }
  .logo-strip-viewport {
    overflow-x: auto;
  }
}

@media (max-width: 575px) {
  .logo-strip-heading {
    font-size: 16px;
  }
  .logo-item {
    padding: 0 1.5rem;
  }
}

.download-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.download-btn {
  background: #2c6054;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-weight: 600;
  transition: 0.3s;
}

.download-btn:hover {
  background: #58447c;
  transform: translateY(-2px);
}

.download-btn i {
  font-size: 16px;
}

/* about */

.scope-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
}

@media (min-width: 576px) {
  .scope-list {
    columns: 2;
    column-gap: 1.75rem;
  }
}

.scope-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.7rem;
  color: #3d4a63;
  font-size: 0.92rem;
  line-height: 1.5;
  break-inside: avoid;
}

.scope-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spectrum);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

/* =========================================
           JOURNAL PAPER LIST
        ========================================= */

.paper-row {
  border-bottom: 1px solid #e9e6f2;
  padding: 1rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem;
}

.paper-row:last-child {
  border-bottom: 0;
}

.paper-num {
  font-weight: 600;
  color: var(--violet);
  min-width: 36px;
  font-size: 0.9rem;
}

.paper-body {
  flex: 1;
  min-width: 200px;
}

.paper-title {
  font-weight: 600;
  font-size: 1.05rem;
  color: #1252bc;
}

.paper-title a {
  color: #1252bc;
  text-decoration: none;
}

.paper-title a:hover {
  text-decoration: underline;
}

.paper-authors {
  font-size: 0.85rem;
  color: #1782c5;
  margin-top: 3px;
}

.paper-meta {
  font-size: 0.85rem;
  color: #3d3a4a;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  margin-top: 0.2rem;
}

.paper-meta i {
  margin-right: 0.2rem;
}

.paper-views {
  background: #f0edf7;
  padding: 0.2rem 0.7rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 500;
}

.paper-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  align-items: center;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.paper-actions a {
  color: #4b3a6b;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.paper-actions a:hover {
  color: var(--violet);
}

.paper-actions .pdf-link {
  color: #dc3545;
}

.paper-actions .pdf-link:hover {
  color: #b02a37;
}

.badge-free {
  background: #d4edda;
  color: #155724;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
}

.download-citation {
  background: #f5f3fa;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  font-size: 0.8rem;
  text-decoration: none;
  color: #4b3a6b;
}

.download-citation:hover {
  color: var(--violet);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

/* =========================================
           SIDEBAR
        ========================================= */

.side-card {
  margin-bottom: 2rem;
}

.ribbon-header {
  font-weight: 600;
  font-size: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--violet-light);
  margin-bottom: 1rem;
}

.issue-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.issue-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0edf7;
  font-size: 0.9rem;
}

.issue-list li:last-child {
  border-bottom: 0;
}

.stat-pill {
  background: var(--violet);
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stats-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid #f0edf7;
}

.stats-list li:last-child {
  border-bottom: 0;
}

.stat-value {
  font-weight: 600;
}

/* =========================================
           ABSTRACT POPUP
        ========================================= */

.abstract-modal .modal-content {
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.18);
}

.abstract-modal .modal-header {
  background: #f5f3fa;
  border-bottom: 1px solid #e9e6f2;
  padding: 1rem 1.2rem;
}

.abstract-modal .modal-title {
  color: #1a1628;
  font-size: 1.05rem;
  font-weight: 600;
  padding-right: 15px;
  line-height: 1.5;
}

.abstract-modal .modal-body {
  padding: 1.2rem;
}

.abstract-authors {
  color: #1782c5;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.abstract-authors i {
  margin-right: 5px;
  color: var(--violet);
}

.abstract-divider {
  height: 1px;
  background: #e9e6f2;
  margin: 1rem 0;
}

.abstract-heading {
  color: #1a1628;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.abstract-text {
  color: #3d3a4a;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.abstract-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.abstract-meta span {
  background: #f0edf7;
  color: #4b3a6b;
  padding: 0.25rem 0.7rem;
  border-radius: 30px;
  font-size: 0.72rem;
}

.abstract-meta .free-access {
  background: #d4edda;
  color: #155724;
}

.abstract-modal .modal-footer {
  background: #faf9fc;
  border-top: 1px solid #e9e6f2;
  padding: 0.8rem 1.2rem;
}

.abstract-close-btn {
  background: #f0edf7;
  color: #4b3a6b;
  border: 0;
  padding: 0.45rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
}

.abstract-close-btn:hover {
  background: #e4e0ee;
  color: #4b3a6b;
}

.abstract-download-btn {
  background: var(--violet);
  color: #fff !important;
  border: 0;
  padding: 0.45rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.abstract-download-btn:hover {
  opacity: 0.9;
  color: #fff !important;
}

/* =========================================
           RESPONSIVE
        ========================================= */

@media (max-width: 575px) {
  .paper-row {
    padding: 0.9rem 0;
  }

  .paper-num {
    min-width: 30px;
  }

  .paper-title {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .paper-authors {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .paper-meta {
    font-size: 0.78rem;
    gap: 0.4rem 0.7rem;
  }

  .paper-actions {
    gap: 0.45rem 0.7rem;
    font-size: 0.78rem;
  }

  .abstract-modal .modal-dialog {
    margin: 0.75rem;
  }

  .abstract-modal .modal-header {
    padding: 0.85rem 1rem;
  }

  .abstract-modal .modal-body {
    padding: 1rem;
  }

  .abstract-modal .modal-footer {
    padding: 0.7rem 1rem;
    gap: 8px;
  }
}

a {
    text-decoration: none;
    color: #393838;
}
