/* ==========================================================
   STYLES.CSS — Global, Header, Footer
   xPal Blog v3
   ========================================================== */

/* ----------------------------------------------------------
   Global
   ---------------------------------------------------------- */

body {
    font-family: "Raleway", sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none !important;
    font-weight: 500;
}

.hide {
    display: none;
}

.displayContent {
    display: contents;
}

em {
    font-weight: 600;
}

.td-mark {
    font-size: 0.7rem;
    vertical-align: text-top;
    line-height: 0.3;
}

/* ----------------------------------------------------------
   Container cap (large screens)
   ---------------------------------------------------------- */

@media (min-width: 1400px) {
    .container {
        max-width: 1140px !important;
    }
}

/* ----------------------------------------------------------
   Scrollbar — webkit only, graceful degradation on Firefox
   ---------------------------------------------------------- */

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #000;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

/* ----------------------------------------------------------
   Header
   ---------------------------------------------------------- */

header {
    padding: 10px 0 10px;
    background: rgb(6, 7, 14);
    position: sticky;
    top: 0;
    z-index: 9999;
}

header.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(6, 7, 14, 0.55);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: stickyHeader 0.75s;
}

@keyframes stickyHeader {
    from { top: -80px; }
    to   { top: 0; }
}

.logo {
    width: 55px;
}

header .navbar .navbar-brand .logo-header {
    width: 50%;
}

header .navbar .navbar-nav .li-separator {
    font-size: 12px;
    color: #696969;
    line-height: 12px;
    display: flex;
    align-items: center;
    margin: 0 9px;
}

header .navbar .navbar-nav li {
    cursor: pointer;
}

header .navbar .navbar-nav li a {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 28px;
    color: #fff;
    text-transform: uppercase;
}

header .navbar .navbar-nav li a:hover,
header .navbar .navbar-nav li a:active {
    color: #fff !important;
}

/* Custom hamburger icon (white lines on black bg) */
.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cline stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' x1='4' x2='26' y1='7' y2='7'/%3E%3Cline stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' x1='4' x2='26' y1='15' y2='15'/%3E%3Cline stroke='%23fff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' x1='4' x2='26' y1='23' y2='23'/%3E%3C/svg%3E");
}

/* Gold nav link */
.goldLink {
    color: #d7c478 !important;
}

/* ----------------------------------------------------------
   Header — responsive
   ---------------------------------------------------------- */

@media screen and (max-width: 768px) {
    .navbar-brand {
        width: 70%;
    }

    header .navbar .navbar-brand .logo-header {
        width: 80%;
    }
}

@media screen and (max-width: 991px) {
    header .navbar .navbar-collapse {
        background: rgba(6, 7, 14, 0.85);
    }

    header .navbar .navbar-collapse .li-separator {
        display: none;
    }

    header .navbar .navbar-collapse .navbar-nav {
        align-items: center;
    }

    .navbar-toggler {
        border: none !important;
    }

    .navbar-toggler:focus {
        box-shadow: none !important;
    }

    .floating-sec {
        display: none;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-expand-lg .navbar-collapse {
        flex-basis: 100% !important;
    }

    header .navbar .navbar-brand .logo-header {
        width: 70%;
    }
}

/* ----------------------------------------------------------
   Shared typography utilities
   ---------------------------------------------------------- */

.title-wrapper {
    border-bottom: 2px solid #289dcc;
    max-width: 99.8%;
}

h3.title {
    display: inline-block;
    background-color: #289dcc;
    color: #fff;
    padding: 6px 12px;
    font-size: 18px;
    margin-bottom: 0;
}

.sub-head {
    font-size: 1.1rem;
    font-weight: 500;
}

.sub-head-two {
    font-size: 1rem;
    font-weight: 600;
}

h5.wp-block-heading {
    font-weight: 500;
}

h4.wp-block-heading.invite {
    font-weight: 400;
}

h6.wp-block-heading.simple {
    font-weight: 500;
    font-size: 15px;
}

.block-title h3 {
    font-size: 23px;
    font-weight: 400;
}

.banner-img {
    padding: 30px 0;
    text-align: center;
}

/* ----------------------------------------------------------
   Table styles
   ---------------------------------------------------------- */

th,
td,
.wp-block-table th,
.wp-block-table td {
    border: 1px solid #e4e4e7;
    padding: 6px 10px;
}

table.table-data {
    margin: 20px 0;
}

/* ----------------------------------------------------------
   Blog listing — heading + divider
   ---------------------------------------------------------- */

.blog-heading {
    margin-top: 35px;
    border-bottom: 1px solid rgba(203, 203, 203, 0.43);
}

h1.blog-head,
h3.blog-head {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 5px;
}

/* ----------------------------------------------------------
   Card content (shared between listing + inner pages)
   ---------------------------------------------------------- */

.card-content h2 {
    color: #000;
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 0;
}

.card-content p {
    margin-bottom: 0;
    font-weight: 400;
    font-size: 15px;
    line-height: 26px;
    color: #000;
}

/* Social icon (X / Twitter) */
.col-md-6.col-sm-12.social-icons i {
    font-size: 19px;
    color: #fff;
}

/* ----------------------------------------------------------
   Footer
   ---------------------------------------------------------- */

footer {
    background-color: #000;
    padding: 40px 15px 20px;
}

.col-md-12.footer-logo {
    padding: 0;
}

footer h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 1.5rem;
}

footer ul {
    padding: 0;
}

