/* BM Stedtli App - Modern Design System */

:root {
  --primary-color: #4f46e5; /* Indigo 600 */
  --primary-hover: #4338ca; /* Indigo 700 */
  --secondary-color: #f9fafb;
  --secondary-darken: #E5F2FB;
  --secondary-hover: #f3f4f6;
  --text-color: #1f2937; /* Gray 800 */
  --text-light: #6b7280; /* Gray 500 */
  --border-color: #dee3ed; /* Gray 200 */
  --success-color: #10b981; /* Emerald 500 */
  --warning-color: #f59e0b; /* Amber 500 */
  --error-color: #ef4444; /* Red 500 */
  --info-color: #3b82f6; /* Blue 500 */
  --radius-sm: 6px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 20px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.2s ease;
  --font-sans: "Manrope", sans-serif;

  --container-side-margin: 25px !important;

  --bm-primary: #3490dc;
  --bm-primary-dark: #2779bd;
  --bm-primary-light: #6cb2eb;
  --bm-secondary: #38c172;
  --bm-secondary-dark: #1f9d55;
  --bm-secondary-light: #51d88a;
  --bm-danger: #e3342f;
  --bm-warning: #ffed4a;
  --bm-info: #3490dc;
  --bm-success: #38c172;
  --bm-gray-100: #f7fafc;
  --bm-gray-200: #edf2f7;
  --bm-gray-300: #e2e8f0;
  --bm-gray-400: #cbd5e0;
  --bm-gray-500: #a0aec0;
  --bm-gray-600: #718096;
  --bm-gray-700: #4a5568;
  --bm-gray-800: #2d3748;
  --bm-gray-900: #1a202c;
  --bm-border-radius: 8px;
  --bm-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --bm-transition: all 0.3s ease;

}

.mod-header {
  display: none !important;
}

/* Reset & Base Styles */
.bm-container *,
.bm-container *::before,
.bm-container *::after {
  box-sizing: border-box;
}


.mod-footer .widget-col {
  text-align: center;
}

.mod-footer .widget-col p,
.mod-footer .widget-col a {
  color: #c3c4c7;
  font-family: var(--font-sans);
  font-size: 0.9375rem !important;
  text-decoration: none;
}

.bm-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--text-color);
}

/* Typography */
.bm-heading {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-color);
  margin-top: 0;
  margin-bottom: 1.75rem;
  text-align: center;
  line-height: 1.2;
}

.bm-section-title {
  margin-top: 2.75rem;
  margin-bottom: 1.75rem;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.75rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.75rem;
  line-height: 1.3;
}

.bm-subsection-title {
  font-size: 1.375rem;
  font-weight: 600;
  margin-top: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-color);
  line-height: 1.4;
}

/* Buttons */
.bm-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  line-height: 1.5;
  height: 3rem;
  box-shadow: var(--shadow-sm);
}

.bm-button:hover {
  background-color: var(--primary-hover);
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.bm-button-card {
  margin-top: 15px;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: -15px;  
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  color: var(--text-light);
  background-color: white;
  border-top: dotted 1px var(--border-color);
}

.bm-button-card:hover {
  color: black;
  background-color: white;
  margin-top: 14px;
}

.bm-button-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.bm-button-secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--text-color);
}

.bm-button .bm-icon {
  margin-right: 0.5rem;
}

/* Icons */
.bm-icon {
  vertical-align: middle;
  margin-right: 0.5rem;
}

.bm-partner-toggle-button {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-md);
    border: solid 1px var(--border-color);
}

.bm-promotion-notice {
  position: relative;
  color: white;
  background-color: black;
  padding: 10px 20px;
  display: grid; 
  grid-auto-flow: column; 
  grid-auto-rows: 1fr; 
  grid-template-columns: 1fr 80px; 
  gap: 20px 20px; 
  align-items: center; 
  font-size: 0.9375rem;
  line-height: normal;
}

.bm-promotion-notice a { 
  color: black !important;
  background-color: white;
  border-radius: 20px;
  padding: 5px;
  text-decoration: none !important;
  font-size: 0.9375rem;
  display: block;
  text-align: center;
}

.bm-promotion-landing-title {
  line-height: 1.1;
}

