/* Home Intro Section Styles */
.module-hero.studio {
    padding-top: 15vh;
    padding-bottom: 10vh;
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box;
    width: 100%;
}

.hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

/* Introduction Text */
.home-intro,
.gradient-animation {
    white-space: normal;
    cursor: default;
    display: inline;
    word-wrap: break-word;
}

/* .studio-text-indent removed as per user request */

.gradient-animation .word {
    display: inline-block;
    opacity: 0.3;
    color: #a7aaae;
}

/* Responsive Adjustments */
@media screen and (max-width: 991px) {

    .learn-more-cta {
        margin-left: 40%;
    }

}



/* Text Reveal Animation */
.o-text-reveal-lines {
    opacity: 1;
}

.o-text-reveal-lines.is-initialized {
    display: block !important;
}

.o-text-reveal-lines .line-mask {
    display: block;
    overflow: hidden;
    /* margin-bottom: -0.1em; */
    /* Adjust based on line-height to hide overflow properly if needed */
}

.o-text-reveal-lines .line {
    display: flex;
    transform: translateY(100%);
    will-change: transform;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* Media Effect */
.o-media {
    position: relative;
    display: block;
    overflow: hidden;
    padding-bottom: 75%;
    opacity: 0;
    scale: 0.8;
    transition: opacity 0.6s ease-out, scale 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.o-media.is-inview {
    opacity: 1;
    scale: 1;
}

.o-media picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.o-media__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: cover;
    scale: 1.2;
    transition: scale 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.o-media.is-inview .o-media__image {
    scale: 1;
}

.o-media--absolute {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-bottom: 0 !important;
}

/* Reveal Childs Effect */
.o-reveal-childs>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.o-reveal-childs.is-inview>* {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for children */
.o-reveal-childs.is-inview>*:nth-child(1) {
    transition-delay: 0.1s;
}
.o-reveal-childs.is-inview>*:nth-child(2) {
    transition-delay: 0.2s;
}
.o-reveal-childs.is-inview>*:nth-child(3) {
    transition-delay: 0.3s;
}
.o-reveal-childs.is-inview>*:nth-child(4) {
    transition-delay: 0.4s;
}
.o-reveal-childs.is-inview>*:nth-child(5) {
    transition-delay: 0.5s;
}
.o-reveal-childs.is-inview>*:nth-child(6) {
    transition-delay: 0.6s;
}
.o-reveal-childs.is-inview>*:nth-child(7) {
    transition-delay: 0.7s;
}
.o-reveal-childs.is-inview>*:nth-child(8) {
    transition-delay: 0.8s;
}
.o-reveal-childs.is-inview>*:nth-child(9) {
    transition-delay: 0.9s;
}
.o-reveal-childs.is-inview>*:nth-child(10) {
    transition-delay: 1.0s;
}


/* Button Styles & Effects */
.o-button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.75em 1.5em;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid currentColor;
    /* Use currentColor for flexibility */
    border-radius: 4px;
    /* Adjust as needed */
    overflow: hidden;
    transition: color 0.3s, background-color 0.3s, border-color 0.3s;
    cursor: pointer;
    vertical-align: middle;
    z-index: 1;
}

/* Hover Wave Effect using pseudo-element */
.o-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    /* Fill with text color on hover */
    opacity: 0.1;
    /* Subtle fill */
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: -1;
}

.o-button:hover::after {
    transform: scaleY(1);
}

/* Optional: Different visual for specific button types if needed */
.o-button--primary {
    background-color: var(--color-blue, #005DA7);
    color: #fff;
    border-color: var(--color-blue, #005DA7);
}

.o-button--primary:hover {
    background-color: #004a87;
    /* Darker shade */
    border-color: #004a87;
}
/* Ensure wave effect doesn't conflict with solid background buttons if not desired */
.o-button--primary::after {
    background-color: #fff;
    opacity: 0.2;
}

/* Base Variable for Scrollbar Width */
:root {
    --scrollbar-width: 0px;
}

/* Full Width Utility */
.full-width {
    width: calc(100vw - var(--scrollbar-width));
    margin-left: calc(50% - (100vw - var(--scrollbar-width)) / 2);
    margin-right: calc(50% - (100vw - var(--scrollbar-width)) / 2);
    max-width: none;
}

/* Full Width Utility with Limit */
.full-width.full-width-has-limit {
    max-width: 1920px;
    margin-left: max(calc(50% - (100vw - var(--scrollbar-width)) / 2), calc(50% - 960px));
    margin-right: max(calc(50% - (100vw - var(--scrollbar-width)) / 2), calc(50% - 960px));
}

.news-posts-container img:not(.o-media__image):not(.no-animation) {
    opacity: 0 !important;
    visibility: hidden !important;
}