.irm-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: #f7f9fa;
}

.irm-bg-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.irm-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Super clean, crisp transition with no traces of lingering photos */
}

.irm-bg-layer.active {
    opacity: 0.60; /* Higher visibility standard opacity */
}

.irm-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to right, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.92) 35%, rgba(255,255,255,0.4) 65%, rgba(255,255,255,0) 100%);
    transition: background 0.3s ease-in-out;
}

/* Reduced gradient whitewash on hover to let Larry sunset beach photo and other dog photos shine clearly */
.irm-container.has-hover .irm-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.50) 30%, rgba(255,255,255,0.05) 75%, rgba(255,255,255,0) 100%);
}

.irm-container.has-hover .irm-bg-layer.active {
    opacity: 1.00 !important; /* Full, crisp opacity on hover */
}

.irm-content-wrapper {
    position: relative;
    z-index: 3;
    padding-left: 8%;
    padding-right: 8%;
    max-width: 720px;
    width: 100%;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-sizing: border-box;
}

.irm-header-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.irm-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d95f02 !important; /* Force Orange colour as requested */
    margin: 0;
    line-height: 1.2;
}

.irm-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #57606f;
    margin: 0;
}

.irm-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.irm-menu-item {
    margin: 0;
}

.irm-link {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

.irm-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #d95f02;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.irm-link:hover::after {
    transform: scaleX(1);
}

.irm-link-text {
    font-size: 2.4rem;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.irm-link:hover .irm-link-text {
    color: #d95f02;
}

.irm-link-meta {
    font-size: 1.1rem;
    font-weight: 400;
    color: #7f8c8d;
    white-space: nowrap;
}

.irm-divider {
    margin: 0 0.5rem;
    color: #bdc581;
}

.irm-footer-note {
    font-size: 0.85rem;
    line-height: 1.5;
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
}

@media (max-width: 768px) {
    .irm-content-wrapper {
        padding-left: 5%;
        padding-right: 5%;
    }
    .irm-link {
        flex-direction: column;
        gap: 0.2rem;
        align-items: flex-start;
    }
    .irm-link-text {
        font-size: 1.8rem;
    }
    .irm-link-meta {
        font-size: 0.95rem;
    }
}
