/* Content pages inside DWCMaster.master: Download_section.aspx, Media.aspx, awards.aspx and
   blog.aspx. They share the page heading (.cpage-*) and each has its own block below. Rows,
   video tiles and blog posts are HTML built in the code-behind, so they are styled through
   the class names it already emits. Shared colours come from css/beyoung-theme.css */

.cpage
{
    padding-bottom: 50px;
    font-family: var(--by-font);
    color: var(--by-text);
}

.cpage-container
{
    max-width: 1172px;
    margin: 0 auto;
    padding: 0 16px;
}

.cpage .breadcrum
{
    padding: 10px 0 14px;
}

.cpage .breadcrum-container ul li a,
.cpage .breadcrum-container ul span
{
    font-family: var(--by-font);
    font-size: 12px;
    letter-spacing: .3px;
}

.cpage-head
{
    margin: 4px 0 26px;
}

.cpage-title
{
    margin: 0;
    padding: 0;
    font-family: var(--by-font);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.25;
    color: var(--by-text);
}

.cpage-title:after
{
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin-top: 12px;
    border-radius: 3px;
    background: var(--by-gradient);
}

.cpage-sub
{
    margin: 12px 0 0;
    font-family: var(--by-font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--by-text-muted);
}

/* ==========================================================================
   Downloads
   ========================================================================== */
.cpage-table-card
{
    overflow: hidden;
}

.cpage-table
{
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.cpage-table thead th
{
    padding: 14px 20px;
    border: 0;
    border-bottom: 1px solid var(--by-border-soft);
    background: #faf7fc;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
    text-align: left;
    text-transform: uppercase;
    color: var(--by-text-muted);
}

.cpage-table tbody td
{
    padding: 14px 20px;
    border: 0;
    border-bottom: 1px solid var(--by-border-soft);
    font-size: 14px;
    vertical-align: middle;
    color: var(--by-text-soft);
}

.cpage-table tbody tr:last-child td
{
    border-bottom: 0;
}

.cpage-table tbody tr:hover td
{
    background: #fdfbfe;
}

.cpage-table tbody td:first-child
{
    width: 80px;
    font-weight: 600;
    color: var(--by-text-faint);
}

.cpage-table tbody td:nth-child(2)
{
    width: 150px;
    white-space: nowrap;
    color: var(--by-text-muted);
}

/* the links carry an inline blue colour from the code-behind, hence !important */
.cpage-table tbody td:nth-child(3) a
{
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
    color: var(--by-text) !important;
}

.cpage-table tbody td:nth-child(3) a:hover
{
    color: var(--by-primary) !important;
}

.cpage-table tbody td:nth-child(4)
{
    width: 170px;
    text-align: right !important;
}

.cpage-table tbody td:nth-child(4) a
{
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #f6eef5;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    color: var(--by-primary) !important;
    transition: background-color .15s ease, color .15s ease;
}

.cpage-table tbody td:nth-child(4) a:hover
{
    background: var(--by-primary);
    color: #fff !important;
}

.cpage-table tbody td[colspan]
{
    width: auto;
    padding: 34px 20px;
    text-align: center;
}

/* ==========================================================================
   Media (videos)
   ========================================================================== */
/* the code-behind writes the videos three to a wrapper <div>; each wrapper becomes a row */
.media-grid > div
{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -11px !important;
}

.media-grid > .clear
{
    display: none;
}

.media-grid [class*="col-"]
{
    float: none;
    width: 33.3333%;
    margin: 0 0 22px;
    padding: 0 11px;
}

.media-grid .card
{
    border-radius: var(--by-radius-lg);
    background: #1b0b24;
    box-shadow: 0 10px 26px rgba(63, 20, 86, 0.16);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.media-grid .card:hover
{
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(63, 20, 86, 0.24);
}

.media-grid .card-block
{
    padding: 0;
}

.media-grid .embed-responsive
{
    display: block;
}

/* "No media available..." */
.media-grid [class*="col-"] > span
{
    display: block;
    padding: 30px 20px;
    border: 1px dashed #cdb9d6;
    border-radius: var(--by-radius-lg);
    background: #fff;
    text-align: center;
}

/* ==========================================================================
   Awards
   ========================================================================== */
.awards-page.box
{
    padding: 0 0 50px;
}

.awards-page .box-partupper
{
    margin: 0 0 14px;
    padding: 0;
}

.awards-page .box-partupper img
{
    width: auto;
    max-width: 120px;
}

.awards-page .titleupper
{
    padding: 14px 0 0;
}

.awards-page .titleupper h1
{
    margin: 0;
    font-family: var(--by-font) !important;
    font-size: 30px !important;
    font-weight: 600 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.25;
    color: var(--by-text);
}

.awards-page .titleupper h1:after
{
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 3px;
    background: var(--by-gradient);
}

.awards-page .textupper
{
    margin: 14px 0 0;
    text-align: center;
}

.awards-page .textupper span
{
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--by-text-muted);
}

/* rows become flex so every card in a row has the same height */
.awards-page .row
{
    display: flex;
    flex-wrap: wrap;
}

.awards-page .row:before, .awards-page .row:after
{
    display: none;
}

.awards-page .row > [class*="col-"]
{
    display: flex;
    float: none;
}

.awards-page .box-part
{
    flex: 1 1 auto;
    min-width: 0;
    min-height: 0;
    margin: 12px 0;
    padding: 18px 14px 20px;
    border: 1.5px solid #c9a3cc;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(63, 20, 86, 0.05);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.awards-page .box-part:hover
{
    transform: translateY(-3px);
    border-color: var(--by-primary);
    box-shadow: 0 14px 30px rgba(63, 20, 86, 0.18);
}

.awards-page .box-part img
{
    width: 100%;
    border-radius: 6px;
}

/* the award photo (middle column) gets one fixed height so the titles line up across a row */
.awards-page .box-part > [class*="col-"]:nth-child(2) img
{
    height: 210px;
    object-fit: contain;
}

.awards-page .title
{
    min-height: 0;
    margin: 0;
    padding: 16px 8px 0;
    text-align: center;
}

.awards-page .title h4
{
    min-height: 0;
    margin: 0 0 6px;
    padding: 0;
    font-family: var(--by-font);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    color: var(--by-text);
}

.awards-page .title p
{
    margin: 0;
    padding: 0;
    font-family: var(--by-font);
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--by-primary);
}

.awards-page .text
{
    min-height: 0;
    margin: 8px 0 0;
    padding: 0 8px;
    text-align: center;
}

.awards-page .text span
{
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--by-text-muted);
}

