/* =========================================================
   GMD HELP CENTRE
   Desktop / Tablet / Mobile
========================================================= */

.gmd-help-centre{
    --gmd-help-blue:#2563eb;
    --gmd-help-dark:#172554;
    --gmd-help-text:#475569;
    --gmd-help-border:#e2e8f0;
    --gmd-help-light:#eff6ff;

    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:24px;
    color:var(--gmd-help-text);
    box-sizing:border-box;
}

.gmd-help-centre *,
.gmd-help-centre *::before,
.gmd-help-centre *::after{
    box-sizing:border-box;
}

.gmd-help-centre [hidden]{
    display:none !important;
}


/* =========================================================
   HERO HEADER
========================================================= */

.gmd-help-hero{
    background:linear-gradient(
        135deg,
        #172554 0%,
        #1d4ed8 65%,
        #0878df 100%
    );
    border-radius:24px;
    padding:55px 30px;
    text-align:center;
    color:#fff;
    margin-bottom:30px;
}

.gmd-help-eyebrow{
    font-size:13px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    color:#bfdbfe;
    margin-bottom:15px;
}

.gmd-help-hero h1{
    font-size:46px;
    line-height:1.15;
    font-weight:800;
    color:#fff;
    margin:0 0 16px;
}

.gmd-help-hero p{
    font-size:18px;
    line-height:1.6;
    color:#e0ecff;
    max-width:650px;
    margin:0 auto 28px;
}


/* =========================================================
   SEARCH BAR
========================================================= */

.gmd-help-search{
    display:flex;
    align-items:center;
    gap:14px;
    max-width:650px;
    margin:0 auto;
    padding:8px 20px;
    background:#fff;
    border-radius:14px;
    box-shadow:0 8px 25px rgba(0,0,0,.12);
}

.gmd-help-search svg{
    width:24px;
    height:24px;
    flex-shrink:0;
    color:#64748b;
}

.gmd-help-search .gmd-help-search-input{
    width:100%;
    min-width:0;
    height:48px;
    padding:0;
    margin:0;
    border:0;
    outline:none;
    box-shadow:none;
    background:transparent;
    font-size:17px;
    color:#172554;
}

.gmd-help-search:focus-within{
    outline:3px solid #93c5fd;
    outline-offset:3px;
}

.gmd-help-search-input::placeholder{
    color:#94a3b8;
}


/* =========================================================
   CATEGORY CARDS
========================================================= */

.gmd-help-category-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
    margin-bottom:30px;
}

.gmd-help-category-card{
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    min-width:0;
    min-height:190px;
    padding:24px;
    background:#fff;
    border:1px solid var(--gmd-help-border);
    border-radius:18px;
    text-decoration:none !important;
    color:var(--gmd-help-text);
    box-shadow:0 4px 14px rgba(15,23,42,.04);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.gmd-help-category-card:hover{
    transform:translateY(-4px);
    border-color:#93c5fd;
    box-shadow:0 10px 25px rgba(37,99,235,.12);
}

.gmd-help-category-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:52px;
    height:52px;
    flex-shrink:0;
    border-radius:13px;
    background:#eff6ff;
    color:var(--gmd-help-blue);
}

.gmd-help-category-icon svg{
    width:27px;
    height:27px;
}

.gmd-help-category-card h2{
    margin:17px 0 8px;
    font-size:21px;
    line-height:1.3;
    font-weight:700;
    color:var(--gmd-help-dark);
}

.gmd-help-category-card p{
    margin:0;
    padding-right:18px;
    font-size:15px;
    line-height:1.6;
    color:var(--gmd-help-text);
}

.gmd-help-category-arrow{
    position:absolute;
    right:20px;
    top:30px;
    font-size:25px;
    font-weight:600;
    color:var(--gmd-help-blue);
}


/* =========================================================
   MY ACCOUNT QUICK ACCESS
========================================================= */

.gmd-help-account-bar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    padding:26px 30px;
    margin-bottom:40px;
    background:#eff6ff;
    border:1px solid #dbeafe;
    border-radius:18px;
}

.gmd-help-account-bar h2{
    font-size:23px;
    font-weight:700;
    color:var(--gmd-help-dark);
    margin:0 0 8px;
}

.gmd-help-account-bar p{
    font-size:15px;
    line-height:1.6;
    margin:0;
    color:var(--gmd-help-text);
}

