/* ===== Look & feel from the design ===== */

.amr-wrap {
    padding: 44px 0 28px;
}

.amr-frame {
    max-width: 100%;
    margin: 0 auto;
    background: #cfc8ee;
    border-radius: 40px;
    padding: 14px;
}

.amr-panel {
    background: #ffffff;
    border-radius: 28px;
    padding: 10px 15px;
}

.amr-row {
    display: flex;
    align-items: center;
}


/* Filters as dropdown toggles */

.amr-filter.dropdown-toggle {
    font-size: 17px;
    font-weight: 300;
    color: #8c90a1;
    line-height: 1;
    padding: 6px 28px;
    white-space: nowrap;
    position: relative;
    cursor: pointer;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.amr-filter:first-child {
    padding-left: 18px;
}

.amr-filter:focus {
    outline: none;
    box-shadow: none;
}

.amr-filter::after {
    display: none;
}


/* hide BS caret */

.amr-filter .caret {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-left: 10px;
    border-right: 2px solid #b8bcc8;
    border-bottom: 2px solid #b8bcc8;
    transform: rotate(45deg);
    position: relative;
    top: -2px;
}


/* Dividers */

.amr-div {
    width: 1px;
    height: 32px;
    background: #d9dbe5;
    opacity: .95;
}


/* Dropdown menus */

.amr-dd {
    min-width: 260px;
    border: 1px solid #e7e8f0;
    border-radius: 12px;
    padding: 8px;
}

.amr-dd .dropdown-item {
    font-size: 16px;
    color: #4a4e59;
    border-radius: 8px;
}

.amr-dd .dropdown-item:hover,
.amr-dd .dropdown-item:focus {
    background: #f2f5ff;
    color: #1a1f2b;
}

.amr-dd .dropdown-item.active {
    background: #e7f4ff;
    color: #0095DA;
}


/* Search button */

.amr-searchbtn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0095DA;
    color: #fff;
    border: 0;
    padding: 18px 44px;
    border-radius: 18px;
    font-size: 17px;
    line-height: 1;
    transition: transform .05s ease-in-out;
}

.amr-searchbtn:active {
    transform: translateY(1px);
}

.amr-searchbtn svg {
    width: 26px;
    height: 26px;
    margin-right: 14px;
}


/* Popular searches */

.amr-pop {
    max-width: 1320px;
    margin: 16px auto 0;
    text-align: left;
    font-size: 16px;
    font-weight: 300;
}

.amr-pop b {
    font-weight: 600;
}

.amr-pop a {
    color: #fff;
    text-decoration: underline;
}

.amr-pop a:hover {
    color: #d6efff;
    text-decoration: none;
}

.amr-pop .sep {
    color: #cfd2ff;
    padding: 0 .1rem;
}


/* Responsive */

@media (max-width:1199.98px) {
    .amr-filter {
        font-size: 20px;
        padding: 6px 20px;
    }
    .amr-searchbtn {
        font-size: 20px;
        padding: 16px 34px;
    }
}

@media (max-width:767.98px) {
    .amr-panel {
        padding: 16px;
    }
    .amr-row {
        flex-wrap: wrap;
    }
    .amr-div {
        display: none;
    }
    .amr-filter {
        padding: 10px 12px;
        font-size: 18px;
    }
    .amr-searchbtn {
        width: 100%;
        margin-top: 8px;
    }
    .amr-pop {
        text-align: center;
        font-size: 18px;
    }
}

.amr-blue-bg {
    background-color: #2E3192;
    color: #fff;
}

.tp-text-common-blue-1 {
    color: #2E3192;
}

.tp-faq-cst-tag .cst-btn-1,
.tp-faq-cst-tag .cst-btn-2,
.tp-faq-cst-tag .cst-btn-3,
.tp-faq-cst-tag .cst-btn-4,
.tp-faq-cst-tag .cst-btn-5 {
    background: #2E3192;
    color: #fff;
}

.tp-bg-gray {
    background: #e9eaed;
}

