/* * -----------------------------
 * Home Rdesign Magazine
 * ----------------------------- */
.rdesign-container {
    /* max-width: 1200px */
    /* margin: 0 auto */
    /* padding: 2rem */
}

.rdesign-card {
    /* background: var(--grey) */
    border-radius: 1rem;

    /* padding: 0 1.25rem */
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    /* gap: 0.5rem */
    height: 100vh;
    overflow: hidden;
}

.rdesign-card__content {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    /* border-radius: 0.5rem */
}

.rdesign-card__title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 3.5rem;
    font-variation-settings: "wght" 700;
    margin: 0;
    line-height: 1;
}

.rdesign-card__subtitle {
    font-size: 1.5rem;
    margin-top: 2rem;
    line-height: 1.4;
}

.rdesign-card__buttons {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.rdesign-card__button {
    padding: 1.5rem;
    text-decoration: none;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    justify-content: space-between;
    width: 250px;
}

.rdesign-card__button--dark {
    background: var(--lightgreen);
    color: var(--dark);
}

.rdesign-card__button--dark:hover {
    background: #333;
}

.rdesign-card__button--light {
    background: var(--white);
    color: #1a1a1a;
}

.rdesign-card__button--light:hover {
    background: #e0e0e0;
}

.rdesign-card__button-label {
    text-transform: uppercase;

    /* font-size: 0.875rem */
    /* font-weight: 600 */
    /* letter-spacing: 0.05em */
    margin-bottom: 0.25rem;
}

.rdesign-card__button-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1;
    margin-top: 0.5rem;
}

.rdesign-card__button-text {
    /* font-size: 1rem;
    line-height: 1.4; */
    /* margin-bottom: 0.5rem */
    max-width: 15ch;
}

.rdesign-card__button-arrow {
    /* font-size: 1.2rem */
    align-self: flex-end;
}

.rdesign-card__image {
    grid-column: 7 / 13;
    border-radius: 0.5rem;

    /* max-height: 550px */
    /* aspect-ratio: 1 / 1 */
}

@media (max-width: 768px) {
    .rdesign-card__content,
    .rdesign-card__image {
        grid-column: span 12;
    }

    .rdesign-card__image {
        min-height: 300px;
    }
}

.rdesign-card__flex {
    display: flex;
    flex-direction: column;
    row-gap: 1.5rem;
    max-width: 70ch;
}

.rdesign-text-arrow-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* FOOTER MENU */
/* CSS */
.menu-section {
    /* color: var(--lightgreen) */
}

.menu-section__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-section__item {
    margin-bottom: 2rem;
    position: relative;
}

.menu-section__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: flex-start;
    position: relative;
}

.menu-section__arrow {
    font-size: 1.2rem;
    margin-right: 1rem;
    opacity: 0.5;
    transition: transform 0.5s, opacity 0.5s;
}

.menu-section__text {
    display: block;
    position: relative;

    /* Add position relative for child absolute positioning */
}

.menu-section__title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.5;
    transform: translateX(0);
    transition: transform 0.5s, opacity 0.5s;
}

.menu-section__subtitle {
    font-size: 1rem;
    font-weight: 300;
    margin-top: 0.5rem;
    display: block;
    opacity: 0.5;
    transform: translateX(0);
    transition: transform 0.5s 0.1s, opacity 0.5s 0.1s;

    /* Add delay here */
}

.menu-section__item:hover .menu-section__arrow {
    opacity: 0;
    transform: translateX(10px);
}

/* Apply individual transforms with delays */
.menu-section__item:hover .menu-section__title {
    opacity: 1;
    transform: translateX(10px);
}

.menu-section__item:hover .menu-section__subtitle {
    opacity: 1;
    transform: translateX(10px);

    /* Delay is already in the transition property above */
}
