﻿/* Navigation overview - Há»‡ thá»‘ng máº¡ng */
.menkar-access-overview-nav {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
    margin-top: -52px;
    border: 1px solid #e8eaf0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(34, 58, 117, 0.12);
}

/* Hide any unexpected wpautop elements inside the grid container */
.menkar-access-overview-nav br,
.menkar-access-overview-nav p,
.menkar-access-overview-nav > br,
.menkar-access-overview-nav > p {
    display: none !important;
}

.menkar-access-overview-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 92px;
    padding: 12px 8px 10px;
    color: #223a75;
    text-align: center;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.menkar-access-overview-item:hover {
    color: #f8b020;
    background: rgba(248, 176, 32, 0.05);
}

.menkar-access-overview-item.is-active {
    color: #f8b020;
    background: #fffaf2; /* Soft orange/cream background */
}

/* Yellow/orange border at the bottom of the active tab */
.menkar-access-overview-item.is-active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: #f8b020;
}

.menkar-access-overview-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 7px;
    color: currentColor;
}

.menkar-access-overview-icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

.menkar-access-overview-icon::before {
    content: attr(data-icon);
    color: currentColor;
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
}

.menkar-access-overview-text {
    color: currentColor;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 849px) {
    .menkar-access-overview-nav {
        grid-template-columns: repeat(7, 150px);
        overflow-x: auto;
        margin-top: 0;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
    }

    .menkar-access-overview-item {
        scroll-snap-align: start;
    }
}

/* Hero access feature icons */
.menkar-access-hero-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 650px;
    margin-top: 28px;
}

.menkar-access-hero-features > br {
    display: none !important;
}

.menkar-access-hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-align: center;
}

.menkar-access-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.menkar-access-hero-icon::before {
    content: attr(data-icon);
}

.menkar-access-hero-label {
    color: #fff;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (max-width: 849px) {
    .menkar-access-hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
        gap: 18px;
    }
}

/* Access service overview content */
.menkar-access-summary {
    color: #111;
    font-size: 14.5px;
    line-height: 1.75;
}

.menkar-access-summary__intro {
    margin: 0 0 18px;
    color: #111;
    text-align: left;
}

.menkar-access-summary__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menkar-access-summary__list li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 27px;
    color: #111;
    line-height: 1.55;
    text-align: left;
}

.menkar-access-summary__list li::before {
    content: "\2713";
    position: absolute;
    top: 0;
    left: 0;
    color: #f8b020;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
}

/* Access solutions */
.menkar-access-solution-card .box-image img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.menkar-access-solution-card .box-text {
    position: relative;
    padding-top: 34px !important;
}

.menkar-access-solution-icon {
    position: absolute;
    z-index: 3;
    top: -28px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #fff;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #223a75;
    box-shadow: 0 3px 9px rgba(34, 58, 117, 0.22);
    font-size: 23px;
    font-weight: 800;
    line-height: 1;
}

.menkar-access-solution-icon::before {
    content: attr(data-icon);
}

/* Access benefits */
.menkar-access-benefits {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 25px;
}

.menkar-access-benefit-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px;
    padding: 24px 14px 19px;
    border: 1px solid #e5e8ee;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(34, 58, 117, 0.06);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.menkar-access-benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 24px rgba(34, 58, 117, 0.13);
}

.menkar-access-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    color: #223a75;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
}

.menkar-access-benefit-icon::before {
    content: attr(data-icon);
}

.menkar-access-benefit-title {
    width: 100%;
    min-height: 38px;
    margin: 0 0 8px;
    color: #223a75;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center !important;
    text-transform: uppercase;
}

.menkar-access-benefit-description {
    width: 100%;
    margin: 0;
    color: #000;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center !important;
}

@media (max-width: 849px) {
    .menkar-access-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .menkar-access-benefits {
        grid-template-columns: 1fr;
    }
}

/* Access deployment process */
.menkar-access-process {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    padding: 22px 14px 28px;
    color: #fff;
}

.menkar-access-process > br {
    display: none !important;
}

.menkar-access-process-step {
    position: relative;
    min-width: 0;
    padding: 0 14px;
    text-align: center;
}

.menkar-access-process-step:not(:last-of-type)::after {
    content: "\2192";
    position: absolute;
    z-index: 4;
    top: 12px;
    right: -9px;
    color: #f8b020;
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.menkar-access-process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #223a75;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.menkar-access-process-icon::before {
    content: attr(data-icon);
}

.menkar-access-process-number {
    margin: 9px 0 7px;
    color: #f8b020;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.menkar-access-process-content {
    min-height: 100px;
    padding: 0 8px;
}

.menkar-access-process-step + .menkar-access-process-step .menkar-access-process-content {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.menkar-access-process-title {
    width: 100%;
    min-height: 38px;
    margin: 0 0 7px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center !important;
    text-transform: uppercase;
}

.menkar-access-process-description {
    width: 100%;
    margin: 0;
    color: #fff;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center !important;
}

@media (max-width: 849px) {
    .menkar-access-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 0;
    }

    .menkar-access-process-step::after {
        display: none;
    }

    .menkar-access-process-step:nth-of-type(odd) .menkar-access-process-content {
        border-left: 0;
    }
}

@media (max-width: 420px) {
    .menkar-access-process {
        grid-template-columns: 1fr;
    }

    .menkar-access-process-content {
        border-left: 0 !important;
    }
}

/* Keep only the generated icon visible; hide fallback text "icon" */
.menkar-access-hero-icon,
.menkar-access-overview-icon,
.menkar-access-solution-icon,
.menkar-access-benefit-icon,
.menkar-access-process-icon {
    font-size: 0 !important;
}

.menkar-access-hero-icon::before,
.menkar-access-overview-icon::before,
.menkar-access-solution-icon::before,
.menkar-access-benefit-icon::before,
.menkar-access-process-icon::before {
    display: inline-block;
    color: currentColor;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    line-height: 1;
}

.menkar-access-hero-icon::before,
.menkar-access-overview-icon::before {
    font-size: 27px !important;
}

.menkar-access-solution-icon::before {
    font-size: 23px !important;
}

.menkar-access-benefit-icon::before {
    font-size: 34px !important;
}

.menkar-access-process-icon::before {
    font-size: 26px !important;
}

.menkar-access-process-step:nth-of-type(2) .menkar-access-process-icon::before {
    content: "\2318";
    font-size: 28px !important;
}



