/* Case Study - Unit Studio Ads */
.studio-ads {
    box-sizing: border-box;
    width: 100%;
    max-width: 1330px;
    margin-left: auto;
    margin-right: auto;
    padding: 60px 0px;
    background-color: #191716;
}

/* Full 1330px with no side padding when there's room; below that, 40px
   either side of the whole block. Overrides the shared 20px .uc-section
   padding for this shortcode only. */
@media (max-width: 1329px) {
    .studio-ads.uc-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Vertical rhythm between blocks lives here, not on the blocks themselves,
   so any optional block can be omitted cleanly: 55px between blocks. */
.studio-ads > * {
    margin-top: 55px;
}

.studio-ads > :first-child {
    margin-top: 0;
}

.studio-ads > .studio-ads-hero {
    margin-top: 25px;
}

.studio-ads > .studio-ads-hero + * {
    margin-top: 40px;
}

.studio-ads-heading {
    color: #fcfcfc !important;
    font-size: 2.5rem !important;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.022em;
    margin: 0 0 12px;
}

.studio-ads-subheading {
    color: #c4d94c !important;
    font-size: 1.5rem !important;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.022em;
    margin: 0;
}

/* Radius on the wrapper (clipped) and the img itself, both !important -
   Elementor's kit image styles otherwise reset it to square corners. */
.studio-ads-hero,
.studio-ads-wide,
.studio-ads-gallery-item {
    overflow: hidden;
    border-radius: 10px !important;
}

.studio-ads-hero img,
.studio-ads-wide img,
.studio-ads-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px !important;
}

.studio-ads-hero img {
    aspect-ratio: 1184 / 300;
}

.studio-ads-wide img {
    aspect-ratio: 1184 / 400;
}

.studio-ads-section-heading {
    color: #fcfcfc !important;
    font-size: 2rem !important;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.022em;
    margin: 0 0 16px;
}

.studio-ads-body-text {
    color: #fcfcfc !important;
    font-size: 1.25rem !important;
    font-weight: 500;
    line-height: 1.3;
}

.studio-ads-body-text p {
    margin: 0 0 1.3em;
}

.studio-ads-body-text p:last-child {
    margin-bottom: 0;
}

.studio-ads-about-row {
    display: grid;
    grid-template-columns: minmax(0, 777px) 269px;
    justify-content: space-between;
    gap: 40px;
    align-items: start;
}

.studio-ads-deliverables-label {
    display: block;
    color: #c4d94c !important;
    font-size: 1rem !important;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.studio-ads-deliverables-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.studio-ads-deliverables-list li {
    color: #fcfcfc !important;
    font-size: 1rem !important;
    font-weight: 400;
    line-height: 2;
    text-decoration: underline;
    text-decoration-thickness: 4.5%;
    text-transform: capitalize;
}

/* Links to the service pages: inherit the list styling so Elementor's
   global link colours don't win, accent colour on hover. */
.studio-ads-deliverables-list a {
    color: inherit !important;
    text-decoration: inherit !important;
    text-decoration-thickness: inherit !important;
    transition: color 0.2s ease;
}

.studio-ads-deliverables-list a:hover,
.studio-ads-deliverables-list a:focus-visible {
    color: #c4d94c !important;
}

.studio-ads-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
}

.studio-ads-gallery-item img {
    aspect-ratio: 1 / 1;
}

.studio-ads-stats-intro {
    color: #fcfcfc !important;
    font-size: 1.25rem !important;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 55px;
}

.studio-ads-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 52px;
    margin-top: 34px;
}

.studio-ads-stats-intro + .studio-ads-stats-grid {
    margin-top: 0;
}

.studio-ads-stat {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 156px;
    padding: 21px 19px 26px;
    border: 1px solid #c4d94c;
    border-radius: 10px;
}

.studio-ads-stat-top {
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.studio-ads-stat-value {
    color: #fcfcfc !important;
    font-size: 3.875rem !important;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.studio-ads-stat-icon {
    display: block;
    flex: 0 0 auto;
    margin-top: 14px;
}

.studio-ads-stat-icon.is-down {
    transform: scaleY(-1);
}

.studio-ads-stat-label {
    color: #fcfcfc !important;
    font-size: 1.25rem !important;
    font-weight: 500;
    line-height: 1.3;
}

.studio-ads-stat-note {
    color: #fcfcfc !important;
    font-size: 0.75rem !important;
    font-weight: 500;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 1100px) {
    .studio-ads-stats-grid {
        gap: 24px;
    }
    .studio-ads-stat-value {
        font-size: 3rem !important;
    }
    .studio-ads-stat-icon {
        margin-top: 10px;
    }
    .studio-ads-stat-label {
        font-size: 1.125rem !important;
    }
}

@media (max-width: 900px) {
    .studio-ads-about-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
    .studio-ads-stats-intro {
        margin-bottom: 32px;
    }
    .studio-ads-stats-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
    .studio-ads-stat {
        min-height: 0;
    }
}

@media (max-width: 768px) {
    .studio-ads.uc-section {
        padding: 40px 20px;
    }
    .studio-ads > * {
        margin-top: 40px;
    }
    .studio-ads > .studio-ads-hero {
        margin-top: 24px;
    }
    .studio-ads > .studio-ads-hero + * {
        margin-top: 32px;
    }
    .studio-ads-heading {
        font-size: 1.75rem !important;
    }
    .studio-ads-subheading {
        font-size: 1.25rem !important;
    }
    .studio-ads-section-heading {
        font-size: 1.5rem !important;
    }
    .studio-ads-body-text,
    .studio-ads-stats-intro {
        font-size: 1.05rem !important;
    }
    .studio-ads-hero img {
        aspect-ratio: 16 / 9;
    }
    .studio-ads-wide img {
        aspect-ratio: 4 / 3;
    }
    .studio-ads-gallery {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }
}