.awards-page .text a
{
    font-weight: 700 !important;
    color: var(--by-primary) !important;
}

/* ==========================================================================
   Blog list
   ========================================================================== */
.blog-page .content-grids
{
    display: flex;
    align-items: flex-start;
}

.blog-page .content-main
{
    flex: 1 1 0;
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}

.blog-page .content-right
{
    flex: 0 0 300px;
    float: none;
    width: 300px;
    margin-left: 30px;
    padding: 0;
}

/* every post sits in its own <div data-page="N"> wrapper, which the pager script shows or
   hides; the element around them is the two-column grid */
.blog-page .content-grid > div:first-child
{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-gap: 22px;
}

.blog-page div[data-page]
{
    display: flex;
    min-width: 0;
}

.blog-page .content-grid-info
{
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    position: relative;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--by-border-soft);
    border-radius: var(--by-radius-lg);
    background: #fff;
    box-shadow: 0 4px 14px rgba(63, 20, 86, 0.07);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}

.blog-page .content-grid-info:hover
{
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(63, 20, 86, 0.16);
}

.blog-page .content-grid-info > img
{
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.blog-page .post-info
{
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 18px 20px 20px;
}

.blog-page .post-info h4
{
    margin: 0 0 6px;
    padding: 0;
    font-family: var(--by-font);
    font-size: 17px;
    line-height: 1.35;
}

.blog-page .post-info h4 a
{
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    color: var(--by-text);
}

.blog-page .post-info h4 a:hover
{
    color: var(--by-primary);
}

.blog-page .post-info p
{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0 0 14px;
    padding: 0;
    font-family: var(--by-font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--by-text-muted);
}

/* the date line (written with an inline font size) */
.blog-page .post-info h4 + p
{
    margin-bottom: 10px;
    font-size: 12.5px !important;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--by-primary);
}