footer ul li {
    list-style: none;
}

footer ul li a {
    color: #cccbc7;
    font-size: 1rem;
    font-weight: 300;
    line-height: 28px;
    margin-bottom: 0.5rem;
}

footer ul li a:hover {
    color: #cccbc7;
}

ul.footer-links li a {
    font-size: 12px;
    font-weight: 400;
}

/* Fixed: second column alignment via padding instead of "position: relative; top: 97px" */
@media (min-width: 768px) {
    .col-md-3.col-sm-12.secnd-col {
        padding-top: 49px;
        margin-top: 50px;
    }
}

footer .social-icons {
    display: flex;
    align-items: center;
}

footer .social-icons a {
    margin-right: 0.5rem;
    width: 35px;
}

footer .social-icons a img {
    width: 53%;
}

footer .store-icons {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

footer .store-icons a {
    border-radius: 50%;
    padding: 10px 15px;
}

footer .store-icons a img {
    width: 20px;
    height: 25px;
}

footer .store-icons a:nth-child(1) {
    margin-right: 15px;
}

footer .store-icons a.ios-link {
    background: linear-gradient(30deg, #040404 28%, #191818 100%);
}

footer .store-icons a.android-link {
    background: linear-gradient(30deg, #040404 28%, #191818 100%);
}

.badge-div-footer {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.patent-img {
    width: 200px;
    float: none;
}

footer .footer-text p,
footer .inner-pages a,
footer .inner-pages p {
    color: #929292;
    font-size: 12px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 0;
}

footer .inner-pages {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Footer bottom bar */
.footer-bootom-main {
    display: flex;
    color: #929292;
    font-size: 0.6rem;
    justify-content: space-between;
}

.col-12.footer-col {
    margin: 0 !important;
    padding: 0 !important;
}

/* App store icon display switching */
.security-mobile {
    display: none !important;
}

.security-mobile1 {
    display: none !important;
}

/* ----------------------------------------------------------
   Footer — responsive
   ---------------------------------------------------------- */

@media (max-width: 992px) {
    footer .logo {
        width: 7%;
    }
}

@media (max-width: 786px) {
    footer .logo {
        width: 8%;
    }
}

@media (max-width: 525px) {
    footer .logo {
        width: 11%;
    }
}

@media (max-width: 425px) {
    footer .logo {
        width: 15%;
    }

    footer .store-icons {
        justify-content: flex-start;
        margin-top: 3rem;
    }

    footer .inner-pages {
        justify-content: flex-start;
        margin-top: 0;
    }

    footer .social-icons a img {
        width: 75% !important;
        margin-inline: 20px !important;
    }
}

@media (max-width: 768px) {
    footer .store-icons a:nth-child(1) {
        margin-right: 0 !important;
    }

    footer .store-icons a {
        padding: 10px 0 !important;
        background: none;
    }

    footer .security-mobile1 a {
        width: 15rem !important;
    }

    footer .one-col {
        margin-bottom: 0 !important;
    }

    footer .one-col ul {
        margin-bottom: 0 !important;
    }

    /* Merge footer columns into one seamless list on mobile:
       heading → About/Contact → Terms/Privacy/etc → badge */
    footer .row:has(.one-col) {
        flex-direction: column;
    }

    footer .one-col,
    footer .col-md-3.secnd-col {
        display: contents;
    }

    footer .one-col h3          { order: 1; margin-top: 2rem; margin-bottom: 1rem; }
    footer .secnd-col ul        { order: 2; margin-bottom: 0.5rem; }
    footer .one-col ul          { order: 3; }
    footer .badge-div-footer    { order: 4; }

    .security-web {
        display: none !important;
    }

    .security-mobile {
        display: block !important;
    }

    .security-mobile1 {
        display: flex !important;
    }

    .hide-android {
        display: none;
    }

    .hide-ios {
        display: none;
    }

    .patent-img {
        width: 160px !important;
    }

    footer .first-end-text {
        margin-bottom: 1rem;
    }

    footer .footer-revert {
        display: flex;
        flex-direction: column-reverse;
        margin-bottom: 2.5rem !important;
    }

    footer .footer-revert a {
        width: 30px;
    }

    footer .social-icons {
        justify-content: space-between;
    }

    footer .store-icons {
        margin-top: 0 !important;
        margin-bottom: 2.5rem;
        justify-content: unset;
    }

    footer .security-mobile1 img {
        width: 70% !important;
        height: auto !important;
        border: 2px solid #1e1e20;
        border-radius: 10px;
    }

    .footer-end-revert {
        display: flex;
    }

    footer .footer-text p,
    footer .inner-pages a,
    footer .inner-pages p {
        font-size: 0.7rem;
    }

    /* Inner page typography at mobile */
    .cm-entry-title {
        font-size: 20px !important;
    }

    .card-content h2 {
        font-size: 18px !important;
    }

    .sub-head {
        font-size: 16px !important;
    }

    .cm-entry-summary p {
        font-size: 15px !important;
    }

    h3.wp-block-heading {
        font-size: 20px;
    }

    p.block-quote {
        background-color: #cfd8dd;
    }
}

@media (max-width: 500px) {
    .col-md-6.col-12.footer-text.inner-pages.first-end-text {
        position: relative !important;
        display: flex;
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .col-md-6.col-12.footer-text.inner-pages.first-end-text {
        position: relative !important;
        display: flex;
        flex-direction: row-reverse;
    }
}
