.wp-block-hint-header-single,
.editor-styles-wrapper .wp-block-hint-header-single,
.wp-block-questme-hint-header-single,
.editor-styles-wrapper .wp-block-questme-hint-header-single {
  display: block;
  width: 100%;
}

/* Main Header Container */
.hint-header-single,
.editor-styles-wrapper .hint-header-single {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--wp--preset--color--contrast-20);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Overlay */
.hint-header-single::before,
.editor-styles-wrapper .hint-header-single::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

/* Content Container */
.hint-header-single__content,
.editor-styles-wrapper .hint-header-single__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--wp--preset--spacing--2-x-large);
  color: white;
}

/* Category Badge */
.hint-header-single__category,
.editor-styles-wrapper .hint-header-single__category {
  display: inline-flex;
  align-items: center;
  gap: var(--wp--preset--spacing--x-small);
  padding: var(--wp--preset--spacing--x-small) var(--wp--preset--spacing--medium);
  background: var(--wp--preset--color--secondary);
  border-radius: var(--wp--preset--radius--large);
  margin-bottom: var(--wp--preset--spacing--large);
}

.hint-header-single__category-text,
.editor-styles-wrapper .hint-header-single__category-text {
  color: white;
  font-size: var(--wp--preset--font-size--small);
  font-weight: var(--wp--preset--font-weight--semibold);
  line-height: var(--wp--preset--line-height--small);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Title */
.hint-header-single__title,
.editor-styles-wrapper .hint-header-single__title {
  margin: 0 0 var(--wp--preset--spacing--large) 0;
  font-size: var(--wp--preset--font-size--4-x-large);
  font-weight: var(--wp--preset--font-weight--bold);
  line-height: var(--wp--preset--line-height--3-x-large);
  color: white;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Meta Info */
.hint-header-single__meta,
.editor-styles-wrapper .hint-header-single__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--medium);
  flex-wrap: wrap;
}

.hint-header-single__author,
.editor-styles-wrapper .hint-header-single__author {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--small);
}

.hint-header-single__author-avatar,
.editor-styles-wrapper .hint-header-single__author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.hint-header-single__author-name,
.editor-styles-wrapper .hint-header-single__author-name {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--preset--font-weight--semibold);
  line-height: var(--wp--preset--line-height--medium);
  color: white;
}

.hint-header-single__date,
.editor-styles-wrapper .hint-header-single__date {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--preset--font-weight--regular);
  line-height: var(--wp--preset--line-height--medium);
  color: rgba(255, 255, 255, 0.9);
}

/* Separator */
.hint-header-single__separator,
.editor-styles-wrapper .hint-header-single__separator {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
}

/* Default Background when no image */
.hint-header-single--no-image,
.editor-styles-wrapper .hint-header-single--no-image {
  background: linear-gradient(
    135deg,
    var(--wp--preset--color--primary) 0%,
    var(--wp--preset--color--secondary) 100%
  );
}

.hint-header-single--no-image::before,
.editor-styles-wrapper .hint-header-single--no-image::before {
  background: rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hint-header-single,
  .editor-styles-wrapper .hint-header-single {
    min-height: 300px;
  }
  
  .hint-header-single__content,
  .editor-styles-wrapper .hint-header-single__content {
    padding: var(--wp--preset--spacing--x-large);
  }
  
  .hint-header-single__meta,
  .editor-styles-wrapper .hint-header-single__meta {
    flex-direction: column;
    gap: var(--wp--preset--spacing--small);
  }
  
  .hint-header-single__separator,
  .editor-styles-wrapper .hint-header-single__separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .hint-header-single,
  .editor-styles-wrapper .hint-header-single {
    min-height: 250px;
  }
  
  .hint-header-single__content,
  .editor-styles-wrapper .hint-header-single__content {
    padding: var(--wp--preset--spacing--large);
  }
  
  .hint-header-single__category-text,
  .editor-styles-wrapper .hint-header-single__category-text {
    font-size: var(--wp--preset--font-size--x-small);
  }
}