.blog-page .post-info > a
{
    align-self: flex-start;
    margin-top: auto;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-decoration: none;
    color: var(--by-primary);
}

.blog-page .post-info > a span
{
    display: none;
}

.blog-page .post-info > a:after
{
    content: "\2192";
    display: inline-block;
    margin-left: 6px;
    transition: transform .15s ease;
}

.blog-page .post-info > a:hover:after
{
    transform: translateX(4px);
}

/* pager */
.blog-page .pagination-container > .pagination
{
    display: block;
    margin: 30px 0 0;
    text-align: center;
}

.blog-page ul.pagination
{
    display: inline-flex;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

.blog-page ul.pagination > li
{
    list-style: none;
}

.blog-page ul.pagination > li > a
{
    float: none;
    display: block;
    min-width: 42px;
    height: 42px;
    margin: 0 4px;
    padding: 0 12px;
    border: 1px solid var(--by-border);
    border-radius: 10px !important;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 40px;
    text-align: center;
    color: var(--by-primary);
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.blog-page ul.pagination > li > a:hover, .blog-page ul.pagination > li > a:focus
{
    border-color: var(--by-primary);
    background: var(--by-primary);
    color: #fff;
}

.blog-page .page
{
    display: none;
}

.blog-page .page-active
{
    display: block;
}

/* sidebar */
.blog-page .recent
{
    margin: 0 0 22px;
    padding: 20px;
    border: 1px solid var(--by-border-soft);
    border-radius: var(--by-radius-lg);
    background: #fff;
    box-shadow: 0 4px 14px rgba(63, 20, 86, 0.07);
}

.blog-page .recent h3
{
    margin: 0 0 12px;
    padding: 0;
    font-family: var(--by-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--by-primary-dark);
}

.blog-page .recent h3 i
{
    margin-right: 8px;
}

.blog-page .recent ul
{
    margin: 0;
    padding: 0;
    list-style: none;
}

.blog-page .recent ul li
{
    display: block;
    list-style: none;
}

.blog-page .recent li a
{
    display: block;
    padding: 9px 0;
    border-bottom: 1px solid var(--by-border-soft);
    font-family: var(--by-font);
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.45;
    text-decoration: none;
    color: var(--by-text-soft);
}

.blog-page .recent li a:hover
{
    color: var(--by-primary);
}

/* "Follow us" icons: round buttons instead of the outlined squares */
.blog-page .recent li a[title]
{
    display: inline-block;
    margin: 0 6px 0 0;
    padding: 0;
}

.blog-page .recent .fa-stack
{
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--by-primary-dark);
    font-size: 16px;
    line-height: 38px;
    color: #fff;
    transition: background-color .15s ease, transform .15s ease;
}

.blog-page .recent a:hover .fa-stack
{
    background: var(--by-accent);
    transform: translateY(-2px);
}

.blog-page .recent .fa-stack .fa-square-o
{
    display: none;
}

.blog-page .recent .fa-stack .fa-stack-1x
{
    font-size: 16px;
    line-height: 38px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991px)
{
    .media-grid [class*="col-"]
    {
        width: 50%;
    }

    .blog-page .content-grids
    {
        display: block;
    }

    .blog-page .content-right
    {
        width: auto;
        margin: 28px 0 0;
    }
}

@media (max-width: 767px)
{
    .cpage-title, .awards-page .titleupper h1
    {
        font-size: 24px !important;
    }

    .cpage-head
    {
        margin-bottom: 20px;
    }

    /* downloads: each row turns into a small card */
    .cpage-table thead
    {
        display: none;
    }

    .cpage-table, .cpage-table tbody, .cpage-table tbody tr, .cpage-table tbody td
    {
        display: block;
        width: auto !important;
    }

    .cpage-table tbody tr
    {
        padding: 14px 16px;
        border-bottom: 1px solid var(--by-border-soft);
    }

    .cpage-table tbody tr:last-child
    {
        border-bottom: 0;
    }

    .cpage-table tbody td
    {
        padding: 0;
        border: 0;
    }

    .cpage-table tbody td:first-child
    {
        display: none;
    }

    .cpage-table tbody td:nth-child(2)
    {
        margin-bottom: 4px;
        font-size: 12px;
    }

    .cpage-table tbody td:nth-child(4)
    {
        margin-top: 10px;
        text-align: left !important;
    }

    .cpage-table tbody td[colspan]
    {
        display: block;
        padding: 20px 0;
    }

    .media-grid [class*="col-"]
    {
        width: 100%;
        margin-bottom: 16px;
    }

    .blog-page .content-grid > div:first-child
    {
        grid-template-columns: minmax(0, 1fr);
        grid-gap: 16px;
    }
}

/* ==========================================================================
   Blog post (readmore_blog.aspx). The sidebar reuses the .blog-page rules above;
   the article body is HTML typed into the admin panel.
   ========================================================================== */
.blog-post .single > .container
{
    display: flex;
    align-items: flex-start;
}

.blog-post .single > .container:before, .blog-post .single > .container:after
{
    display: none;
}

.blog-post .single-main
{
    flex: 1 1 0;
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
}

.blog-post .single-grid
{
    padding: 0 32px 30px;
    border: 1px solid var(--by-border-soft);
    border-radius: var(--by-radius-lg);
    background: #fff;
    box-shadow: 0 4px 14px rgba(63, 20, 86, 0.07);
    overflow: hidden;
    overflow-wrap: break-word;
}

/* cover photo runs edge to edge at the top of the card */
.blog-post .single-grid > img:first-child
{
    display: block;
    width: calc(100% + 64px) !important;
    max-width: none;
    margin: 0 -32px 26px;
}

.blog-post .single-grid, .blog-post .single-grid *
{
    font-family: var(--by-font) !important;
}

.blog-post .fullpost-info
{
    padding: 0;
}

.blog-post .single-grid h1,
.blog-post .single-grid h2,
.blog-post .single-grid h3,
.blog-post .single-grid h4,
.blog-post .fullpost-info h4 a
{
    margin: 0 0 12px;
    padding: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
    color: var(--by-text);
}

.blog-post .single-grid h1, .blog-post .fullpost-info h4, .blog-post .fullpost-info h4 a
{
    font-size: 28px;
    letter-spacing: -0.3px;
}

.blog-post .single-grid p
{
    margin: 0 0 16px;
    font-size: 15.5px;
    line-height: 1.8;
    text-align: left;
    color: var(--by-text-soft);
}

.blog-post .single-grid ul, .blog-post .single-grid ol
{
    margin: 0 0 16px;
    padding: 0 0 0 22px;
}

.blog-post .single-grid ul li
{
    margin: 0 0 8px !important;
    padding: 0;
    font-size: 15.5px;
    line-height: 1.7;
    list-style: disc outside !important;
    color: var(--by-text-soft);
}

.blog-post .single-grid ol li
{
    margin: 0 0 8px;
    font-size: 15.5px;
    line-height: 1.7;
    list-style: decimal outside;
    color: var(--by-text-soft);
}

.blog-post .single-grid p a, .blog-post .bloglink a
{
    font-weight: 600;
    text-decoration: underline;
    color: var(--by-primary);
}

.blog-post .single-grid img
{
    max-width: 100%;
    height: auto;
}

.blog-post .disclaimerfooter
{
    padding: 26px 0 0;
}

.blog-post .disclaimerfooter .container:before, .blog-post .disclaimerfooter .container:after
{
    display: none;
}

.blog-post .disclaimerfooter [class*="col-"]
{
    float: none;
    width: auto;
    padding: 16px 20px;
    border-left: 3px solid #c9a3cc;
    border-radius: 0 10px 10px 0;
    background: #faf7fc;
}

.blog-post .disclaimerfooter p
{
    margin: 0;
    font-family: var(--by-font);
    font-size: 12.5px;
    line-height: 1.7;
    text-align: left;
    color: var(--by-text-muted);
}

@media (max-width: 991px)
{
    .blog-post .single > .container
    {
        display: block;
    }
}

@media (max-width: 767px)
{
    .blog-post .single-grid
    {
        padding: 0 18px 22px;
    }

    .blog-post .single-grid > img:first-child
    {
        width: calc(100% + 36px) !important;
        margin: 0 -18px 20px;
    }

    .blog-post .single-grid h1, .blog-post .fullpost-info h4, .blog-post .fullpost-info h4 a
    {
        font-size: 22px;
    }

    .blog-post .single-grid h2, .blog-post .single-grid h3
    {
        font-size: 19px;
    }
}

/* ==========================================================================
   Policy pages (Privacypolicy.aspx, Return_Policy.aspx, terms_of_service.aspx):
   long text in one white card
   ========================================================================== */
.cpage-doc
{
    padding: 30px 36px 26px;
    overflow-wrap: break-word;
}

.cpage-doc > br, .cpage-doc p > br:last-child
{
    display: none;
}

.cpage-doc h3
{
    margin: 28px 0 10px;
    padding: 0;
    font-family: var(--by-font);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--by-text);
}