/* Message styles - Modern with illustrations */
.bm-success-message,
.bm-error-message,
.bm-info-message,
.bm-logged-in-message,
.bm-warning-message {
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  font-size: 1.0625rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.bm-message-icon {
  margin-bottom: 1rem;
  width: 64px;
  height: 64px;
}

.bm-success-message {
  background-color: rgba(16, 185, 129, 0.08);
  color: var(--success-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.bm-error-message {
  background-color: rgba(239, 68, 68, 0.08);
  color: var(--error-color);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.bm-info-message {
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--info-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.bm-warning-message {
  background-color: rgba(245, 158, 11, 0.08);
  color: var(--warning-color);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.bm-logged-in-message {
  background-color: rgba(59, 130, 246, 0.08);
  color: var(--info-color);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Button disabled state */
.bm-button-disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.bm-button-disabled:hover {
  background-color: var(--primary-color);
  transform: none;
  box-shadow: var(--shadow-sm);
}

/* Card styles */
.bm-promotion-card,
.bm-offer-card {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.bm-promotion-card:hover,
.bm-offer-card:hover {
  box-shadow: var(--shadow-lg);
}

.bm-promotion-image,
.bm-offer-image {
  position: relative;
  padding-bottom: 100%; /* This creates a 1:1 aspect ratio */
  height: 0;
  overflow: hidden;
}

.bm-offer-image img,
.bm-promotion-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

.bm-promotion-card:hover .bm-promotion-image img,
.bm-offer-card:hover .bm-offer-image img {
  transform: scale(1.05);
}

.bm-promotion-content,
.bm-offer-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.bm-offer-partner-name {
  color: var(--primary-color);
  font-size: 1rem;
}

.bm-promotion-title,
.bm-offer-title {
  margin-top: 0;
  margin-bottom: 5px;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
}

.bm-promotion-description,
.bm-offer-description {
  flex-grow: 1;
  line-height: normal;
  font-weight: 700;
}

.bm-promotion-card-main .bm-promotion-description {
  font-weight: 400;
}

.bm-promotion-card-main .bm-promotion-image {
  padding-bottom: 50% !important;
}

.bm-promotion-dates,
.bm-offer-dates {
  margin-bottom: 1.5rem;
  font-size: 16px;
  color: var(--text-light);
}

.bm-promotion-date,
.bm-offer-date {
  display: grid; 
  grid-auto-flow: column; 
  grid-auto-rows: 1fr; 
  grid-template-columns: 22px 1fr; 
  gap: 0; 
  align-items: start;
  margin-bottom: 5px;
  line-height: normal;
}

.bm-promotion-date svg {    
  margin-top: 3px;
}

.bm-promotion-actions,
.bm-offer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.bm-participating-badge {
  display: inline-flex;
  align-items: center;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.875rem;
}

/* Status badges */
.bm-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.875rem;
}

.bm-status-pending {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--warning-color);
}

.bm-status-approved {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.bm-status-draft {
  background-color: rgba(107, 114, 128, 0.1);
  color: #6b7280;
}

/* Partner info styles */
.bm-partner-info {
  margin-bottom: 2.5rem;
}

.bm-partner-info h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.3;
}

.bm-partner-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .bm-partner-details {
    grid-template-columns: 1fr;
  }
}

.bm-partner-detail {
  font-size: 1rem;
  padding: 0 1.25rem;
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
  line-height: normal;
}

.bm-detail-providerinfo {
  border-left: unset;
  background-color: #e5f2fb;
  padding: 20px;
  -webkit-border-radius: 10px; 
  -moz-border-radius: 10px; 
  border-radius: 10px; 
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


.bm-detail-label {
  font-weight: 600;
  color: var(--text-color);
  display: block;
}

.bm-detail-value {
  color: var(--text-light);
  margin-bottom: 5px;
  display: block;
}

.bm-maps-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.bm-maps-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.bm-logout-link {
  text-align: right;
  margin-top: 1.5rem;
}

.bm-logout-link a {
  display: inline-flex;
  align-items: center;
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: var(--transition);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background-color: var(--secondary-color);
}

.bm-logout-link a:hover {
  color: var(--error-color);
  background-color: rgba(239, 68, 68, 0.08);
}

/* Ensure the image in offer details is also 1:1 */
.bm-offer-details .bm-offer-image {
  width: 240px;
  height: 240px;
  padding-bottom: 0;
  margin: 0 auto 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Discount badge */
.bm-discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transform: rotate(5deg);
}

/* Empty state illustrations */
.bm-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.bm-empty-state-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 1.5rem;
}

.bm-empty-state-text {
  font-size: 1.25rem;
  color: var(--text-light);
}

/* Grid layout for promotions & offers */
.bm-promotions-grid,
.bm-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-items: center;
}

.toggle-text {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
}

.footer-highlight-link a:first-child {    
  display: inline-block;
  color: white;
  background-color: var(--primary-color);
  padding: 2px 8px;
  border-radius: 2px;
  margin-right: 10px;
}

/* Left-align items when .bm-promotions-grid-left is applied */
.bm-promotions-grid.bm-promotions-grid-left {
  justify-items: start;
}

/* Responsive adjustments */
@media (max-width: 991px) {

  .bm-promotions-grid,
  .bm-offers-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .bm-offer-card .bm-offer-content,
  .bm-offer-card .bm-offer-description {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Responsive adjustments */
@media (max-width: 899px) {

  .bm-promotions-grid,
  .bm-offers-grid {
    grid-template-columns: 1fr 1fr ;
  }
}

@media (max-width: 768px) {

  .bm-promotions-grid,
  .bm-offers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .bm-heading {
    font-size: 1.875rem;
  }
  .bm-section-title {
    font-size: 1.5rem;
  }
  .bm-empty-state-icon {
    width: 100px;
    height: 100px;
  }

  .bm-promotions-grid .bm-promotion-card .bm-promotion-image {
    padding-bottom: 33.333%;
  }
}

@media (max-width: 580px) {

  .bm-promotions-grid,
  .bm-offers-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}


@media (max-width: 480px) {

  .bm-promotions-grid,
  .bm-offers-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .bm-promotion-card, .bm-offer-card {
    max-width: 100%;
  }
}

/* Animation for hover effects */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.bm-button:active {
  transform: translateY(1px);
}

/* Typography for BM Stedtli App */
.bm-stedtli-app {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--bm-gray-800);
  line-height: 1.5;
}
.bm-stedtli-app h1,
.bm-stedtli-app h2,
.bm-stedtli-app h3,
.bm-stedtli-app h4,
.bm-stedtli-app h5,
.bm-stedtli-app h6 {
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Button SVG spacing */
.bm-button svg {
  margin-right: 8px;
}

/* Button variant styles */
.bm-button.primary {
  background-color: #4a90e2;
  color: white;
}
.bm-button.primary:hover {
  background-color: #3a7bc8;
}
.bm-button.secondary {
  background-color: #f8f9fa;
  color: #333;
  border: 1px solid #ddd;
}
.bm-button.secondary:hover {
  background-color: #e9ecef;
}
.bm-button.success {
  background-color: #2ecc71;
  color: white;
}
.bm-button.success:hover {
  background-color: #27ae60;
}
.bm-button.warning {
  background-color: #f1c40f;
  color: white;
}
.bm-button.warning:hover {
  background-color: #d4ac0d;
}
.bm-button.danger {
  background-color: #e74c3c;
  color: white;
}
.bm-button.danger:hover {
  background-color: #c0392b;
}

/* Utility button classes */
.bm-btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: var(--bm-border-radius);
  transition: var(--bm-transition);
  cursor: pointer;
  text-decoration: none;
}
.bm-btn:hover,
.bm-btn:focus {
  text-decoration: none;
  box-shadow: var(--bm-box-shadow);
}
.bm-btn-primary {
  color: #fff;
  background-color: var(--bm-primary);
  border-color: var(--bm-primary);
}
.bm-btn-primary:hover,
.bm-btn-primary:focus {
  background-color: var(--bm-primary-dark);
  border-color: var(--bm-primary-dark);
}
.bm-btn-secondary {
  color: #fff;
  background-color: var(--bm-secondary);
  border-color: var(--bm-secondary);
}
.bm-btn-secondary:hover,
.bm-btn-secondary:focus {
  background-color: var(--bm-secondary-dark);
  border-color: var(--bm-secondary-dark);
}
.bm-btn-outline {
  color: var(--bm-primary);
  background-color: transparent;
  border-color: var(--bm-primary);
}
.bm-btn-outline:hover,
.bm-btn-outline:focus {
  color: #fff;
  background-color: var(--bm-primary);
  border-color: var(--bm-primary);
}

/* Card layout components */
.bm-card-header {
  padding: 1rem;
  margin-bottom: 0;
  background-color: var(--bm-gray-100);
  border-bottom: 1px solid var(--bm-gray-300);
}
.bm-card-body {
  flex: 1 1 auto;
  padding: 1rem;
}
.bm-card-footer {
  padding: 1rem;
  background-color: var(--bm-gray-100);
  border-top: 1px solid var(--bm-gray-300);
}
.bm-card-title {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}
.bm-card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0.5rem;
  color: var(--bm-gray-600);
}
.bm-card-text:last-child {
  margin-bottom: 0;
}
.bm-card-link {
  text-decoration: none;
  color: inherit;
}
.bm-card-link:hover {
  text-decoration: none;
}

/* Form control elements */
.bm-form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.bm-form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--bm-gray-800);
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--bm-gray-400);
  border-radius: var(--bm-border-radius);
  transition: var(--bm-transition);
}
.bm-form-control:focus {
  color: var(--bm-gray-800);
  background-color: #fff;
  border-color: var(--bm-primary-light);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(52, 144, 220, 0.25);
}

/* Additional empty state elements */
.bm-empty-state-image {
  max-width: 200px;
  height: auto;
  margin-bottom: 1rem;
}
.bm-empty-state-message {
  font-size: 1.125rem;
  color: var(--bm-gray-600);
  margin-bottom: 0;
}

/* Message box component */
.bm-message-box {
  display: flex;
  align-items: flex-start;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--bm-border-radius);
  background-color: #fff;
  border-left: 4px solid var(--bm-info);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.bm-message-box-info {
  border-left-color: var(--bm-info);
}
.bm-message-box-success {
  border-left-color: var(--bm-success);
}
.bm-message-box-warning {
  border-left-color: var(--bm-warning);
}
.bm-message-box-error {
  border-left-color: var(--bm-danger);
}
.bm-message-box-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-right: 0.75rem;
}
.bm-message-box-content {
  flex: 1;
}
.bm-message-box-content p:last-child {
  margin-bottom: 0;
}

