/* Other Section Styles */

/* Intro Section (Grey Banner) */
.other-intro {
    background-color: #f2f2f2;
    /* Grey */
    position: relative;
    overflow: hidden;
    height: 40vh;
    /* Adjust height to fit the big text nicely */
    display: flex;
    align-items: flex-end;
    /* Align to bottom for cut-off effect */
    justify-content: center;
}

/* Content Section (White BG) */
.other-content {
    background-color: #ffffff;
    /* White */
    padding: 8rem 4rem 4rem 4rem;
    position: relative;
    z-index: 2;
}

.other-container {
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.other-block {
    margin-bottom: 8rem;
}

.other-text-heading {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.6;
    color: var(--color-text-secondary);
    /* Matches project description */
    margin-bottom: 2rem;
}

/* Ad Grid */
/* Ad Grid */
.ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.ad-item-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ad-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.ad-item:hover img {
    transform: translateY(-5px);
}

.ad-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #cc0000;
    /* YouTube red or theme accent? Using generic link color/dark grey is safer, but "View on youtube" suggests action. Let's use dark grey with underline. */
    color: #666;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.ad-link:hover {
    color: #000;
}

/* TSS Overlay - Vertical Layout */
.tss-overlay-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    /* Spacing between vertically stacked images */
    width: 100%;
}

.tss-img {
    position: relative;
    border-radius: 4px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
    width: 100%;
    max-width: 650px;
    /* Reduced from 900px */
    height: auto;
}

/* Remove absolute positioning classes */
.tss-bag,
.tss-glasses,
.tss-man {
    position: static;
    transform: none;
    width: 100%;
}

/* Removed hover interactivity */
.tss-img:hover {
    transform: none;
    z-index: auto;
}

/* Art Grid */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.art-grid img {
    width: 100%;
    height: 400px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Crop to cover */
    border-radius: 4px;
    /* Removed box-shadow as requested to avoid 'white container' look */
    box-shadow: none;
}

/* Background Text (OTHER) - Top Cut-off Style */
.other-bg-text {
    font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, serif;
    font-size: 28vw;
    color: #ffffff;
    line-height: 0.8;
    margin: 0;
    white-space: nowrap;
    font-weight: bold;
    letter-spacing: -0.05em;
    pointer-events: none;
    font-style: italic;
    text-align: center;
    /* Shift down to cut off bottom */
    transform: translateY(35%);
    width: 100%;
    position: relative;
    /* Relative to flex container */
    /* Remove absolute since container handles centering/cutting */
    /* top: 0; left: 0; z-index: 0; */
}

@media (max-width: 768px) {
    .other-content {
        padding: 4rem 2rem;
    }

    .other-intro {
        height: 30vh;
    }

    .tss-overlay-container {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .tss-img {
        position: relative;
        transform: none !important;
        width: 100%;
        max-width: 100%;
        top: auto;
        left: auto;
    }
}

/* Looking for more Link */
.other-footer-link {
    margin-top: 4rem;
    text-align: left;
    font-family: var(--font-body);
}

.other-footer-link p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.figma-link {
    font-size: 1.1rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
}

.figma-link:hover {
    color: #000;
    border-bottom-width: 2px;
}

.back-to-top-container {
    margin-top: 6rem;
    /* Increased spacing */
}

.back-to-top-link {
    font-size: 0.9rem;
    color: #999;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.back-to-top-link:hover {
    color: #333;
}