.cpage-doc h3:first-child
{
    margin-top: 0;
}

.cpage-doc h3 b
{
    font-weight: inherit;
}

.cpage-doc p
{
    margin: 0 0 12px;
    padding: 0;
    font-family: var(--by-font);
    font-size: 15px;
    line-height: 1.75;
    color: var(--by-text-soft);
}

.cpage-doc ul
{
    margin: 4px 0 14px;
    padding: 0 0 0 22px;
    line-height: 1.75 !important;
}

.cpage-doc ul li
{
    margin: 0 0 4px;
    font-size: 15px;
    list-style: disc outside;
    color: var(--by-text-soft);
}

/* list rows that already start with a tick icon need no bullet */
.cpage-doc ul li:has(> .fa)
{
    margin-left: -22px;
    list-style: none;
}

.cpage-doc ul li .fa
{
    margin-right: 8px;
    color: var(--by-primary);
}

/* the capitals-only legal notice */
.cpage-doc h4
{
    margin: 16px 0 6px;
    padding: 16px 18px;
    border-left: 3px solid #c9a3cc;
    border-radius: 0 10px 10px 0;
    background: #faf7fc;
    font-family: var(--by-font);
    font-size: 12.5px !important;
    font-weight: 400;
    letter-spacing: .3px !important;
    line-height: 1.7 !important;
    color: var(--by-text-muted);
}

