.hero-widget {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.hero-widget p,
.hero-widget h1,
.hero-widget h2,
.hero-widget h3,
.hero-widget h4,
.hero-widget h5,
.hero-widget h6 {
    margin: 0;
}

.hero-widget .hero-gradient {
    position: absolute;
    top: 0;
    right: 0;
    height: auto;
    z-index: -1;
}

.hero-widget .hero-principal {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-widget.type-gradient .headings{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-widget.type-gradient .subheading {
    color: var(--Gray-Gray-600, #999);
    font-size: 16px;
    font-weight: 700;
}

.hero-widget.type-gradient .subheading a {
    font-family: "Hanken Grotesk";
    color: var(--Default-White, #FFF);
    font-weight: 700;
}

.hero-widget .hero-title {
    color: white;
    font-family: Urbanist;
    font-size: 80px;
    font-style: normal;
    font-weight: 900;
    line-height: 115%;
    margin: 0;
}

.hero-widget .hero-subtitle {
    color: #DDD;
    font-family: "Hanken Grotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin: 0;
}

.hero-widget .hero-buttons {
    display: flex;
    gap: 24px;
}

.hero-widget .hero-buttons a {
    padding: 12px 32px;
    border-radius: 27px;
    font-family: "Hanken Grotesk";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
}

.hero-widget .primary-button {
    color: black;
    background: #FFC432;
    transition: 0.5s;
}

.hero-widget .primary-button:hover {
    color: black;
    background: #25B1E1;
}

.hero-widget .secondary-button {
    color: #FFC432;
    border: 1px solid #FFC432;
    transition: 0.5s;
}

.hero-widget .secondary-button:hover {
    color: #25B1E1;
    border: 1px solid #25B1E1;
}

/* Homepage Hero */
.hero-widget.type-homepage .hero-title {
    width: 849px;
}

.hero-widget.type-homepage .hero-subtitle {
    width: 558px;
}

.hero-widget.type-homepage .image-wrapper {
    position: absolute;
    right: 0;
    top: -120px;
    width: 550px;
    z-index: -1;
}

/* Blog */
.hero-widget.type-blog .hero-principal{
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.hero-widget.type-blog .hero-principal .breadcrumbs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-self: center;
    color: var(--Gray-Gray-600, #999);
    font-family: "Hanken Grotesk";
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    line-height: 150%; 
}

.hero-widget.type-blog .hero-principal .breadcrumbs a {
    color: white;
    font-weight: 700;
}

.hero-widget.type-blog .hero-principal h1 {
    color: var(--Gray-Gray-700, #DDD);
    font-family: Urbanist;
    font-size: 64px;
    font-style: normal;
    font-weight: 900;
    line-height: 115%;
}

.hero-widget.type-blog .date {
    background: var(--Gray-Gray-100, #161616);
    padding: 12px 24px 12px 12px;
    border-radius: 32px;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    width: fit-content;
    align-self: center;
    font-weight: 400;
    font-size: 16px;
    color: var(--Gray-Gray-500, #606060);
}

.hero-widget.type-blog .date a {
    color: white;
    text-decoration: underline;
    text-decoration-color: grey;
    text-underline-offset: 10px;
    transition: 0.3s;
}

.hero-widget.type-blog .date a:hover {
    text-decoration-color: white;
    transition: 0.3s;
}

.hero-widget.type-blog .date .logo{
    width: 40px;
    height: 40px;
    padding: 7px;
    background-color: black;
    border-radius: 50%;
}

.hero-widget.type-blog .date .logo img {
    height: -webkit-fill-available;
    width: -webkit-fill-available;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.hero-widget.type-blog .comments-quntity {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-self: center;
    color: var(--Gray-Gray-500, #606060);
    font-family: "Hanken Grotesk";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.hero-widget.type-blog img.blog-featured-img {
    border-radius: 12px;
    background: linear-gradient(0deg, #000 0%, #000 100%), url(<path-to-image>) lightgray 50% / cover no-repeat;
    background-blend-mode: overlay, normal;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.hero-widget.type-blog .description{
    margin-top: 24px;
    width: 946px;
    align-self: center;
}

.hero-widget.type-blog .description h2{
    color: var(--Gray-Gray-700, #DDD);
    text-align: center;
    font-family: "Hanken Grotesk";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}

/*Hero Right Image Type*/
.hero-widget.type-image {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.hero-widget.type-image .hero-subtitle {
    width: 558px;
}

.hero-widget.type-image .image-contenetor{
    line-height: 0;
}

.hero-widget.type-image.right .hero-principal{
    width: calc(100% - 461px);
}

.hero-widget.type-image.right .image-contenetor {
    position: relative;
    width: 461px;
    height: 461px;
    line-height: 0;
}

.hero-widget.type-image.right .image-contenetor .hero-image {
    width: 100%;
    height: 100%;
    border-radius: 27px;
    object-fit: cover;
    object-position: center;
}

.hero-widget.type-image.right .image-contenetor .miscelany {
    position: absolute;
}

.hero-widget.type-image.right .image-contenetor .miscelany.top {
    width: 75px;
    top: 0;
    left: -45px;
    z-index: -1;
    filter: blur(8px);
    animation: miscelanyTopMove 2s infinite alternate ease-in-out;
}

.hero-widget.type-image.right .image-contenetor .miscelany.bottom {
    width: 100px;
    bottom: 0;
    right: -45px;
    z-index: 1;
    filter: blur(4px);
    animation: miscelanyBottomMove 2s infinite alternate ease-in-out;
}

/* Hero Background Type */

.hero-widget.type-image.background .image-contenetor .miscelany {
    display: none;
}

.hero-widget.type-image.background .hero-principal{
    width: 100%;
}

.hero-widget.type-image.background .image-contenetor {
    position: absolute;
    z-index: -1;
}

@keyframes miscelanyTopMove {
    from { transform: translateY(0); }
    to   { transform: translateY(30px); }
}

@keyframes miscelanyBottomMove {
    from { transform: translateY(0); }
    to   { transform: translateY(-30px); }
}

@media (max-width: 1200px) and (min-width: 768px) {
    .hero-widget.type-image.right .hero-principal {
        width: 50%;
    }
    .hero-widget .hero-title{
        word-break: break-all;
    }
    .hero-widget.type-image .hero-subtitle {
        word-break: break-all;
        width: 100%;
    }
    .hero-widget.type-image.right .image-contenetor {
        width: 50%;
        height: fit-content;
        aspect-ratio: 1;
    }
    .hero-widget.type-image.right .image-contenetor .miscelany.bottom {
        width: 86px;
        bottom: -90px;
        right: 0px;
    }
}

@media (max-width: 768px) {
    .hero-widget {
        gap: 50px;
    }
    .hero-widget .hero-principal {
        gap: 32px;
    }
    .hero-widget.type-homepage .hero-principal {
        width: auto;
    }
    .hero-widget .hero-button {
        padding: 8px 20px !important;
        font-size: 16px !important;
    }
    .hero-widget .hero-buttons a {
        padding: 8px 20px;
        font-size: 16px;
    }
    .hero-widget.type-homepage .hero-subtitle {
        width: 100%;
    }
    .hero-widget.type-homepage .image-wrapper {
        position: relative;
        width: 100%;
        top: -200px;
    }
    .hero-widget.type-blog .hero-principal .breadcrumbs{
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-widget.type-blog .hero-principal h1{
            font-size: 30px;
    }
    .hero-widget.type-blog .date{
        padding: 8px 12px 8px 8px;
        font-size: 14px;
    }
    .hero-widget.type-blog .date .logo {
        width: 24px;
        height: 24px;
        padding: 4px;
    }
    .hero-widget.type-blog .date a {
        text-decoration-color: white;
        text-underline-offset: 6px;
    }
    .hero-widget.type-blog .date a:hover {
        text-decoration-color: white;
        transition: 0.3s;
    }
    .hero-widget.type-blog .comments-quntity{
        font-size: 14px;
    }
    .hero-widget.type-blog .description{
        width: 100%;;
    }
    .hero-widget.type-blog .description h2{
        font-size: 18px;
    }
    .hero-widget.type-image{
        flex-direction: column;
        gap: 48px;
    }
    .hero-widget.type-image.right .hero-principal {
        width: 100%;
    }
    .hero-widget.type-image .hero-subtitle {
        width: 100%;
    }
    .hero-widget.type-image.right .image-contenetor {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
    .hero-widget.type-image.right .image-contenetor .miscelany.top {
        top: -48px;
        left: 24px;
        width: 48px;
        animation: miscelanyTopMove 2s infinite alternate ease-in-out;
    }
    .hero-widget.type-image.right .image-contenetor .miscelany.bottom {
        width: 60px;
        bottom: -48px;
        right: 16px;
        animation: miscelanyBottomMove 2s infinite alternate ease-in-out;
    }
}