/* Hero Block Styles */
.hero-block-wrapper {
    margin-bottom: 2rem;
}

/* Full viewport width styles */
.hero-block-wrapper:not(:has(.container)) {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.hero-block {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-block .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-block .hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
}

/* Ensure copyright info icon appears above the overlay and is clickable */
.hero-block .hero-copyright-trigger {
    position: absolute;
    z-index: 3;
}

/* Container alignment */
.hero-block .hero-content .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

/* Text alignment variations */
.hero-block .hero-content.text-left .container {
    align-items: flex-start;
}

.hero-block .hero-content.text-center .container {
    align-items: center;
    text-align: center;
}

.hero-block .hero-content.text-right .container {
    align-items: flex-end;
    text-align: right;
}

/* Vertical alignment variations */
.hero-block .hero-content.vertical-top .container {
    justify-content: flex-start;
}

.hero-block .hero-content.vertical-center .container {
    justify-content: center;
}

.hero-block .hero-content.vertical-bottom .container {
    justify-content: flex-end;
}

/* Content elements */
.hero-block .hero-content .container > * {
    max-width: 800px;
}

/* Text styles */
.hero-block h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-block .subheading {
    font-size: 1.5rem;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-block .cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: var(--bs-primary, #0d6efd);
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: background-color 0.2s, transform 0.2s;
    font-size: 1.2rem;
    font-weight: 500;
}

.hero-block .cta-button:hover {
    background-color: var(--bs-primary-dark, #0a58ca);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-block h1 {
        font-size: 2.5rem;
    }

    .hero-block .subheading {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hero-block h1 {
        font-size: 2rem;
    }

    .hero-block .subheading {
        font-size: 1rem;
    }

    .hero-block .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
