/* LML Sponsored — Frontend Styles v1.0.4 */

/* ── Sponsored badge ──────────────────────────────────── */
.lmls-sponsored-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: 4px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  margin-top: 6px;
}

.lmls-disclosure {
  font-size: 12px;
  color: #6b7280;
  border-top: 1px solid var(--color-border, #e5e7eb);
  padding-top: 12px;
  margin-top: 24px;
  line-height: 1.6;
}
.lmls-disclosure a { color: inherit; text-decoration: underline; }


/* ════════════════════════════════════════════════════════
   BANNER CTA — full-width section background
   ════════════════════════════════════════════════════════ */
.lmls-cta--banner {
  background: linear-gradient(135deg, #e6f7f7 0%, #d1eeee 100%);
  width: 100%;
}

.lmls-cta--banner .lmls-cta__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}


/* ════════════════════════════════════════════════════════
   SIDEBAR PARTNER CARD — single blog post right column
   ════════════════════════════════════════════════════════ */
.lmls-sidebar-partner {
  background: linear-gradient(135deg, #f0f9f9 0%, #e6f4f4 100%);
  border: 1px solid #b2dede;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.lmls-sidebar-partner__head {
  padding: 16px 16px 14px;
}

.lmls-sidebar-partner__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary, #0D7C7C);
  margin-bottom: 6px;
}

.lmls-sidebar-partner__desc {
  margin: 0 0 14px;
  font-size: 12.5px;
  color: var(--color-text-muted, #475569);
  line-height: 1.55;
}

/* Button full-width, stacked below description */
.lmls-sidebar-partner__btn {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--color-primary, #0D7C7C);
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: background .15s;
}
.lmls-sidebar-partner__btn:hover {
  background: var(--color-primary-dark, #0A6363);
}

/* Sponsored posts list inside card */
.lmls-sidebar-partner__posts {
  border-top: 1px solid #b2dede;
  padding: 12px 16px 14px;
  background: rgba(255,255,255,.45);
}

.lmls-sidebar-partner__posts-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--color-primary, #0D7C7C);
  margin-bottom: 8px;
}

.lmls-sidebar-partner__posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.lmls-sidebar-partner__posts-all {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-primary, #0D7C7C);
  text-decoration: none;
}
.lmls-sidebar-partner__posts-all:hover { text-decoration: underline; }

.lmls-sidebar-sp-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
  text-decoration: none;
}
.lmls-sidebar-sp-item:last-child { border-bottom: none; }

/* Featured image thumbnail */
.lmls-sidebar-sp-img {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 5px;
  display: block;
}

/* Text column inside item */
.lmls-sidebar-sp-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.lmls-sidebar-sp-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
  border-radius: 3px;
  padding: 2px 5px;
}

.lmls-sidebar-sp-title {
  font-size: 12px;
  color: var(--color-text, #1a2332);
  line-height: 1.42;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.lmls-sidebar-sp-item:hover .lmls-sidebar-sp-title {
  color: var(--color-primary, #0D7C7C);
}


/* ════════════════════════════════════════════════════════
   SHARED — text elements
   ════════════════════════════════════════════════════════ */
.lmls-cta__text { flex: 1; }

.lmls-cta__eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary, #0D7C7C);
  margin-bottom: 4px;
}

.lmls-cta__desc {
  margin: 0;
  font-size: 13px;
  color: var(--color-text-muted, #475569);
  line-height: 1.5;
}

.lmls-cta__btn {
  display: inline-block;
  background: var(--color-primary, #0D7C7C);
  color: #fff !important;
  border-radius: 6px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s;
}
.lmls-cta__btn:hover { background: var(--color-primary-dark, #0A6363); }


/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 700px) {
  .lmls-cta--banner .lmls-cta__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }
  .lmls-cta__btn { width: 100%; text-align: center; }
}