.cpage-doc a
{
    color: var(--by-primary);
}

/* ==========================================================================
   Our Banks (Bank.aspx): the three account tables become cards in one row
   ========================================================================== */
.bank-grid
{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-gap: 22px;
}

/* the old two-column wrappers and their headings are dissolved */
.bank-grid > [class*="col-"]
{
    display: contents;
}

.bank-grid h2
{
    display: none;
}

.bank-grid table.table
{
    width: 100%;
    min-height: 0 !important;
    margin: 0;
    border: 1.5px solid #c9a3cc;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(63, 20, 86, 0.05) !important;
    font-family: var(--by-font);
    font-size: 14.5px !important;
    overflow: hidden;
}

.bank-grid table.table > tbody > tr > td
{
    padding: 13px 18px;
    border: 0;
    border-top: 1px solid var(--by-border-soft);
    line-height: 1.5;
    vertical-align: top;
    font-weight: 600;
    color: var(--by-text);
}

.bank-grid table.table > tbody > tr > td:first-child:not([colspan])
{
    width: 38%;
    font-size: 13px;
    font-weight: 400;
    color: var(--by-text-muted);
}

/* bank logo row */
.bank-grid table.table > tbody > tr > td[colspan]
{
    padding: 20px 18px;
    border-top: 0;
    background: #faf7fc;
}

.bank-grid table.table td[colspan] img
{
    display: block;
    max-width: 100%;
    max-height: 48px;
}

