/**
 * Tenbit Section Heading Styles
 * Author: Team Tenbit Solution
 * URL: https://tenbitsol.com
 */

:root {
  --tenbit-brand-red: #c91818;
  --tenbit-brand-red-light: #ffeded;
  --tenbit-brand-gold: #e5a93c;
  --tenbit-text-main: #1d1e20;
  --tenbit-text-muted: #6b7280;
  --tenbit-font-heading: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --tenbit-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.tenbit-section-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 3.5rem;
  box-sizing: border-box;
  width: 100%;
  font-family: var(--tenbit-font-body);
}

.tenbit-section-header.tenbit-align-center {
  align-items: center;
  text-align: center;
}

.tenbit-section-header.tenbit-align-left {
  align-items: flex-start;
  text-align: left;
}

.tenbit-section-header.tenbit-align-right {
  align-items: flex-end;
  text-align: right;
}

/* Tag Badge */
.tenbit-section-tag-wrap {
  display: flex;
  margin-bottom: 0.75rem;
}

.tenbit-section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--tenbit-font-body);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--tenbit-brand-red);
  background: var(--tenbit-brand-red-light);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  line-height: 1;
  transition: all 0.25s ease;
}

.tenbit-section-tag.tenbit-tag-dark {
  background: rgba(201, 24, 24, 0.15);
  border: 1px solid rgba(201, 24, 24, 0.4);
  color: #ff5252;
}

.tenbit-section-tag.tenbit-tag-gold {
  background: rgba(229, 169, 60, 0.15);
  border: 1px solid rgba(229, 169, 60, 0.4);
  color: var(--tenbit-brand-gold);
}

.tenbit-tag-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tenbit-tag-icon svg {
  width: 13px;
  height: 13px;
  display: inline-block;
}

/* Heading XL Title */
.tenbit-heading-xl {
  font-family: var(--tenbit-font-heading);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--tenbit-text-main);
  margin: 0 0 0.6rem 0;
}

.tenbit-heading-xl a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.tenbit-heading-xl a:hover {
  color: var(--tenbit-brand-red);
}

.tenbit-text-highlight {
  color: var(--tenbit-brand-red);
  display: inline;
}

/* Subtitle */
.tenbit-heading-sub {
  font-size: 1.1rem;
  color: var(--tenbit-text-muted);
  max-width: 640px;
  margin: 0;
  line-height: 1.6;
}

/* Accent Divider */
.tenbit-heading-divider {
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--tenbit-brand-red);
  border-radius: 2px;
  margin: 0.5rem 0 0.8rem 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .tenbit-section-header {
    margin-bottom: 2.5rem;
  }
  .tenbit-heading-xl {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }
  .tenbit-heading-sub {
    font-size: 0.98rem;
  }
}