.gmd-help-centre .gmd-help-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    min-height:48px;
    padding:14px 25px;
    border-radius:10px;
    background:var(--gmd-help-blue);
    color:#fff !important;
    font-size:15px;
    font-weight:700;
    line-height:1.4;
    text-align:center;
    text-decoration:none !important;
    transition:background .2s ease;
}

.gmd-help-centre .gmd-help-button:hover{
    background:#1d4ed8;
}


/* =========================================================
   FREQUENTLY ASKED QUESTIONS
========================================================= */

.gmd-help-section-heading{
    font-size:32px;
    font-weight:800;
    color:var(--gmd-help-dark);
    margin:0 0 26px;
}

.gmd-help-faq-section{
    background:#fff;
    border:1px solid var(--gmd-help-border);
    border-radius:18px;
    padding:25px;
    margin-bottom:24px;
    scroll-margin-top:120px;
    box-shadow:0 4px 15px rgba(15,23,42,.04);
}

.gmd-help-faq-heading{
    display:flex;
    align-items:center;
    gap:15px;
    padding-bottom:20px;
    border-bottom:1px solid var(--gmd-help-border);
}

.gmd-help-faq-heading h2{
    font-size:24px;
    font-weight:700;
    line-height:1.3;
    color:var(--gmd-help-dark);
    margin:0;
}

.gmd-help-faq-list{
    margin-top:5px;
}

.gmd-help-faq-item{
    margin:0;
    padding:0;
    border:0;
    border-bottom:1px solid var(--gmd-help-border);
}

.gmd-help-faq-item:last-child{
    border-bottom:0;
}

.gmd-help-faq-item summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:20px 8px;
    cursor:pointer;
    list-style:none;
    font-size:16px;
    line-height:1.5;
    font-weight:600;
    color:#1e293b;
    transition:color .2s ease;
}

.gmd-help-faq-item summary::-webkit-details-marker{
    display:none;
}

.gmd-help-faq-item summary::marker{
    content:"";
}

.gmd-help-faq-item summary:hover{
    color:var(--gmd-help-blue);
}

.gmd-help-faq-item[open] summary{
    color:var(--gmd-help-blue);
}

.gmd-help-faq-toggle{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    flex-shrink:0;
    border-radius:50%;
    background:#eff6ff;
    color:var(--gmd-help-blue);
}

.gmd-help-faq-toggle::before{
    content:"+";
    font-size:23px;
    line-height:1;
    font-weight:400;
}

.gmd-help-faq-item[open] .gmd-help-faq-toggle{
    background:var(--gmd-help-blue);
    color:#fff;
}

.gmd-help-faq-item[open] .gmd-help-faq-toggle::before{
    content:"−";
}

.gmd-help-faq-answer{
    padding:0 8px 22px;
}

.gmd-help-faq-answer p{
    margin:0;
    padding:18px 20px;
    border-left:3px solid var(--gmd-help-blue);
    border-radius:0 10px 10px 0;
    background:#f8fafc;
    font-size:16px;
    line-height:1.8;
    color:var(--gmd-help-text);
}


/* =========================================================
   SEARCH RESULTS
========================================================= */

.gmd-help-search-results{
    padding:15px 20px;
    margin:0 0 20px;
    background:#eff6ff;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    color:var(--gmd-help-dark);
}

.gmd-help-no-results{
    padding:45px 25px;
    text-align:center;
    background:#f8fafc;
    border:1px solid var(--gmd-help-border);
    border-radius:18px;
    margin-bottom:25px;
}

.gmd-help-no-results h3{
    font-size:23px;
    font-weight:700;
    color:var(--gmd-help-dark);
    margin:0 0 12px;
}

.gmd-help-no-results p{
    font-size:16px;
    line-height:1.6;
    margin:0 0 20px;
}

.gmd-help-centre .gmd-help-clear-search{
    padding:12px 25px;
    background:var(--gmd-help-blue);
    border:0;
    border-radius:9px;
    color:#fff;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
}

.gmd-help-centre .gmd-help-clear-search:hover{
    background:#1d4ed8;
}


/* =========================================================
   CUSTOMER SUPPORT
========================================================= */

.gmd-help-support{
    background:linear-gradient(
        135deg,
        #eff6ff,
        #dbeafe
    );
    border:1px solid #dbeafe;
    border-radius:22px;
    padding:40px 25px;
    text-align:center;
    margin-top:35px;
}