/* ==========================================================================
   Contact / Help Center (Contact.aspx)
   ========================================================================== */
.contact-page .helpcenter-banner h2
{
    font-family: var(--by-font);
    font-weight: 600;
    letter-spacing: .5px;
}

.contact-page .helpcenter-banner p
{
    font-family: var(--by-font);
}

.contact-cards
{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 20px;
    margin: 30px 0 26px;
}

.contact-card
{
    padding: 26px 20px 22px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(63, 20, 86, 0.07);
}

.contact-icon
{
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--by-primary-dark);
    background: var(--by-gradient);
    font-size: 24px;
    line-height: 58px;
    color: #fff;
}

.contact-icon .fa
{
    font-size: 24px;
    line-height: 58px;
    vertical-align: top !important;
}

.contact-card h3
{
    margin: 0 0 8px;
    padding: 0;
    font-family: var(--by-font);
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.35;
    text-transform: none;
    color: var(--by-text);
}

.contact-card p
{
    margin: 0;
    font-family: var(--by-font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--by-text-muted);
}

.contact-card p strong
{
    font-size: 15px;
    color: var(--by-primary);
}

.contact-card p a
{
    font-weight: 600;
    color: var(--by-primary);
    overflow-wrap: anywhere;
}

.contact-card p.contact-note
{
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: .3px;
}

.contact-main, .contact-main.helpcenter-container
{
    display: flex;
    align-items: flex-start;
    width: auto;
    margin: 0;
    padding: 0;
}

.contact-page .help-center-left
{
    float: none;
    margin: 0;
}

.contact-map
{
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(63, 20, 86, 0.07);
}

.contact-map iframe
{
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

.contact-faq
{
    flex: 0 0 380px;
    width: 380px;
    margin-left: 24px !important;
    padding: 22px;
    box-shadow: 0 4px 14px rgba(63, 20, 86, 0.07);
}

.contact-page .ask-qu-lists
{
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.contact-page .ask-qu-lists h4
{
    margin: 0 0 6px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--by-border-soft);
    background: none;
    font-family: var(--by-font);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--by-primary-dark);
}

.contact-page .accordion-modal
{
    margin: 0;
}

.contact-page .acc-wrap
{
    border-bottom: 1px solid var(--by-border-soft);
}

.contact-page .acc-wrap:last-child
{
    border-bottom: 0;
}

.contact-page .acc-heading
{
    position: relative;
    height: auto;
    padding: 13px 28px 13px 0;
    background: none;
    font-family: var(--by-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--by-text);
    cursor: pointer;
}

.contact-page .acc-heading:hover
{
    color: var(--by-primary);
}

.contact-page .acc-heading .icon
{
    position: absolute;
    right: 6px;
    top: 17px;
    width: 9px;
    height: 9px !important;
    border: solid var(--by-primary);
    border-width: 0 2px 2px 0;
    background: none;
    transform: rotate(45deg);
}

.contact-page .acc-container
{
    margin: 0;
    padding: 0 0 14px;
    border: 0;
    background: none;
    box-shadow: none;
    font-family: var(--by-font);
    font-size: 14px;
    line-height: 1.6;
    color: var(--by-text-muted);
}

/* ---------- responsive for the blocks above ---------- */
@media (max-width: 991px)
{
    .bank-grid
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-cards
    {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-main
    {
        display: block;
    }

    .contact-faq
    {
        width: auto;
        margin: 22px 0 0 !important;
    }
}

@media (max-width: 767px)
{
    .cpage-doc
    {
        padding: 22px 18px 18px;
    }

    .cpage-doc h3
    {
        font-size: 17px;
    }

    .bank-grid
    {
        grid-template-columns: minmax(0, 1fr);
        grid-gap: 16px;
    }

    .contact-cards
    {
        grid-gap: 12px;
        margin: 20px 0;
    }

    .contact-card
    {
        padding: 20px 12px 16px;
    }

    .contact-map iframe
    {
        height: 300px;
    }
}

@media (max-width: 480px)
{
    .contact-cards
    {
        grid-template-columns: minmax(0, 1fr);
    }
}
