/* Modelling Layout Container */
.modelling-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 25px 80px;
    box-sizing: border-box;
    position: relative;
    z-index: 1; /* Retains page-level stacking context over background elements */
}

/* Model Header & Stats */
.model-header {
    margin-bottom: 30px;
}

.model-name {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-color);
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.model-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(16px, 3vw, 40px);
    padding: 15px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label {
    font-family: 'Roboto', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    opacity: 0.5;
    color: var(--text-color);
}

.stat-value {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-color);
}

/* Editorial Grid Layout */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(280px, 25vw, 380px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.editorial-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.editorial-item .img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5; /* Matches photography aspect ratio standard */
    border: 3.7px solid var(--border-color);
    box-sizing: border-box;
    overflow: hidden;
}

.editorial-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.editorial-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* Metadata below each image */
.editorial-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-color);
}

.shoot-year {
    opacity: 0.5;
}

/* Optional Hero Styling for First Item */
@media (min-width: 900px) {
    .editorial-item.item-hero {
        grid-column: span 2;
    }
    .editorial-item.item-hero .img-wrapper {
        aspect-ratio: 16 / 10;
    }
}

/* Booking Section */
.booking-section {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2.7px solid var(--border-color);
}

.booking-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
}

.booking-card h3 {
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin: 0;
}

.booking-card p {
    font-size: 12px;
    letter-spacing: 0.12em;
    opacity: 0.6;
    margin: 0;
    text-transform: uppercase;
}

.booking-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-color);
    text-decoration: none;
    align-self: flex-start;
    padding: 8px 0;
    transition: opacity 0.2s ease;
}

.booking-link:hover {
    opacity: 0.6;
}

button.reveal-email-btn {
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-color);
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    user-select: none;
}

button.reveal-email-btn:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

button.reveal-email-btn.is-revealed {
    background-color: transparent;
    color: var(--text-color);
}

button.reveal-email-btn.is-revealed:hover {
    opacity: 0.6;
    background-color: transparent;
    color: var(--text-color);
}

/* Target the 5th editorial grid item wrapper for the red border */
.editorial-grid .editorial-item:nth-child(5) .img-wrapper {
    border-color: #ce1745; /* Editorial primary red */
}

/* Specifically target the 5th editorial grid item image and remove the grayscale filter */
.editorial-grid .editorial-item:nth-child(5) img {
    filter: grayscale(0%); /* Remove grayscale and show full color */
}

/* Optional: If you want to keep the hover transition for shot 5 (scale effect) but maintain its color */
.editorial-grid .editorial-item:nth-child(5):hover img {
    filter: grayscale(0%); /* Ensure it stays in color on hover */
    transform: scale(1.02); /* Maintain the existing scale effect on hover */
}