.amr-tools {
    padding: 100px 0 80px;
    color: #2E3192;
}

.amr-tools .container {
    max-width: 1220px;
}


/* keeps left margin similar to comp */


/* Heading + intro (left aligned) */

.amr-tools .heading {
    font-weight: 800;
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: .2px;
    color: #2E3192;
}

.amr-tools .intro {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.65;
    color: #2E3192;
    margin-bottom: 48px;
    margin-top: 40px
}


/* Cards row */

.amr-tools .tool-card {
    border: 1px solid #c9ccd7;
    border-radius: 22px;
    padding: 34px 28px;
    height: 100%;
    transition: box-shadow .15s ease, transform .15s ease;
}

.amr-tools .tool-card:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    transform: translateY(-2px);
}

.amr-tools .card-line {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


/* Icon, title, meta */

.amr-tools .tool-icon {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex: 0 0 auto;
}

.amr-tools .tool-title {
    font-size: 18px;
    color: #22246d;
    margin: 4px 0 8px;
}

.amr-tools .tool-meta {
    font-size: 14px;
    color: #2E3192;
}


/* Spacing between cards like comp */

@media (min-width: 992px) {
    .amr-tools .g-custom {
        row-gap: 28px;
    }
}

@media (max-width: 991.98px) {
    .amr-tools {
        padding: 70px 0;
    }
    .amr-tools .heading {
        font-size: 44px;
    }
    .amr-tools .intro {
        margin-bottom: 36px;
    }
}


.amr-bg-img{
    background-image: url(../images/AMR.png);
    background-repeat: no-repeat;
    background-position: 0 85%;
    background-size: 70%;
}

.tp-text-common-blue-2{
    color:#0095DA;
}


.amr-subscribe {
    --panel-bg: #bfe3ff;      /* light blue panel */
    --ink: #2e2f87;           /* deep indigo text */
    --cta: #2d2e86;           /* CTA pill color */
    --radius: 24px;

    color: var(--ink);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.amr-subscribe .panel {
    background: var(--panel-bg);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
}

/* Left content */
.amr-subscribe .title {
    font-weight: 800;
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 10px;
    color: #2E3192;

}
.amr-subscribe .lead {
    font-size: 20px;
    line-height: 1.6;
    color: var(--ink);
    opacity: .95;
    margin-bottom: 36px;
}

/* CTA Pill */
.amr-subscribe .btn-cta {
    background: var(--cta);
    color: #fff;
    border: 0;
    padding: 16px 28px;
    border-radius: 999px;
    letter-spacing: .3px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    box-shadow: none;
}
.amr-subscribe .btn-cta:focus { box-shadow: 0 0 0 .2rem rgba(45,46,134,.2); }
.amr-subscribe .btn-cta svg {
    width: 22px; height: 22px; flex: 0 0 auto;
    transition: transform .12s ease-in-out;
}
.amr-subscribe .btn-cta:hover svg { transform: translateX(4px); }

/* Right illustration area */
.amr-subscribe .illustration {
    min-height: 220px;        /* maintains height; image defines final height on lg */
    border-radius: calc(var(--radius) - 6px);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}

.amr-subscribe .stay-up-to-date{
    padding: 56px 56px;
}

.amr-subscribe .illustration {
    background-image: url('../images/image-11.png');
    background-size: cover;
}

/* Tighten layout on smaller screens */
@media (max-width: 991.98px){
    .amr-subscribe .panel { padding: 40px 28px; }
    .amr-subscribe .title { font-size: 40px; }
    .amr-subscribe .lead  { font-size: 18px; margin-bottom: 28px; }
    .amr-subscribe .illustration { display:none; } /* hide image to prioritize text */
}


.amr-submenu {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%;                        /* covers part of the width, aligned to right */
    background: #0095DA;               /* blue background */
    z-index: 10;
    padding: 1.5em 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border-bottom-left-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* === Navigation items === */
.amr-submenu .nav {
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.amr-submenu .nav-link {
    color: #fff;
    font-size: 17px;
    position: relative;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    opacity: 0.95;
}

.amr-submenu .nav-link:hover,
.amr-submenu .nav-link:focus {
    opacity: 1;
}

/* === Active white underline === */
.amr-submenu .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: -24px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}

/* === Responsive adjustments === */
@media (max-width: 991.98px) {
    .amr-submenu {
        width: 100%;
        border-radius: 0;
        overflow-x: auto;
        white-space: nowrap;
    }
}


     /* =========================
        NAMESPACED STYLES ONLY
     ========================= */
 .home-featured-resources{
     --amr-bg: #393C92;
     --amr-ink: #2E3192;
     --amr-pill: #0095DA;
     --amr-card: #D9D9D9;
     --amr-card-radius: 18px;

     --hfr-bar: #B6B8D7;
     --hfr-active: #2E3192;
     --hfr-text: rgba(255,255,255,.88);

     position: relative;
     overflow: hidden;
     padding: 42px 0 36px;
 }

/* faint watermark-ish shapes */
.home-featured-resources::before{
    content:"AMR";
    position:absolute;
    left:-120px;
    bottom:-180px;
    font-weight:800;
    font-size:420px;
    letter-spacing:8px;
    color:rgba(255,255,255,.06);
    transform:skewX(-10deg);
    pointer-events:none;
    user-select:none;
    line-height:1;
    white-space:nowrap;
}
.home-featured-resources::after{
    content:"";
    position:absolute;
    left:120px;
    bottom:-140px;
    width:800px;
    height:380px;
    background:rgba(255,255,255,.04);
    clip-path:polygon(0 70%,35% 30%,70% 80%,100% 25%,100% 100%,0 100%);
    pointer-events:none;
}

/* FILTER */
.home-featured-resources .hfr-filter{
    background: var(--hfr-bar);
    border-radius: 34px;
    padding: 16px;
    display:flex;
    gap: 18px;
    align-items:center;
    justify-content: space-between;
    max-width: 1600px;
    position: relative;
    z-index: 2;
    margin: 0 48px 26px;
}

.home-featured-resources .hfr-filter__item{
    border:0;
    background:transparent;
    color: var(--hfr-text);
    font-size: 24px;
    font-weight: 500;
    line-height:1;
    padding: 26px 20px;
    border-radius: 26px;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .12s ease, color .12s ease;
}
.home-featured-resources .hfr-filter__item.is-active{
    background: var(--hfr-active);
    color: #fff;
}
.home-featured-resources .hfr-filter__item:focus-visible{
    outline: 3px solid rgba(255,255,255,.55);
    outline-offset: 4px;
}

/* GRID WRAP */
.home-featured-resources .amr-section{ position: relative; z-index: 1; }
.home-featured-resources .amr-wrap{
    max-width: 1960px;
    padding: 0 48px;
    margin: 0 auto;
}
.home-featured-resources .amr-grid{
    row-gap: 44px;
}

/* CARD */
.home-featured-resources .amr-card{
    background: var(--amr-card);
    border-radius: var(--amr-card-radius);
    padding: 26px 28px 22px;
    min-height: 230px;
    border: 0;
}
.home-featured-resources .amr-pill{
    height:34px;
    padding:0 20px;
    border-radius:999px;
    background: var(--amr-pill);
    color:#fff;
    font-size:12px;
    font-weight:700;
    text-transform:uppercase;
    display:inline-flex;
    align-items:center;
    margin-bottom:16px;
}
.home-featured-resources .amr-title{
    color: var(--amr-ink);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.25;
    margin: 0 0 12px;
    max-width: 420px;
}
.home-featured-resources .amr-desc{
    color: var(--amr-ink);
    font-size: 12.75px;
    line-height: 1.55;
    margin: 0 0 18px;
    max-width: 520px;
}
.home-featured-resources .amr-tags{
    color: rgba(46,49,146,.8);
    font-size: 10.25px;
    text-decoration: underline;
    text-underline-offset: 2px;
    margin: 0;
    display: inline-block;
}
.home-featured-resources .amr-divider{
    height: 2px;
    background: var(--amr-pill);
    border: 0;
    margin: 14px 0 14px;
}
.home-featured-resources .amr-readmore{
    color: var(--amr-ink);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .4px;
    text-transform: uppercase;
    text-decoration: none;
}
.home-featured-resources .amr-readmore:hover{ text-decoration: underline; }

/* Fade filtering */
.home-featured-resources .hfr-card{ transition: opacity .16s ease; }
.home-featured-resources .hfr-card.is-fading-out{ opacity: 0; }

/* Empty state */
.home-featured-resources .hfr-empty{
    color: rgba(255,255,255,.9);
    font-weight: 600;
    padding: 18px 6px 0;
}

/* CTA */
.home-featured-resources .amr-cta-wrap{
    display:flex;
    justify-content:center;
    margin-top: 26px;
}
.home-featured-resources .amr-cta{
    height:44px;
    padding:0 26px;
    border-radius:999px;
    border:2px solid rgba(255,255,255,.65);
    background:transparent;
    color:#fff;
    font-weight:800;
    text-transform:uppercase;
    display:flex;
    align-items:center;
    gap:16px;
}

/* Responsive */
@media (max-width: 1399.98px){
    .home-featured-resources .amr-wrap{ padding: 0 28px; }
    .home-featured-resources .hfr-filter{ margin: 0 28px 22px; }
}
@media (max-width: 991.98px){
    .home-featured-resources .hfr-filter{
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px;
    }
    .home-featured-resources .hfr-filter__item{
        font-size: 18px;
        padding: 14px 18px;
        border-radius: 18px;
    }
}

.page-auth .tp-main-menu-cst>nav>ul>li>a {
    color: #fff;
}

.page-auth div.header-sticky .tp-main-menu-cst>nav>ul>li>a {
    color: #000;
}



.page-auth .tp-header-cst-wrap {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-auth  .tp-hero-cst-bottom-content {
    padding-top: 600px;
}


/* SECTION */
.home-resources .hr-resource-filter{
    padding: 30px 0 20px;
}

.home-resources .hr-resource-filter__inner{
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 46px;
}

/* CATEGORY NAV */
.home-resources .hr-catnav{
    display: flex;
    justify-content: center;
    gap: 92px;
    padding: 14px 0 18px;
}

.home-resources .hr-catnav__item{
    border: 0;
    background: transparent;
    color: rgba(255,255,255,.92);
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.home-resources .hr-catnav__item.is-active{
    opacity: 1;
}

.home-resources .hr-catnav__item:focus-visible{
    outline: 3px solid rgba(255,255,255,.55);
    outline-offset: 6px;
    border-radius: 8px;
}

/* SEARCH BAR */
.home-resources .hr-searchbar{
    display: flex;
    height: 75px;
    margin: 10px 0 22px;
    background: #fff;
    overflow: hidden;
}

.home-resources .hr-searchbar__icon{
    width: 126px;
    display: grid;
    place-items: center;
    color: #0095DA;
    border-right: 4px solid rgba(0,0,0,.85);
}

.home-resources .hr-searchbar__input{
    flex: 1;
    border: 0;
    outline: 0;
    padding: 0 34px;
    font-size: 44px;
    font-weight: 300;
}

.home-resources .hr-searchbar__input::placeholder{
    color: rgba(0,0,0,.22);
}

.home-resources .hr-searchbar__btn{
    width: 260px;
    background: #2E3192;
    color: #fff;
    font-size: 25px;
    border: 0;
}

/* SUB ROW */
.home-resources .hr-subrow{
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.9);
    font-size: 14px;
}

.home-resources .hr-subrow__right{
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.9);
    cursor: pointer;
}

.home-resources .hr-subrow__right:hover{
    text-decoration: underline;
}

.home-resources .hr-divider{
    height: 2px;
    background: rgba(255,255,255,.55);
    width: 100%;
    margin: 10px auto 0;
}

/* RESPONSIVE */
@media (max-width: 1200px){
    .home-resources .hr-catnav{ gap: 40px; justify-content: flex-start; }
    .home-resources .hr-searchbar{ height: 76px; }
    .home-resources .hr-searchbar__input{ font-size: 26px; }
    .home-resources .hr-searchbar__btn{ width: 200px; font-size: 20px; }
}

@media (max-width: 768px){
    .home-resources .hr-resource-filter__inner{ padding: 0 18px; }
    .home-resources .hr-catnav{ flex-wrap: wrap; gap: 16px; }
    .home-resources .hr-searchbar{ height: 64px; }
    .home-resources .hr-searchbar__input{ font-size: 18px; padding: 0 16px; }
    .home-resources .hr-searchbar__btn{ width: 150px; font-size: 16px; }
}


.home-resources-filter-wrapper{
    position: fixed;
    top: 250px;
    left: 0;
    width: 100%;
    z-index: 100;
}

     /* ============================
        AUTH HOME RESOURCES (scoped)
     ============================ */
 .auth-home-resources{
     --ahr-bg: #D5D5D5;          /* page background in screenshot */
     --ahr-card: #FFFFFF;
     --ahr-ink: #2E3192;         /* deep indigo text */
     --ahr-pill: #0095DA;        /* bright blue */
     --ahr-radius: 26px;
     --ahr-line: rgba(0,149,218,.75);

     padding: 40px 40px 48px;
 }

.auth-home-resources .ahr-wrap{
    max-width: 1920px;
    margin: 0 auto;
}

/* three wide with big gaps like screenshot */
.auth-home-resources .ahr-grid{
    row-gap: 56px;
}

.auth-home-resources .ahr-card{
    background: var(--ahr-card);
    border-radius: var(--ahr-radius);
    padding: 40px 44px 44px;
    min-height: 560px;
    box-shadow: none;
    border: 0;
    position: relative;
}

/* top pill: square-ish, left aligned, not rounded */
.auth-home-resources .ahr-pill{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 34px;
    background: var(--ahr-pill);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    border-radius: 0;
    margin-bottom: 84px; /* large whitespace like screenshot */
}

.auth-home-resources .ahr-title{
    color: var(--ahr-ink);
    font-weight: 800;
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 34px;
    max-width: 520px;
}

.auth-home-resources .ahr-desc{
    color: var(--ahr-ink);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 120px; /* big body gap */
    max-width: 560px;
}

/* tags: small + underlined */
.auth-home-resources .ahr-tags{
    color: rgba(46,49,146,.9);
    font-size: 10.5px;
    text-decoration: underline;
    text-underline-offset: 2px;
    display: inline-block;
    margin-bottom: 18px;
}

.auth-home-resources .ahr-divider{
    height: 2px;
    background: var(--ahr-line);
    width: 100%;
    margin: 0 0 22px;
}

.auth-home-resources .ahr-cta{
    display: inline-block;
    color: var(--ahr-ink);
    font-size: 16px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: .2px;
}

.auth-home-resources .ahr-cta:hover{
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1399.98px){
    .auth-home-resources{ padding: 32px 28px 40px; }
    .auth-home-resources .ahr-card{ padding: 34px 34px 38px; min-height: 520px; }
    .auth-home-resources .ahr-pill{ margin-bottom: 64px; }
    .auth-home-resources .ahr-desc{ margin-bottom: 30px; }
}

@media (max-width: 991.98px){
    .auth-home-resources .ahr-card{ min-height: auto; }
    .auth-home-resources .ahr-pill{ margin-bottom: 40px; height: 48px; }
    .auth-home-resources .ahr-desc{ margin-bottom: 30px; }
}

@media (max-width: 575.98px){
    .auth-home-resources{ padding: 22px 16px 26px; }
    .auth-home-resources .ahr-card{ padding: 26px 22px 26px; border-radius: 20px; }
    .auth-home-resources .ahr-title{ font-size: 18px; margin-bottom: 18px; }
}

.tp-bg-common-red-2{
    background-color: #C52026;
}
