/* =========================================================
   CALL FOR PAPER – FINAL & STABLE (DO NOT MODIFY)
   ========================================================= */
.sidebar-call-for-paper{
  text-align: center;
  margin: 20px 0;
  font-family: sans-serif;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.cfp-title{
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 12px;
  color: #333;
}

.cfp-main-logo{
  margin-bottom: 18px;
}
.cfp-main-logo img{
  /* Reserve space to reduce CLS (typical banner ratio ~ 999x137) */
  max-width: 220px;
  width: 100%;
  height: auto;
  aspect-ratio: 999 / 137;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.cfp-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  justify-items: center;
  align-items: center;
  margin-bottom: 18px;
}
.cfp-grid img{
  /* Reserve space to reduce CLS (typical logo ratio ~ 1025x398 => ~120x47) */
  width: 120px;
  height: 47px;
  aspect-ratio: 1025 / 398;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.cfp-actions{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px;
}

.btn{
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background 0.3s ease, color 0.3s ease;
  border: 1px solid transparent;
}
.btn:hover{
  transform: translateY(-1px);
}

.btn-primary{
  background: #0056b3;
  color: #fff;
}
.btn-primary:hover{
  background: #003f80;
}

.btn-outline{
  background: #fff;
  color: #0056b3;
  border: 1px solid #0056b3;
}
.btn-outline:hover{
  background: #e9f2ff;
  color: #003f80;
  border-color: #003f80;
}

.cfp-footer{
  font-size: 13px;
  color: #555;
  margin-top: 18px;
  line-height: 1.65;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}