/* Grid utility */
.bm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}
@media (max-width: 768px) {
  .bm-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
@media (max-width: 480px) {
  .bm-grid {
    grid-template-columns: 1fr;
  }
}

/* Utility badges */
.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}

/* Document icon overlay */
.document-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 2;
}
.document-icon svg {
  width: 20px;
  height: 20px;
  color: #4a90e2;
}


.bm-promotion-landing-text {
    max-width: 700px;
}

.bm-promotion-landing-text p {
    font-size: 1.25rem;
}

.bm-promotion-offers-landing {
    margin-top: 0;
    margin-bottom: 0 !important;
    padding-top: 20px;
    padding-bottom: 100px;
}

.bm-promotion-offers-landing .bm-button {
    color: #23282D;
    background-color: #f0f0f0;
    box-shadow: none;
}

.bm-promotion-offers-subtitle {
    margin-top: 40px;
    padding-bottom: 5px;
    font-size: 1rem;
    -webkit-opacity: 0.7;
    -moz-opacity: 0.7;
    opacity: 0.7;
}

.bm-promotion-hero {
  position: relative;
  aspect-ratio: 3/1;
  margin: 0 0 20px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  width: 960px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.bm-promotion-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: var(--secondary-color);
  display: block;
}

.bm-promotion-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.bm-promotion-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
  z-index: 2;
}

