/* Blog Insights Design - no carga fuentes externas: hereda la tipografía del theme activo */
.bid-section,
.bid-section * {
  box-sizing: border-box;
}

.bid-section {
  font-family: inherit;
  color: inherit;
  width: 100%;
  padding: clamp(42px, 6vw, 78px) 20px;
  background: transparent;
}

.bid-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.bid-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(30px, 4vw, 48px);
}

.bid-eyebrow {
  font: inherit;
  font-size: 10px;
  line-height: 1.2;
  margin-bottom: 7px;
  opacity: .64;
}

.bid-title {
  font-family: inherit;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin: 0;
  color: inherit;
}

.bid-subtitle {
  font: inherit;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.65;
  max-width: 720px;
  margin: 14px auto 0;
  opacity: .68;
}

.bid-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.bid-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 15px;
  background: rgba(0,0,0,.045);
  transition: transform .22s ease, box-shadow .22s ease;
}

.bid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}

.bid-image-wrap {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1.2 / 1;
  overflow: hidden;
  background: rgba(0,0,0,.06);
}

.bid-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.bid-card:hover .bid-image {
  transform: scale(1.025);
}

.bid-placeholder {
  background: linear-gradient(135deg, rgba(0,0,0,.04), rgba(0,0,0,.1));
}

.bid-card-body {
  padding: 19px 19px 17px;
}

.bid-category {
  font: inherit;
  font-size: 9px;
  line-height: 1.3;
  opacity: .58;
  margin-bottom: 14px;
}

.bid-card-title {
  font-family: inherit;
  font-size: clamp(16px, 1.55vw, 20px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: inherit;
}

.bid-card-title a {
  color: inherit;
  text-decoration: none;
}

.bid-excerpt {
  font: inherit;
  font-size: 12px;
  line-height: 1.62;
  margin: 0 0 18px;
  opacity: .66;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bid-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bid-avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0,0,0,.08);
}

.bid-avatar-img {
  width: 100% !important;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

.bid-meta-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bid-author,
.bid-date {
  font: inherit;
  font-size: 9.5px;
  line-height: 1.25;
}

.bid-author {
  font-weight: 600;
}

.bid-date {
  opacity: .52;
}

.bid-footer {
  text-align: center;
  margin-top: clamp(26px, 4vw, 40px);
}

.bid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 24px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font: inherit;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .02em;
  text-decoration: none;
  color: inherit;
  background: transparent;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.bid-button:hover {
  transform: translateY(-1px);
  background: currentColor;
}

.bid-button:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .bid-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .bid-section { padding-inline: 16px; }
  .bid-grid { grid-template-columns: 1fr; }
  .bid-card { border-radius: 13px; }
  .bid-image-wrap { aspect-ratio: 1.35 / 1; }
  .bid-card-body { padding: 18px; }
}

/* Portal privado para colaboradores */
.bid-portal-section,
.bid-portal-section * {
  box-sizing: border-box;
}

.bid-portal-section {
  font-family: inherit;
  color: inherit;
  width: 100%;
  padding: clamp(34px, 6vw, 72px) 18px;
}

.bid-portal-card {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  background: rgba(0,0,0,.025);
}

.bid-portal-topline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.bid-portal-kicker {
  font: inherit;
  font-size: 11px;
  opacity: .55;
  margin-bottom: 4px;
}

.bid-portal-title {
  font-family: inherit;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  color: inherit;
}

.bid-portal-copy {
  font: inherit;
  font-size: 14px;
  line-height: 1.55;
  opacity: .68;
  margin: 12px 0 26px;
}

.bid-portal-form {
  display: grid;
  gap: 20px;
}

.bid-field {
  display: grid;
  gap: 8px;
  font: inherit;
}

.bid-field > span {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
}

.bid-field small {
  font: inherit;
  font-size: 11px;
  line-height: 1.4;
  opacity: .55;
}

.bid-field input[type="text"],
.bid-field input[type="password"],
.bid-field input[type="file"],
.bid-field textarea {
  width: 100%;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
}

.bid-field input[type="text"]:focus,
.bid-field input[type="password"]:focus,
.bid-field textarea:focus {
  border-color: currentColor;
  box-shadow: 0 0 0 2px rgba(0,0,0,.05);
}

.bid-field textarea {
  resize: vertical;
  min-height: 240px;
  line-height: 1.6;
}

.bid-portal-button {
  appearance: none;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  min-height: 44px;
  padding: 11px 24px;
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .025em;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.bid-portal-button:hover {
  background: currentColor;
  color: #fff;
}

.bid-portal-logout {
  color: inherit;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  opacity: .65;
}

.bid-portal-message {
  margin: 0 0 22px;
  padding: 12px 14px;
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  line-height: 1.45;
}

.bid-portal-message--success {
  background: rgba(24, 135, 70, .10);
  border: 1px solid rgba(24, 135, 70, .22);
}

.bid-portal-message--error {
  background: rgba(176, 45, 45, .08);
  border: 1px solid rgba(176, 45, 45, .20);
}

@media (max-width: 620px) {
  .bid-portal-card { border-radius: 14px; padding: 22px 18px; }
}
