/* ================== GRID LAYOUT ================== */
.mrhost-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* Mobile: 1 per row (100% width) */
@media (max-width: 600px) {
    .mrhost-info-grid {
        grid-template-columns: 1fr;
        width: 100% !important;
        gap: 14px;
    }
}

/* ================== INFO SQUARE ================== */
.info-square {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 18px;
    border-radius: 6px;
    width: 100%;                 /* <-- makes each card full width */
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    transition: background-color .3s ease, border-color .3s ease;
    border: 1px solid #e6e6e6;
}

.mega-service-parent-active,
.mega-service-parent-active .e-n-menu-title-text,
.mega-service-parent-active svg path {
    color: #355154 !important;
    fill: #355154 !important;
    stroke: #355154 !important;
}

/* ACTIVE STATE FOR INFO SQUARE */
.info-square.active {
    background-color: #e5efef !important;
}

.info-square.active .info-icon {
    color: #355154 !important;
}

.info-square:hover {
    background-color: #e5efef;
}

/* Icon */
.info-icon {
    font-size: 34px;
    color: #355154;
    margin-bottom: 14px;
    transition: color .3s ease;
}

.info-square:hover .info-icon {
    color: #4d6e71;
}

/* Title */
.info-square h3 {
    color: #000;
    font-size: 20px;
    font-weight: 500;
    margin: 0 0 8px;
}

/* Description */
.info-square p {
    color: #888;
    font-size: 16px;
    margin: 0;
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 601px) {
    .info-icon {
        font-size: 28px;
    }

    .info-square h3 {
        font-size: 18px;
    }

    .info-square p {
        font-size: 15px;
    }
}

/* ================== MOBILE: ICON LEFT, TEXT RIGHT ================== */
@media (max-width: 600px) {

    .info-square {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
        width: 100%;
    }

    .info-icon {
        font-size: 26px;
        margin: 0;
        flex-shrink: 0;
    }

    /* TEXT STACKS VERTICALLY IN COLUMN */
    .info-square-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }

    .info-square h3 {
        font-size: 18px;
        margin: 0;
        text-align: left;
    }

    .info-square p {
        font-size: 14px;
        margin: 0;
        text-align: left;
    }
}

/* -------------------------------
   MOBILE-ONLY NAV ITEM: #svea-offert
------------------------------- */
body #svea-offert {
    display: none;
    /* hidden by default on desktop */
}

/* Mobile (max-width 600px) */
@media (max-width: 600px) {
    body #svea-offert {
        display: block;
        /* show only on phone */
        color: #fff;
        padding: 10px 13px;
        text-align: center;
        transition: background-color 0.3s ease, color 0.3s ease;
        text-decoration: none;
    }

    /* #svea-offert .e-n-menu-title-text{
        color: white !important;
    } */

    body #svea-offert:hover,
    body #svea-offert.e-current {
        background-color: #355154;
        color: #fff !important;
        border-color: #355154 !important;
    }

    body #svea-offert.e-current .e-n-menu-title-text {
        color: white !important;
    }
    
}