.bm-promotion-hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3rem;
  color: white;
}

.bm-promotion-hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.bm-promotion-hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--success-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.bm-promotion-hero-badge.bm-promotion-inactive {
  background-color: var(--text-light);
}

.bm-promotion-hero-badge .bm-icon {
  margin-right: 0.5rem;
}

.bm-promotion-hero-dates {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.bm-promotion-hero-dates .bm-icon {
  margin-right: 0.5rem;
}

/* Promotion description */
.bm-promotion-description {
  background-color: white;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: normal;
}

/* Partner badge in offer card */
.bm-offer-partner, .bm-offer-partner a {
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-light);
  text-decoration: none;
  margin-top: 5px;
  margin-top: 15px;
}

.bm-offer-partner a:hover {
  color: black;
}

.bm-offer-partner .bm-icon {
  vertical-align: text-top;
  margin-top: 1px;
  width: 18px;
  height: 18px;
  margin-right: 0;
}

/* Image placeholder */
.bm-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-color);
  color: var(--text-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .bm-promotion-hero {
    height: 300px;
  }
  .bm-promotion-hero-title {
    font-size: 1.875rem;
  }
  .bm-promotion-hero-dates {
    font-size: 1rem;
  }

  .bm-promotion-offers-landing {
    padding-top: 25px;
  }
}

@media (max-width: 480px) {
  .bm-promotion-hero {
    height: 250px;
  }
  .bm-promotion-hero-title {
    font-size: 1.5rem;
  }
}

/* Landingpage: Container auf max. 991px Breite beschränken */
.bm-promotion-landing .bm-container {
  max-width: 960px;
  padding-left: 25px;
  padding-right: 25px;
  margin: 0 auto;
}

body.home .bm-promotion-description {
    font-weight: 400;
}