.unbutton {
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    margin: 0;
    padding: 0
}

.unbutton:focus {
    outline: none
}

#coding {
    margin: 0 auto;
    max-width: 100vw;
    padding: 2rem 2rem 4rem
}

body #cdawrap {
    justify-self: start
}

.grid {
    border: 1px solid #2a2b3a;
    display: grid;
    grid-template-columns: 1fr;
    margin: 10vh 0
}

.grid__item {
    align-content: start;
    background: transparent;
    border: 1px solid #2e2e2f;
    display: grid;
    gap: 1.5rem;
    grid-template-rows: auto 1fr auto;
    padding: 1.5rem 1.5rem 2rem
}

.grid__item-img {
    aspect-ratio: 1;
    border-radius: 12px; /* Added rounded edges */
    display: grid;
    overflow: hidden;
    place-items: center;
    position: relative;
    width: 100%;
    --x: 0px;
    --y: 0px
}

.grid__item-img img {
    aspect-ratio: auto;
    height: 100%;
    object-fit: cover;
    object-position: center;
    width: 100%;
    border-radius: 12px; /* Added rounded edges */
}

.grid__item-img:after {
    content: "";
    height: 100%;
    left: 0;
    mix-blend-mode: darken;
    position: absolute;
    top: 0;
    width: 100%
}

.grid__item-img-decox {
    -webkit-mask-image: radial-gradient(300px circle at var(--x) var(--y), #000 20%, rgba(0, 0, 0, .25), transparent);
    mask-image: radial-gradient(300px circle at var(--x) var(--y), #000 20%, rgba(0, 0, 0, .25), transparent)
}

.grid__item-img-deco,
.grid__item-img-decox {
    font-family: input-mono, monospace;
    font-size: .85rem;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    word-wrap: break-word;
    color: #fff;
    line-height: 1.15;
    opacity: 0;
    transition: opacity .3s ease
}

.grid__item:not(.grid-itemz) .grid__item-img:hover .grid__item-img-deco {
    opacity: 1
}

/* Completely disable hover and click interactions for grid-itemz */
.grid-itemz {
    pointer-events: none;
}

/* Ensure links inside grid-itemz are also disabled */
.grid-itemz a {
    pointer-events: none;
    cursor: default;
}

.grid-itemz .grid__item-img:hover .grid__item-img-deco {
    opacity: 0
}

.grid__item-video {
    display: none;
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: -101%;
    width: 100%;
    border-radius: 12px; /* Added rounded edges */
}

.grid__item-img .video-background.service-video {
    border-radius: 12px; /* Added rounded edges */
    overflow: hidden;
}

.grid__item-img .video-background.service-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px; /* Added rounded edges */
}

.grid__item-img svg {
    max-width: 180px;
    position: relative;
    width: 75%;
    z-index: 1
}

.grid__item-label {
    line-height: 1.4;
    margin: 0
}

.grid__item-tag {
    align-self: end;
    border: 1px solid #2a2b3a;
    border-radius: 1em;
    font-size: .85rem;
    justify-self: start;
    line-height: .75;
    padding: .5rem .75rem
}


@media screen and (min-width:53em) {
    .grid {
        grid-template-columns: repeat(3, 1fr)
    }

    body #cdawrap {
        justify-self: end
    }
}

.grid__item {
    position: relative
}

.uzijoint {
    position: absolute;
    right: -4px;
    top: -4px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--color-black);
    background: var(--color-black);
    z-index: 1
}

.uzijoint:before {
    display: none
}

.uzijoint:after,
.uzijoint:before {
    background: transparent;
    content: "";
    position: absolute
}

.uzijoint:after {
    display: none
}

.uzijoint-left {
    top: -4px;
    left: -4px;
    right: auto
}

.uzijoint-bottom-left,
.uzijoint-left {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--color-black);
    background: var(--color-black);
    z-index: 1
}

.uzijoint-bottom-left {
    bottom: -4px;
    left: -4px;
    top: auto
}

.uzijoint-bottom-right {
    bottom: -4px;
    right: -4px;
    top: auto;
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--color-black);
    background: var(--color-black);
    z-index: 1
}

.uzijoint-bottom-left:before {
    display: none
}

.uzijoint-bottom-left:after,
.uzijoint-bottom-left:before {
    background: transparent;
    content: "";
    position: absolute
}

.uzijoint-bottom-left:after {
    display: none
}

.uzijoint-bottom-right:before {
    background: transparent;
    content: "";
    display: none;
    position: absolute
}

.uzijoint-bottom-right:after {
    background: transparent;
    content: "";
    display: none;
    position: absolute
}

@media (max-width:767px) {
    .content--full {
        margin-top: 2rem
    }
}

.content--full {
    margin-top: 1rem;
    padding: 0
}

.content-uzi {
    display: flex;
    flex-direction: column;
    grid-area: innovation-services;
    position: relative;
    width: 100vw
}

.content__title {
    counter-increment: section;
    display: grid;
    font-family: inherit;
    font-size: var(--mid-font);
    font-weight: 300;
    gap: 2rem;
    line-height: .8;
    text-align: center
}

.innovation-services {
    display: grid;
    grid-template-areas: "innovation-title" "innovation-services";
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    padding-top: 3rem
}

.innovation-title {
    align-items: start;
    display: grid;
    padding-left: 100px
}

.title-inno {
    grid-area: innovation-title;
    padding-left: 100px;
    position: relative;
    width: 100%
}

.title-inno:before {
    align-items: center;
    border: .0058vw solid;
    border-radius: 100%;
    content: "に";
    display: flex;
    flex-flow: column;
    height: 36px;
    justify-content: center;
    left: 35px;
    position: absolute;
    top: -7px;
    width: 36px
}

/* Ensure .grid__item-label maintains consistent font size across all devices */
.grid__item-label {
    font-size: max(12px, 1em) !important;
}

/* Mobile font size fixes to prevent text from becoming too small */
@media (max-width: 767px) {
    /* Ensure all small fonts have minimum readable sizes, but exclude headings and title elements */
    p, span, a, li, button, input, textarea, label, div:not(.hidcontent__title):not(.feature-header):not(.feature-head):not(.hyper):not(.font-12):not(.content__title) {
        font-size: max(12px, 1em) !important;
    }
    
    .content__title {
        font-size: max(16px, var(--mid-font)) !important;
    }
}