.gmd-help-support-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:72px;
    height:72px;
    background:#fff;
    border-radius:50%;
    color:var(--gmd-help-blue);
    margin-bottom:15px;
    box-shadow:0 5px 15px rgba(37,99,235,.10);
}

.gmd-help-support-icon svg{
    width:36px;
    height:36px;
}

.gmd-help-support h2{
    font-size:30px;
    font-weight:800;
    color:var(--gmd-help-dark);
    margin:0 0 14px;
}

.gmd-help-support p{
    font-size:16px;
    line-height:1.7;
    max-width:600px;
    margin:0 auto 12px;
}

.gmd-help-support .gmd-help-button{
    margin-top:15px;
}

.gmd-help-back-top{
    display:block;
    text-align:center;
    margin:25px auto 0;
    font-size:15px;
    font-weight:600;
    color:var(--gmd-help-blue);
    text-decoration:none !important;
}


/* =========================================================
   KEYBOARD ACCESSIBILITY
========================================================= */

.gmd-help-centre a:focus-visible,
.gmd-help-centre button:focus-visible,
.gmd-help-centre summary:focus-visible{
    outline:3px solid #93c5fd;
    outline-offset:4px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width:1366px){

    .gmd-help-centre{
        max-width:1050px;
        padding:20px;
    }

    .gmd-help-category-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px;
    }

    .gmd-help-hero{
        padding:45px 25px;
    }

    .gmd-help-hero h1{
        font-size:40px;
    }

    .gmd-help-category-card{
        min-height:175px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width:767px){

    .gmd-help-centre{
        padding:12px;
    }

    .gmd-help-hero{
        padding:35px 18px;
        border-radius:18px;
        margin-bottom:20px;
    }

    .gmd-help-eyebrow{
        font-size:10px;
        letter-spacing:1.5px;
    }

    .gmd-help-hero h1{
        font-size:30px;
    }

    .gmd-help-hero p{
        font-size:15px;
        margin-bottom:22px;
    }

    .gmd-help-search{
        padding:5px 12px;
        gap:10px;
        border-radius:10px;
    }

    .gmd-help-search .gmd-help-search-input{
        font-size:16px;
        height:44px;
    }

    .gmd-help-category-grid{
        grid-template-columns:1fr;
        gap:12px;
        margin-bottom:20px;
    }

    .gmd-help-category-card{
        padding:18px;
        min-height:0;
        border-radius:14px;
    }

    .gmd-help-category-icon{
        width:44px;
        height:44px;
        border-radius:10px;
    }

    .gmd-help-category-icon svg{
        width:24px;
        height:24px;
    }

    .gmd-help-category-card h2{
        font-size:19px;
        margin:12px 0 5px;
    }

    .gmd-help-category-card p{
        font-size:14px;
    }

    .gmd-help-category-arrow{
        top:22px;
        right:18px;
    }

    .gmd-help-account-bar{
        flex-direction:column;
        align-items:stretch;
        text-align:center;
        padding:22px 18px;
        gap:18px;
        margin-bottom:28px;
    }

    .gmd-help-account-bar h2{
        font-size:21px;
    }

    .gmd-help-section-heading{
        font-size:25px;
        margin-bottom:18px;
    }

    .gmd-help-faq-section{
        padding:16px;
        margin-bottom:16px;
        border-radius:14px;
        scroll-margin-top:100px;
    }

    .gmd-help-faq-heading{
        gap:12px;
        padding-bottom:16px;
    }

    .gmd-help-faq-heading h2{
        font-size:20px;
    }

    .gmd-help-faq-item summary{
        font-size:15px;
        padding:16px 0;
        gap:12px;
    }

    .gmd-help-faq-toggle{
        width:27px;
        height:27px;
    }

    .gmd-help-faq-answer{
        padding:0 0 16px;
    }

    .gmd-help-faq-answer p{
        padding:14px;
        font-size:15px;
        line-height:1.7;
    }

    .gmd-help-support{
        padding:30px 18px;
        border-radius:16px;
    }

    .gmd-help-support h2{
        font-size:25px;
    }

    .gmd-help-support p{
        font-size:15px;
    }

    .gmd-help-support .gmd-help-button{
        width:100%;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion:reduce){

    .gmd-help-centre *{
        transition:none !important;
        scroll-behavior:auto !important;
    }

    .gmd-help-category-card:hover{
        transform:none;
    }

}