*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #F4EBCE;
    font-family: Tahoma, Geneva, sans-serif;
}

h1 {
    font-size: 130%;
}

h2 {
    font-size: 110%;
}

td,
th {
    vertical-align: middle;
}

a {
    color: #004882;
    text-decoration: none;
}

a:hover {
    color: #41C5EF;
}

.clear {
    clear: both;
}

.header {
    background-color: dimgrey;
    margin-bottom: 15px;
}

.table-container {
    overflow: scroll;
    max-height: 400px;
}

.wide_box {
    padding: 0 10px;
    margin-bottom: 10px;
}

.wide_box h2,
.box h2,
.box2 h2,
.sidebar-box h2 {
    color: #184E69;
}

.wide_box h4 {
    margin-top: 0;
}

.wide_box h3,
.box h3 {
    font-size: 16px;
}

.wide_box .chart {
    margin: auto;
    text-align: center;
}


.box .title a {
    color: #4D7CB3;
}

.box .title a:hover {
    color: #555555;
}



.widget {
    margin-bottom: 20px;
}

/* footer */
.footer {
    background-color: dimgrey;
    color: #fff;
    padding-top: 10px;
    text-align: center;
    font-size: 14px;
    clear: both;
}

.footer a {
    color: #fff;
}

.footer a:hover {
    color: #eee;
}

.footer-menu li {
    display: inline-block;
    padding: 10px;
}

.copyright {
    padding: 0 4px 15px;
}

.note {
    color: red;
    font-size: 12px;
    margin: 10px;

}

.sidebar-box ul {
    list-style-type: none;
    margin: 0;
    padding: 0;

}

.sidebar-box ul li {
    background-color: #F3F7FA;
    border-bottom: 1px solid #CCCCCC;
    font-size: 12px;
    overflow: hidden;
    padding: 5px 3px;
}

.gradient-style {
    border-collapse: collapse;
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    margin-top: 10px;
    width: 100%;
}

.gradient-style .strong {
    font-weight: bolder;
    font-size: 120%;
}

.gradient-style th {
    background: #B9C9FE;
    border-bottom: 1px solid #FFFFFF;
    border-top: 2px solid #D3DDFF;
    font-size: 15px;
    font-weight: normal;
    padding: 8px;
    text-align: start;
}

.gradient-style table {
    margin: auto;
}

.gradient-style td {
    background: #E8EDFF;
    border-bottom: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    color: #666699;
    padding: 8px;
    text-align: center;
}

.gradient-style tfoot tr td {
    background: none repeat scroll 0 0 #E8EDFF;
    color: #9999CC;
    font-size: 12px;
}

.gradient-style tbody tr:hover td {
    background: #D0DAFD;
    color: #333399;
}

.gradient-style .rising {
    color: green;
}

.gradient-style .falling {
    color: red;
}

.gradient-style .rising:hover {
    color: green;
}

.gradient-style td.table_cap {
    color: #000000;
    font-weight: bold;
}

.gradient-style td.table_cap_silver {
    color: #000000;
    font-weight: bold;
}

.gradient-style h3 {
    font-size: 20px;
    display: inline;
    border: 0;
    color: #000000;
    font-weight: bold;
}


.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.ads {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 290px;
    min-height: 280px;
    text-align: center;
}

.ads-top {
    text-align: center;
}

.active {
    color: white;
}

.small {
    font-size: 12px;
}

.image_chart img {
    max-width: 100%;
}

.update {
    font-size: 12px;
}

.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
}

.other-widgets-section {
  margin-block: 2rem;
}

.widget-guide {
  margin-block: 2rem;
}

.widget-guide-card {
  padding: 1.25rem;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  background: #fff;
}

.widget-guide-card pre {
  margin-block: .75rem 1rem;
  padding: .95rem 1.1rem;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  border-radius: .5rem;
  background: #0f172a;
  color: #f8fafc;
  font-size: .83rem;
}

.widget-guide-card h3 {
  margin-block: 1.25rem .5rem;
}

.widget-guide-card ul,
.widget-guide-card ol {
  padding-inline-start: 1.5rem;
}

.widget-guide-card li + li {
  margin-block-start: .5rem;
}

.widget-guide-card ol {
  margin-block-end: 0;
}

.widget-guide-card li + li {
  margin-block-start: .5rem;
}

.other-widget-card {
  padding: 1rem;
  border: 1px solid #dee2e6;
  border-radius: .5rem;
  background: #fff;
}

.other-widget-card h3 {
  margin-bottom: .75rem;
}

.other-widget-preview {
  min-width: 0;
  margin-block-start: .75rem;
}

.btn:hover {
    color: #212529;
}

.btn-outline-primary {
    color: #0d6efd;
    border-color: #0d6efd;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-check:focus+.btn-outline-primary,
.btn-outline-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.btn-check:checked+.btn-outline-primary,
.btn-check:active+.btn-outline-primary,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-check:checked+.btn-outline-primary:focus,
.btn-check:active+.btn-outline-primary:focus,
.btn-outline-primary:active:focus,
.btn-outline-primary.active:focus,
.btn-outline-primary.dropdown-toggle.show:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
    color: #0d6efd;
    background-color: transparent;
}
.btn-primary {
    color: #fff;
    background-color: #FF4564;
    border-color: #FF4564;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

.container {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-right: auto;
    margin-left: auto;
    background-color: #fff;
    border-radius: 5px;

}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
        padding: 20px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);


}

.row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.g-0,
.gx-0 {
    --bs-gutter-x: 0;
}

.g-0,
.gy-0 {
    --bs-gutter-y: 0;
}

.g-1,
.gx-1 {
    --bs-gutter-x: 0.25rem;
}

.g-1,
.gy-1 {
    --bs-gutter-y: 0.25rem;
}

.g-2,
.gx-2 {
    --bs-gutter-x: 0.5rem;
}

.g-2,
.gy-2 {
    --bs-gutter-y: 0.5rem;
}

.g-3,
.gx-3 {
    --bs-gutter-x: 1rem;
}

.g-3,
.gy-3 {
    --bs-gutter-y: 1rem;
}

.col {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.col-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.col-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%;
}

.col-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.col-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.col-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 576px) {
    .col-sm {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-sm-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-sm-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-sm-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-sm-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-sm-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-sm-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-sm-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-sm-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-sm-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-sm-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-sm-11 {
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-sm-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .col-md {
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }

    .col-md-1 {
        -ms-flex: 0 0 8.333333%;
        flex: 0 0 8.333333%;
        max-width: 8.333333%;
    }

    .col-md-2 {
        -ms-flex: 0 0 16.666667%;
        flex: 0 0 16.666667%;
        max-width: 16.666667%;
    }

    .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }

    .col-md-4 {
        -ms-flex: 0 0 33.333333%;
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .col-md-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }

    .col-md-6 {
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .col-md-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    .col-md-8 {
        -ms-flex: 0 0 66.666667%;
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .col-md-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }

    .col-md-10 {
        -ms-flex: 0 0 83.333333%;
        flex: 0 0 83.333333%;
        max-width: 83.333333%;
    }

    .col-md-11 {
        -ms-flex: 0 0 91.666667%;
        flex: 0 0 91.666667%;
        max-width: 91.666667%;
    }

    .col-md-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

}

.rate {
    border-radius: 15px;
    padding: 5px;
}

.o {
    background-color: lightgreen;
}

.form-control {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media screen and (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}


select.form-control[size],
select.form-control[multiple] {
    height: auto;
}

textarea.form-control {
    height: auto;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #86b7fe;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-group {
    margin-bottom: 1rem;
}


.converter select,
.converter input,
.converter button,
.converter .result {
    height: 60px !important;
    box-sizing: border-box;
    width: 100%;
    font-size: 2em;
}

.converter-widget select,
.converter-widget input,
.converter-widget button,
.converter-widget .result {
    font-size: 1.5em;
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}


.btn-success {
    color: #fff;
    background-color: #297373;
    border-color: #297373
}

.btn-success:hover {
    color: #fff;
    background-color: #236262;
    border-color: #215c5c
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.main-result {
    box-sizing: border-box;
    width: 100%;
    font-size: 3em;
}

.text-center {
    text-align: center !important;
}

.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

.result {
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
}

.navigation .home {
    max-width: 200px;
    max-height: 38px;
    overflow: hidden;
}

.rise {
    color: green;
}

.fall {
    color: red;
}

.marketStatus {
    font-size: 16px;
}

/* Styling for the TOC */
.toc {
    border: 1px solid #ccc;
    padding: 5px;
    background-color: #f9f9f9;
    margin: 20px 0px;
}

.toc ul li {
    margin-bottom: 5px;
}

.toc ul li a {
    text-decoration: none;
    color: #007bff;
}

.toc ul li a:hover {
    text-decoration: underline;
}

.user-country {
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1.5rem;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
    margin-bottom: 5px;
}

.user-country a {
    color: #fff;

}

@media (prefers-reduced-motion: reduce) {
    .user-country {
        transition: none;
    }
}

.user-country:hover {
    color: #fff;
    background-color: #0b5ed7;
    border-color: #0a58ca;
}


.table-responsive {
    width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1399.98px) {
    .table-responsive-xxl {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* breadcrumbs */
.breadcrumb {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    font-size: 14px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #555;
}

.breadcrumb li a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb li a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.breadcrumb li+li::before {
    content: "›";
    /* Separator */
    padding: 0 6px;
    color: #888;
    font-size: 14px;
}

.breadcrumb li.active span {
    color: #222;
    font-weight: 600;
}

nav[aria-label="breadcrumb"] {
    margin-bottom: 10px;
}

/* NAV CONTAINER */
nav.navigation {
    position: relative;
    z-index: 10;
    padding: 10px;
    background-color: dimgrey;
}

.nav-logo {
    padding: 0 10px;
    overflow: hidden;
}

.nav-logo .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

.nav-logo .brand-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 9px;
    background: #41c5ef;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .2);
    color: #173d50;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.06em;
    direction: ltr;
    unicode-bidi: isolate;
}

.nav-logo .brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.035em;
    direction: ltr;
    unicode-bidi: isolate;
}

.nav-logo a img {
    max-width: none;
}

/* DESKTOP MENU */
ul.nav-menu {
    padding-left: 10px;
    margin: 0;
    list-style: none;
    float: left;
}

ul.nav-menu li {
    float: left;
    position: relative;
}

.nav-menu .menu-link {
    font: inherit;
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    color: #F4EBCE;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-menu .submenu-toggle {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-menu .submenu-caret {
    margin-inline-start: 8px;
}

.nav-menu li a:hover,
.nav-menu .submenu-toggle:hover {
    color: #fff;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 12;
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #555;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.nav-menu .has-submenu:hover > .sub-menu,
.nav-menu .has-submenu:focus-within > .sub-menu,
.nav-menu .has-submenu.submenu-open > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li {
    float: none;
    width: 100%;
}

.nav-menu .sub-menu .menu-link {
    width: 100%;
    height: auto;
    line-height: 1.4;
    padding: 11px 16px;
    color: #fff;
    text-align: start;
    white-space: nowrap;
}

.nav-menu .sub-menu .menu-link:hover {
    background: rgba(255, 255, 255, .1);
}

.nav-menu .sub-menu .sub-menu {
    top: 0;
    inset-inline-start: 100%;
}

.nav-menu .has-submenu > a.menu-link {
    padding-inline-end: 26px;
}

.nav-menu .submenu-toggle:not(.menu-link) {
    position: absolute;
    top: 10px;
    inset-inline-end: 0;
    padding: 8px 10px;
    color: #F4EBCE;
}

/* MOBILE TOGGLE BUTTON */
.nav-toggle {
    display: none;
    position: absolute;
    top: 5px;
    right: 0;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

span.icon-bar {
    position: absolute;
    right: 12px;
    display: block;
    width: 40px;
    height: 8px;
    background-color:#F4EBCE;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.icon-bar:nth-child(1) {
    top: 10px;
}

.icon-bar:nth-child(2) {
    top: 26px;
}

.icon-bar:nth-child(3) {
    top: 42px;
}

/* FULLSCREEN OVERLAY */
.nav-overlay {
    position: fixed;
    /* Changed to fixed so it covers the entire viewport */
    top: 5px;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* HAMBURGER TO "X" ANIMATION */
.nav-toggle.active .icon-bar:nth-child(1) {
    top: 24px;
    transform: rotate(45deg);
}

.nav-toggle.active .icon-bar:nth-child(2) {
    width: 0;
    opacity: 0;
}

.nav-toggle.active .icon-bar:nth-child(3) {
    top: 24px;
    transform: rotate(-45deg);
}

/* MOBILE RESPONSIVE STYLES */
@media screen and (max-width: 767px) {
    .nav-toggle {
        display: block;
    }

    ul.nav-menu {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        max-height: 0;
        /* Smooth slide-down effect instead of abrupt height changes */
        overflow: hidden;
        padding: 0;
        z-index: 6;
        transition: max-height 0.3s ease-in-out;
        max-width: none;
    }

    ul.nav-menu.active {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    ul.nav-menu li {
        width: 100%;
    }

    .nav-menu .menu-link {
        width: 100%;
        height: auto;
        min-height: 50px;
        line-height: 1.4;
        text-align: center;
        background-color: darkgray;
        border-bottom: 1px solid #F4EBCE;
    }

    .nav-menu .has-submenu {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .nav-menu .has-submenu > .menu-link:not(.submenu-toggle) {
        grid-column: 1;
    }

    .nav-menu .has-submenu > .submenu-toggle.menu-link {
        grid-column: 1 / -1;
    }

    .nav-menu .submenu-toggle:not(.menu-link) {
        position: static;
        grid-column: 2;
        grid-row: 1;
        width: 48px;
        padding: 0;
        border-bottom: 1px solid #F4EBCE;
        background: darkgray;
        color: #fff;
    }

    .nav-menu .sub-menu,
    .nav-menu .sub-menu .sub-menu {
        position: static;
        grid-column: 1 / -1;
        min-width: 0;
        padding: 0;
        box-shadow: none;
        background: #555;
    }

    .nav-menu .has-submenu:hover > .sub-menu,
    .nav-menu .has-submenu:focus-within > .sub-menu {
        display: none;
    }

    .nav-menu .has-submenu.submenu-open > .sub-menu {
        display: block;
    }

    .nav-menu .sub-menu .menu-link {
        padding-inline: 22px;
        background: #555;
        text-align: start;
        white-space: normal;
    }

    .nav-logo {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .nav-logo .brand-name {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 768px) {
    .nav-overlay.active {
        visibility: hidden;
        opacity: 0;
    }
}
.forecast{
    font-size: 24px;
    font-weight: bolder;
    text-align: center;
    margin: 0 auto;
}
.forecast-more-info{
    font-size: 16px;
}
.preview{
    position: sticky;
    top: 0;
}
.iframe-code{
    font-size: 12px;
    direction: ltr;
}
/* Base Table */
.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
  vertical-align: top;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 0.75rem;
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
  text-align: start;
}

.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
}

/* Bordered: Adds borders on all sides of the table and cells */
.table-bordered {
  border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
  border: 1px solid #dee2e6;
}

/* Striped: Adds alternating background color to tbody rows */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Hover: Highlights row on mouse hover */
.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

/* ---------- Utilities used by the Markets page ---------- */
.mt-3 {
  margin-top: 1rem !important;
}

.justify-content-center {
  justify-content: center !important;
}

/* ---------- Category nav ---------- */
.title figure.wp-block-image {
  margin: 0 auto .5rem;
  width: 64px;
  height: 64px;
}
.title figure.wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}
.title a {
  display: block;
  text-decoration: none;
}
.title a:hover figure.wp-block-image img {
  transform: translateY(-3px) scale(1.05);
}

.btn-cat {
  min-width: 120px;
  border-radius: 999px;
  font-weight: 600;
}

/* ---------- Search box ---------- */
#searchBox {
  max-width: 480px;
  margin: 1rem auto 0;
  padding: .75rem 1rem;
  border-radius: 999px;
  border: 1px solid #ced4da;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
#searchBox:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 .2rem rgba(13,110,253,.2);
  outline: 0;
}

/* ---------- Section headings ---------- */
.row > .col-md-12 > .title h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}
.row > .col-md-12 {
  margin-block-end: 2.5rem;
  scroll-margin-block-start: 80px; /* clears a sticky header when jumping to #anchors */
}

/* ---------- Tables ---------- */
.table {
  background: #fff;
  border-radius: .5rem;
  overflow: hidden;
}
.table thead th {
  background: #212529;
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.table td,
.table th {
  vertical-align: middle;
  padding: .75rem 1rem;
}
.table tbody tr:hover {
  background: rgba(13,110,253,.06);
}

/* ---------- Rate cell ---------- */
.header-bar-large {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  direction: ltr;           /* keep numbers readable inside RTL pages */
  unicode-bidi: isolate;
}
.header-bar-meta-rates {
  display: flex;
  justify-content: center;
  gap: .5rem;
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
  direction: ltr;
}
.header-bar-meta-rates2 {
  margin-block-start: .25rem;
  font-size: .75rem;
  color: #6c757d;
  direction: ltr;
}

/* Up/down colors; adjust selectors to whatever your JS adds */
.rate-res.up,   .rate-res.green { color: #198754; }
.rate-res.down, .rate-res.red   { color: #dc3545; }

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  .btn-cat { min-width: 0; width: 100%; }
  .table td, .table th { padding: .5rem .6rem; }
  .header-bar-large { font-size: 1.05rem; }
}

/* Markets page & rate tables */
.markets-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: .75rem;
  margin-top: 1.35rem;
}

.markets-cat-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .95rem;
  border: 1px solid #dfd3b5;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  color: #173d52;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(23, 61, 82, .05);
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.markets-cat-card:hover,
.markets-cat-card:focus-visible {
  transform: translateY(-2px);
  border-color: #b8923a;
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 61, 82, .1);
  outline: none;
}

.markets-cat-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
}

.markets-cat-meta {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
}

.markets-cat-meta strong {
  color: #173d52;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
}

.markets-cat-meta small {
  color: #6b7b84;
  font-size: .76rem;
  font-weight: 500;
}

.markets-benchmark-summary {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
}

.markets-benchmark-grid {
  padding-top: 0;
  border-top: 0;
}

.markets-benchmark-item {
  align-items: flex-start;
  gap: .3rem;
}

.markets-bench-cur {
  margin-inline-start: .25rem;
  color: #cbdbe2;
  font-size: .75rem;
  font-weight: 600;
}

.markets-search-bar {
  margin-top: 1.2rem;
}

.markets-search-input {
  width: min(100%, 520px);
}

.markets-category-section[hidden],
.markets-table tbody tr[hidden] {
  display: none !important;
}

.markets-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .9rem;
}

.markets-section-title-group {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.markets-section-title-group h2 {
  margin: 0;
}

.markets-section-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.markets-table {
  min-width: 620px;
}

.markets-table .market-instrument {
  text-align: start;
}

.markets-inst-link,
.markets-inst-static {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  text-decoration: none;
}

.markets-inst-link:hover .market-symbol,
.markets-inst-link:focus-visible .market-symbol {
  color: #966b14;
  text-decoration: underline;
}

.markets-table .market-symbol {
  display: inline-block;
  color: #173d52;
  font-size: .96rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}

.markets-table .market-name {
  color: #637684;
  font-size: .84rem;
  font-weight: 500;
}

.markets-table .market-rate-line {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: .4rem;
  direction: ltr;
  white-space: nowrap;
}

.markets-table .header-bar-large {
  display: inline;
  font-size: 1.04rem;
  font-weight: 700;
  color: #173d52;
}

.markets-table .market-quote-currency {
  display: inline-block;
  padding: .15rem .42rem;
  border: 1px solid #e6d7b2;
  border-radius: 999px;
  background: #fdf8eb;
  color: #7c5b14;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.25;
}

.markets-change-cell {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .3rem;
  font-size: .88rem;
  font-weight: 700;
  direction: ltr;
}

.markets-range-cell {
  display: inline-flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 155px;
  direction: ltr;
}

.markets-range-labels {
  display: flex;
  justify-content: space-between;
  gap: .65rem;
  color: #64748b;
  font-size: .76rem;
  font-weight: 600;
}

.markets-range-track {
  position: relative;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.markets-range-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #173f54 0%, #c8a24b 100%);
}

.back-to-top {
  position: fixed;
  inset-inline-end: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 0;
  border-radius: 999px;
  background: #184e69;
  box-shadow: 0 4px 16px rgba(24, 52, 74, .24);
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease, visibility .2s ease;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: #103c52;
}

.back-to-top:focus-visible {
  outline: 3px solid #41c5ef;
  outline-offset: 3px;
}

.back-to-top span[aria-hidden="true"] {
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 575.98px) {
  .markets-table thead th,
  .markets-table tbody td {
    padding: 12px;
  }

  .markets-table .market-symbol {
    min-width: 0;
    margin-inline-end: .35rem;
  }

  .back-to-top {
    inset-inline-end: 16px;
    padding: 10px 14px;
  }
}

/* Refined country gold price pages */
.gold-country-page {
  max-width: 1120px;
  margin: 24px auto 40px;
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid rgba(24, 78, 105, .1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 32px rgba(51, 55, 49, .09);
}

.gold-country-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 0 0 1.5rem;
  color: #73808a;
  font-size: .88rem;
}

.gold-country-breadcrumb a {
  color: #476c7d;
  text-decoration: none;
}

.gold-country-breadcrumb a:hover {
  color: #a8791e;
  text-decoration: underline;
}

.gold-country-intro {
  margin: 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #eadbb8;
  border-radius: 12px;
  background: linear-gradient(125deg, #fffaf0 0%, #f7f3e9 58%, #eef5f6 100%);
}

.gold-country-intro h1 {
  margin: 0 0 .65rem;
  color: #173d52;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

.gold-country-intro > p {
  max-width: 48rem;
  margin: 0;
  color: #5c6b73;
  font-size: 1.04rem;
  line-height: 1.7;
}

.gold-country-search-label {
  display: block;
  margin: 1.35rem 0 .5rem;
  color: #1f4558;
  font-size: .94rem;
  font-weight: 600;
}

.gold-country-search {
  width: min(100%, 440px);
  min-height: 48px;
  padding: .7rem 1rem;
  border: 1px solid #cbd7dc;
  border-radius: 10px;
  background-color: #fff;
  color: #173d52;
  font-size: .96rem;
  box-shadow: 0 2px 6px rgba(23, 61, 82, .05);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.gold-country-search:focus {
  border-color: #b28a3b;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(178, 138, 59, .18);
}

.gold-country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: .85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.gold-country-grid li {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gold-country-grid li[hidden] {
  display: none !important;
}

.gold-country-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  height: 100%;
  min-height: 66px;
  padding: .85rem 1rem;
  border: 1px solid #e4decb;
  border-radius: 11px;
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf6 100%);
  color: #173d52;
  font-size: .96rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(23, 61, 82, .04);
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease, color .16s ease;
}

.gold-country-grid a:hover,
.gold-country-grid a:focus-visible {
  transform: translateY(-2px);
  border-color: #c8a24b;
  background: linear-gradient(180deg, #fffdf8 0%, #faf3e1 100%);
  color: #102e3f;
  box-shadow: 0 8px 20px rgba(23, 61, 82, .09);
  outline: none;
}

.gold-country-grid-main {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
}

.gold-country-grid-flag {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .14);
}

.gold-country-grid-name {
  min-width: 0;
  overflow-wrap: anywhere;
}

.gold-country-grid small {
  flex: 0 0 auto;
  padding: .26rem .55rem;
  border: 1px solid #e8d8b1;
  border-radius: 6px;
  background: #fbf5e6;
  color: #7a5b17;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  direction: ltr;
}

.gold-country-grid a:hover small,
.gold-country-grid a:focus-visible small {
  border-color: #d4b263;
  background: #f5e7c4;
  color: #5e440d;
}

.gold-country-empty {
  margin: 1.25rem 0 0;
  padding: 1.25rem;
  border: 1px dashed #d8ceb4;
  border-radius: 10px;
  background: #fcfaf4;
  color: #5c6b73;
  text-align: center;
}

.gold-country-empty[hidden] {
  display: none !important;
}

.gold-country-toc {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.15rem;
}

.gold-country-toc a {
  display: inline-flex;
  align-items: center;
  padding: .42rem .8rem;
  border: 1px solid #dfd3b5;
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #23485a;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.gold-country-toc a:hover,
.gold-country-toc a:focus-visible {
  border-color: #b8923a;
  background: #fff;
  color: #7c5b14;
  outline: none;
}

.gold-country-rate-summary {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 100%;
  margin-top: 1.35rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 10px;
  background: #173f54;
  box-shadow: 0 8px 20px rgba(23, 63, 84, .13);
  color: #fff;
}

.gold-country-rate-primary {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.gold-country-rate-summary > span,
.gold-country-rate-primary > span,
.gold-country-rate-summary small {
  color: #d4e0e5;
}

.gold-country-rate-summary strong {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.gold-country-rate-summary strong span {
  color: #f1d48f;
}

.gold-country-summary-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin-top: .15rem;
}

.gold-country-change-pill {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  direction: ltr;
  font-variant-numeric: tabular-nums;
}

.gold-country-change-pill.is-up {
  background: rgba(34, 197, 94, .2);
  color: #86efac;
}

.gold-country-change-pill.is-down {
  background: rgba(244, 63, 94, .22);
  color: #fda4af;
}

.gold-country-quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .65rem;
  padding-top: .95rem;
  border-top: 1px solid #e2d5b5;
}

.gold-country-quick-item,
.gold-country-stat {
  display: flex;
  flex-direction: column;
  gap: .22rem;
  padding: .68rem .85rem;
  border: 1px solid #dfd3b5;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(23, 61, 82, .05);
}

.gold-country-quick-item span,
.gold-country-stat span {
  color: #4a5d68;
  font-size: .79rem;
  font-weight: 600;
}

.gold-country-quick-item strong,
.gold-country-stat strong {
  color: #173d52;
  font-size: .98rem;
  font-weight: 800;
  direction: ltr;
  text-align: start;
  font-variant-numeric: tabular-nums;
}

.gold-country-rate-summary .gold-country-quick-stats {
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.gold-country-rate-summary .gold-country-quick-item {
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

.gold-country-rate-summary .gold-country-quick-item span {
  color: #dce8ee;
}

.gold-country-rate-summary .gold-country-quick-item strong {
  color: #f8e3b0;
}

.gold-country-rate-summary .rate-res.black {
  color: #ffffff !important;
}

.gold-country-rate-summary .rate-res.green {
  color: #86efac !important;
}

.gold-country-rate-summary .rate-res.red {
  color: #fda4af !important;
}

.gold-country-usd-price {
  direction: ltr;
  text-align: start;
  font-variant-numeric: tabular-nums;
}

.gold-country-section {
  margin-top: 2.35rem;
  scroll-margin-top: 24px;
}

.gold-country-section h2 {
  margin: 0 0 .65rem;
  color: #173d52;
  font-size: clamp(1.22rem, 2.5vw, 1.55rem);
  font-weight: 700;
}

.gold-country-subheading {
  margin: 1.5rem 0 .75rem;
  color: #1f495e;
  font-size: 1.12rem;
  font-weight: 700;
}

.gold-country-section-lead {
  margin: 0 0 1rem;
  color: #566670;
  font-size: .97rem;
  line-height: 1.65;
}

.gold-country-table-wrap {
  overflow-x: auto;
  border: 1px solid #e1e7e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(27, 56, 69, .045);
  -webkit-overflow-scrolling: touch;
}

.gold-country-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.gold-country-table-compact {
  min-width: 0;
}

.gold-country-table th,
.gold-country-table td {
  padding: .9rem 1.1rem;
  border-bottom: 1px solid #edf0f1;
}

.gold-country-table tbody tr:last-child th,
.gold-country-table tbody tr:last-child td {
  border-bottom: 0;
}

.gold-country-table thead th {
  background: #f3f6f6;
  color: #445b66;
  font-size: .86rem;
  font-weight: 700;
  text-align: end;
  white-space: nowrap;
}

.gold-country-table thead th:first-child {
  text-align: start;
}

.gold-country-table tbody tr {
  transition: background-color .15s ease;
}

.gold-country-table tbody tr.is-popular-karat {
  background: #fffdf7;
}

.gold-country-table tbody tr:hover {
  background: #fffaf0;
}

.gold-country-table tbody th {
  color: #24495b;
  text-align: start;
}

.gold-country-table tbody td {
  color: #173d52;
  direction: ltr;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  text-align: end;
  white-space: nowrap;
}

.gold-country-karat-label {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
}

.gold-country-badge {
  display: inline-block;
  padding: .16rem .5rem;
  border: 1px solid #e7cf93;
  border-radius: 999px;
  background: #fdf6e4;
  color: #846117;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.3;
}

.gold-country-split-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 1.15rem;
}

.gold-country-card {
  padding: 1.1rem 1.2rem;
  border: 1px solid #e2e8ea;
  border-radius: 11px;
  background: #fafcfc;
}

.gold-country-card h3 {
  margin: 0 0 .8rem;
  color: #173d52;
  font-size: 1.04rem;
  font-weight: 700;
}

.gold-country-calculator-card {
  padding: 1.1rem 1.25rem;
  border: 1px solid #eadbb8;
  border-radius: 12px;
  background: linear-gradient(135deg, #fffaf0 0%, #f6f9fa 100%);
  box-shadow: 0 4px 16px rgba(23, 61, 82, .05);
}

.gold-country-chart-card {
  padding: 1rem 1.15rem;
  border: 1px solid #e1e7e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 3px 12px rgba(27, 56, 69, .045);
  text-align: center;
}

.gold-country-chart-card .chart {
  min-height: 350px;
}

.gold-country-karat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: .95rem;
  margin-bottom: 1.25rem;
}

.gold-country-karat-card {
  padding: 1rem 1.15rem;
  border: 1px solid #e6dec8;
  border-radius: 10px;
  background: #fffdf8;
  box-shadow: 0 2px 8px rgba(27, 56, 69, .04);
}

.gold-country-karat-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .4rem;
}

.gold-country-karat-card-head strong {
  color: #173d52;
  font-size: 1.15rem;
}

.gold-country-karat-card-head span {
  padding: .18rem .5rem;
  border-radius: 6px;
  background: #f5ebd1;
  color: #785916;
  font-size: .78rem;
  font-weight: 700;
  direction: ltr;
}

.gold-country-karat-card-price {
  margin-bottom: .5rem;
  color: #966b14;
  font-size: 1.05rem;
  font-weight: 700;
  direction: ltr;
  text-align: start;
  font-variant-numeric: tabular-nums;
}

.gold-country-karat-card p {
  margin: 0;
  color: #586770;
  font-size: .89rem;
  line-height: 1.55;
}

.gold-country-formula-box {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .4rem .65rem;
  margin-top: .95rem;
  padding: .9rem 1.1rem;
  border: 1px solid #e4d4ad;
  border-inline-start: 4px solid #c69d3f;
  border-radius: 8px;
  background: #fdfaf2;
  color: #2b4757;
  font-size: .92rem;
  line-height: 1.55;
}

.gold-country-note {
  margin-top: .85rem;
  padding-inline-start: .85rem;
  border-inline-start: 3px solid #d5b66e;
  color: #68777d;
  line-height: 1.65;
}

.gold-country-related {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 2rem;
}

.gold-country-related a {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  padding: .6rem .9rem;
  border: 1px solid #d9e2e5;
  border-radius: 7px;
  background: #f8faf9;
  color: #24556d;
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.gold-country-related a:hover,
.gold-country-related a:focus-visible {
  border-color: #c8aa63;
  background: #fffaf0;
  color: #74571b;
  outline: none;
}

.gold-country-mfg-callout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid #e6d7b2;
  border-radius: 10px;
  background: linear-gradient(135deg, #fffdf8 0%, #fbf5e6 100%);
}

.gold-country-mfg-callout-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.gold-country-mfg-callout-item span {
  font-size: .85rem;
  color: #6b5b3e;
  font-weight: 500;
}

.gold-country-mfg-callout-item strong {
  font-size: 1.05rem;
  color: #3f3011;
  font-weight: 700;
}

.gold-country-silver-stats {
  margin-bottom: 1.1rem;
}

.gold-country-regional-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #1f2937;
  font-weight: 600;
  text-decoration: none;
}

.gold-country-regional-link:hover,
.gold-country-regional-link:focus-visible {
  color: #8a6820;
  text-decoration: underline;
}

.gold-country-report-card {
  padding: 1.35rem 1.5rem;
  border: 1px solid #e6d7b2;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
  box-shadow: 0 2px 8px rgba(138, 104, 32, 0.06);
}

.gold-country-report-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: 1rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid #f0e6cc;
}

.gold-country-report-header h2 {
  margin: 0;
}

.gold-country-change-pill.is-flat {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.gold-country-report-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: .75rem;
  margin-bottom: 1.15rem;
}

.gold-country-report-pill {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: .65rem .85rem;
  border: 1px solid #efe5ca;
  border-radius: 8px;
  background: #fdfaf2;
}

.gold-country-report-pill span {
  font-size: .8rem;
  color: #6b5b3e;
  font-weight: 500;
}

.gold-country-report-pill strong {
  font-size: .98rem;
  font-weight: 700;
  color: #1f2937;
}

.gold-country-report-pill strong.green {
  color: #15803d;
}

.gold-country-report-pill strong.red {
  color: #b91c1c;
}

.gold-country-report-body p {
  margin: 0 0 .9rem;
  line-height: 1.72;
  color: #374151;
  font-size: .98rem;
}

.gold-country-report-body p:last-child {
  margin-bottom: 0;
}

[dir="rtl"] .gold-country-rate-summary strong,
[dir="rtl"] .gold-country-quick-item strong,
[dir="rtl"] .gold-country-karat-card-price,
[dir="rtl"] .gold-country-mfg-callout-item strong,
[dir="rtl"] .gold-country-report-pill strong {
  text-align: right;
}

/* Exchange rate directory, currency hub & pair page styles */
.fx-quick-converter {
  margin-top: 1.35rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid #dfd2b0;
  border-radius: 11px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 4px 16px rgba(23, 61, 82, .06);
}

.fx-quick-converter-grid {
  display: grid;
  grid-template-columns: minmax(110px, 160px) 1fr auto 1fr;
  gap: .75rem;
  align-items: end;
}

.fx-quick-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  min-width: 0;
}

.fx-quick-field label {
  font-size: .82rem;
  font-weight: 700;
  color: #294b5c;
}

.fx-quick-input,
.fx-quick-select {
  width: 100%;
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid #cbd7dc;
  border-radius: 8px;
  background: #fff;
  color: #173d52;
  font-size: .95rem;
  font-weight: 600;
  box-sizing: border-box;
}

.fx-quick-input:focus,
.fx-quick-select:focus {
  border-color: #b28a3b;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(178, 138, 59, .18);
}

.fx-quick-swap-wrap {
  display: flex;
  align-items: center;
}

.fx-quick-swap {
  min-width: 44px;
  min-height: 44px;
  padding: 0 .7rem;
  border: 1px solid #d8c698;
  border-radius: 8px;
  background: #fdf8eb;
  color: #785916;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.fx-quick-swap:hover,
.fx-quick-swap:focus-visible {
  border-color: #b8923a;
  background: #f6ebd0;
  transform: translateY(-1px);
  outline: none;
}

.fx-quick-converter-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  margin-top: .95rem;
  padding-top: .85rem;
  border-top: 1px solid #eee5ce;
}

.fx-quick-result {
  color: #173d52;
  font-size: 1.02rem;
  direction: ltr;
}

.fx-quick-result span {
  color: #64748b;
  font-size: .88rem;
}

.fx-quick-btn,
.fx-swap-pair-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .58rem 1.05rem;
  border: 1px solid #173f54;
  border-radius: 8px;
  background: #173f54;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}

.fx-quick-btn:hover,
.fx-quick-btn:focus-visible,
.fx-swap-pair-btn:hover,
.fx-swap-pair-btn:focus-visible {
  background: #102e3f;
  border-color: #102e3f;
  color: #f8e3b0;
  outline: none;
}

.fx-hero-header-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  margin-bottom: .5rem;
}

.fx-hero-title-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .35rem;
}

.fx-hero-title-row h1 {
  margin: 0;
}

.fx-hero-flag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(15, 23, 42, .16);
}

.fx-pair-flags {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.fx-flag-overlap {
  margin-inline-start: -7px;
  border: 2px solid #fff;
}

.fx-pair-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #173d52;
  text-decoration: none;
}

.fx-pair-link:hover strong,
.fx-pair-link:focus-visible strong {
  color: #966b14;
  text-decoration: underline;
}

.fx-pair-names {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.fx-pair-names strong {
  font-size: .95rem;
  color: #173d52;
}

.fx-pair-names small {
  font-size: .78rem;
  font-weight: 500;
  color: #64748b;
}

.fx-table-action {
  display: inline-flex;
  align-items: center;
  padding: .32rem .7rem;
  border: 1px solid #dfd3b5;
  border-radius: 6px;
  background: #fdf9ef;
  color: #7c5b14;
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
}

.fx-table-action:hover,
.fx-table-action:focus-visible {
  border-color: #b8923a;
  background: #f5ebd1;
  color: #553d0b;
}

.fx-grid-sub {
  display: block;
  margin-top: .12rem;
  color: #6b7b84;
  font-size: .77rem;
  font-weight: 500;
}

.fx-quick-stat-link {
  color: inherit;
  text-decoration: none;
}

.fx-quick-stat-link:hover {
  text-decoration: underline;
}

.fx-subtle-link {
  color: #173d52;
  text-decoration: none;
}

.fx-subtle-link:hover {
  color: #8a6820;
  text-decoration: underline;
}

.fx-card-heading-with-flag {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.gold-country-table td.green {
  color: #15803d;
}

.gold-country-table td.red {
  color: #b91c1c;
}

/* Homepage styles */
.home-hero-badge {
  margin-bottom: .65rem;
}

.home-hero-actions {
  margin-top: 1.25rem;
}

.home-hero-actions .home-cta-primary {
  border-color: #173f54;
  background: #173f54;
  color: #fff;
}

.home-hero-actions .home-cta-primary:hover,
.home-hero-actions .home-cta-primary:focus-visible {
  border-color: #102e3f;
  background: #102e3f;
  color: #f8e3b0;
}

.home-hero-actions .home-cta-secondary {
  border-color: #c8a24b;
  background: #fdf6e4;
  color: #745512;
}

.home-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  margin-bottom: 1rem;
}

.home-section-head .gold-country-section-lead {
  margin-bottom: 0;
  max-width: 46rem;
}

.home-tool-card-title {
  margin: 0 0 .85rem;
  color: #173d52;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: start;
}

.home-widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1rem;
}

.home-widget-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .85rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid #e4decb;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfaf4 100%);
  box-shadow: 0 2px 10px rgba(23, 61, 82, .045);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.home-widget-card:hover {
  transform: translateY(-2px);
  border-color: #c8a24b;
  box-shadow: 0 8px 20px rgba(23, 61, 82, .09);
}

.home-widget-card h3 {
  margin: 0;
  color: #173d52;
  font-size: 1.04rem;
  font-weight: 700;
}

.home-widget-card p {
  margin: 0;
  color: #566670;
  font-size: .9rem;
  line-height: 1.6;
  flex: 1 1 auto;
}

.home-widget-card .fx-table-action {
  align-self: flex-start;
}

/* Widget Setup Studio Pages */
.widget-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .95fr);
  gap: 1.5rem;
  align-items: start;
}

.widget-config-col {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
}

.widget-settings-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid #e2e8ea;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(23, 61, 82, .035);
}

.widget-settings-card h3 {
  margin: 0 0 .95rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid #f0f3f4;
  color: #173d52;
  font-size: 1.02rem;
  font-weight: 700;
}

.widget-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .95rem 1.1rem;
}

.widget-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  min-width: 0;
}

.widget-field .form-label {
  margin: 0;
  color: #26485a;
  font-size: .88rem;
  font-weight: 600;
}

.widget-field .form-control,
.widget-field .form-select,
.widget-setup-page .custom-dropdown-selected {
  min-height: 44px;
  padding: .55rem .85rem;
  border: 1px solid #cbd7dc;
  border-radius: 8px;
  background-color: #fff;
  color: #173d52;
  font-size: .94rem;
  font-weight: 500;
  box-sizing: border-box;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.widget-field .form-control:focus,
.widget-field .form-select:focus,
.widget-setup-page .custom-dropdown.open .custom-dropdown-selected {
  border-color: #b28a3b;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(178, 138, 59, .18);
}

.widget-field .form-control:disabled {
  background-color: #f4f6f7;
  color: #87959e;
  cursor: not-allowed;
}

.widget-custom-colors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #e2e8ea;
}

.widget-color-item {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .6rem .75rem;
  border: 1px solid #e6ecee;
  border-radius: 8px;
  background: #fafcfc;
}

.widget-color-item .form-label {
  margin: 0;
  color: #365566;
  font-size: .78rem;
  font-weight: 600;
}

.widget-color-item input[type="color"] {
  width: 100%;
  height: 36px;
  padding: 2px;
  border: 1px solid #cbd7dc;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.widget-code-card {
  padding: 1.25rem 1.35rem;
  border: 1px solid #eadbb8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf8 0%, #f9f5ea 100%);
  box-shadow: 0 4px 14px rgba(138, 104, 32, .06);
}

.widget-code-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .8rem;
}

.widget-code-header h3 {
  margin: 0 0 .2rem;
  color: #173d52;
  font-size: 1.04rem;
}

.widget-code-header p {
  margin: 0;
  color: #5c6b73;
  font-size: .88rem;
}

.widget-copy-btn {
  cursor: pointer;
}

.widget-code-textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #1e293b;
  border-radius: 9px;
  background: #0f172a;
  color: #f8fafc;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .83rem;
  line-height: 1.55;
  direction: ltr;
  resize: vertical;
  box-sizing: border-box;
}

.widget-code-textarea:focus {
  border-color: #c8a24b;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(200, 162, 75, .25);
}

.widget-preview-col {
  position: sticky;
  top: 20px;
  min-width: 0;
}

.widget-preview-card {
  border: 1px solid #dce5ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 61, 82, .08);
  overflow: hidden;
}

.widget-preview-header {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .95rem 1.2rem;
  background: #173f54;
  color: #fff;
}

.widget-preview-header h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.widget-preview-header small {
  display: block;
  margin-top: .1rem;
  color: #cbdbe2;
  font-size: .78rem;
}

.widget-live-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, .24);
}

.widget-preview-stage {
  padding: 1.25rem 1rem;
  background: radial-gradient(#dce4e8 1px, transparent 1px) 0 0 / 16px 16px, #f8fafb;
}

.widget-field-full {
  grid-column: 1 / -1;
}

.widget-option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.widget-pill-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .95rem;
  border: 1px solid #cbd8df;
  border-radius: 9px;
  background: #fff;
  color: #173d52;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.widget-pill-label:hover {
  border-color: #c8a24b;
  background: #fdfaf2;
}

.widget-pill-label input[type="radio"],
.widget-pill-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #173f54;
  cursor: pointer;
}

.widget-setup-page .ms-container {
  max-width: 100%;
  margin-top: .25rem;
}

.widget-setup-page .ms-pane {
  border: 1px solid #cbd8df;
  border-radius: 10px;
  height: 250px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, .03);
}

.widget-setup-page .ms-pane ul {
  margin: 0;
  padding: 0;
}

.widget-setup-page .ms-pane li {
  margin-bottom: 0;
  padding: 8px 12px;
  font-size: .88rem;
  color: #1f2a30;
}

.widget-setup-page .ms-pane li:hover {
  background-color: #f4f8fa;
}

.other-widgets-section {
  padding: 0;
}

.other-widgets-section > h2 {
  margin: 0 0 1rem;
  color: #173d52;
  font-size: 1.35rem;
  font-weight: 800;
}

.other-widget-card {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.15rem;
  border: 1px solid #e2e8ea;
  border-radius: 12px;
  background: #fafcfc;
  box-shadow: 0 2px 8px rgba(23, 61, 82, .04);
}

.other-widget-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.other-widget-card h3 a {
  color: #173d52;
  text-decoration: none;
}

.other-widget-card h3 a:hover {
  color: #966b14;
  text-decoration: underline;
}

/* Widgets Hub & Static Info Pages */
.widgets-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.widget-showcase-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.4rem;
}

.widget-showcase-tag {
  display: inline-block;
  margin-bottom: .55rem;
  padding: .22rem .65rem;
  border-radius: 999px;
  background: rgba(200, 162, 75, .16);
  color: #845d0e;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.widget-showcase-info h3 {
  margin: 0 0 .5rem;
  font-size: 1.22rem;
  font-weight: 800;
}

.widget-showcase-info h3 a {
  color: #173d52;
  text-decoration: none;
}

.widget-showcase-info h3 a:hover {
  color: #966b14;
  text-decoration: underline;
}

.widget-showcase-info p {
  margin: 0 0 .85rem;
  color: #4b5a62;
  font-size: .94rem;
  line-height: 1.6;
}

.widget-showcase-features {
  margin: 0 0 1.1rem;
  padding-inline-start: 1.2rem;
  color: #2f3e46;
  font-size: .88rem;
  line-height: 1.55;
}

.widget-showcase-features li {
  margin-bottom: .35rem;
}

.widget-showcase-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.widget-showcase-btn:hover {
  color: #fff;
  text-decoration: none;
}

.widget-showcase-preview-box {
  border: 1px solid #dce5ea;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.widget-showcase-preview-bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .95rem;
  background: #173f54;
  color: #e2eef4;
  font-size: .8rem;
  font-weight: 700;
}

.widget-showcase-stage {
  padding: 1rem;
  background: radial-gradient(#dce4e8 1px, transparent 1px) 0 0 / 16px 16px, #f8fafb;
}

.widgets-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.static-prose-card {
  padding: 1.65rem 1.85rem;
}

.static-prose-card h2 {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 1.5rem 0 .75rem;
  color: #173d52;
  font-size: 1.22rem;
  font-weight: 800;
}

.static-prose-card h2:first-child {
  margin-top: 0;
}

.static-prose-card h3 {
  margin: 1.15rem 0 .45rem;
  color: #1c4961;
  font-size: 1.04rem;
  font-weight: 700;
}

.static-prose-card p,
.static-prose-card li {
  color: #36454d;
  font-size: .96rem;
  line-height: 1.72;
}

.static-prose-card ul {
  margin: .75rem 0 1rem;
  padding-inline-start: 1.35rem;
}

.static-prose-card li {
  margin-bottom: .45rem;
}

.static-section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 .45rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #173d52 0%, #245875 100%);
  color: #f6d379;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .03em;
  flex-shrink: 0;
}

.static-trust-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: .55rem .65rem;
  border: 1px solid #dce5ea;
  border-radius: 12px;
  background: #f8fbfc;
}

.static-trust-nav a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .48rem .95rem;
  border-radius: 8px;
  color: #294c60;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}

.static-trust-nav a:hover {
  background: #eaf1f5;
  color: #173d52;
  text-decoration: none;
}

.static-trust-nav a.is-active {
  background: #173d52;
  color: #fff;
  box-shadow: 0 2px 6px rgba(23, 61, 82, .18);
}

.static-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
  margin-top: 1.15rem;
  padding-top: .95rem;
  border-top: 1px solid #e2d5b5;
  color: #2c4755;
  font-size: .84rem;
}

.static-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .32rem .78rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d5c49a;
  color: #173d52;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(23, 61, 82, .05);
}

.gold-country-cards,
.static-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.static-cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.static-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .85rem;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.static-feature-card:hover {
  transform: translateY(-2px);
  border-color: #c5d4dd;
  box-shadow: 0 8px 20px rgba(23, 61, 82, .07);
}

.static-feature-card h3 {
  margin: 0 0 .4rem;
  color: #173d52;
  font-size: 1.06rem;
  font-weight: 800;
}

.static-feature-card p {
  margin: 0;
  color: #4b5a62;
  font-size: .92rem;
  line-height: 1.6;
}

.static-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: .65rem;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef4f8 0%, #e3edf3 100%);
  border: 1px solid #d1e0e9;
  color: #173d52;
}

.static-icon-badge.is-gold {
  background: linear-gradient(135deg, #fdf8ea 0%, #f6e9c4 100%);
  border-color: #e4cc8a;
  color: #8b6210;
}

.static-callout {
  padding: 1.15rem 1.35rem;
  border-radius: 10px;
  border: 1px solid #dce5ea;
  border-inline-start: 4px solid #173d52;
  background: #f8fbfc;
  margin: 1rem 0;
}

.static-callout-warn {
  border-color: #ead59b;
  border-inline-start-color: #b78111;
  background: linear-gradient(135deg, #fffdf7 0%, #fbf5e6 100%);
}

.static-callout h3,
.static-callout strong.static-callout-title {
  display: block;
  margin: 0 0 .35rem;
  color: #173d52;
  font-size: .98rem;
  font-weight: 800;
}

.static-callout-warn h3,
.static-callout-warn strong.static-callout-title {
  color: #7c5408;
}

.static-callout p {
  margin: 0;
  color: #3a4a52;
  font-size: .92rem;
  line-height: 1.65;
}

.static-cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: linear-gradient(135deg, #f8fbfc 0%, #f3efe2 100%);
  border-color: #d8c89e;
}

.static-cta-banner h3 {
  margin: 0 0 .25rem;
  color: #173d52;
  font-size: 1.12rem;
}

.static-cta-banner p {
  margin: 0;
  color: #4f5f67;
  font-size: .92rem;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .85fr);
  gap: 1.5rem;
  align-items: start;
}

.contact-info-item {
  padding: .95rem 1.05rem;
  border: 1px solid #e3ebef;
  border-radius: 10px;
  background: #f9fbfc;
}

.contact-info-item + .contact-info-item {
  margin-top: .85rem;
}

.contact-info-item h3 {
  margin: 0 0 .3rem;
  color: #173d52;
  font-size: .98rem;
  font-weight: 800;
}

.contact-info-item p {
  margin: 0;
  color: #4a5a62;
  font-size: .89rem;
  line-height: 1.58;
}

.contact-textarea {
  min-height: 130px;
  padding: .75rem .85rem;
  resize: vertical;
}

.contact-alert {
  margin-bottom: 1rem;
  padding: .85rem 1.1rem;
  border-radius: 9px;
  font-size: .92rem;
  font-weight: 600;
}

.contact-alert-error {
  border: 1px solid #f5c2c7;
  background: #f8d7da;
  color: #842029;
}

.contact-alert-success {
  border: 1px solid #badbcc;
  background: #d1e7dd;
  color: #0f5132;
}

.contact-captcha-box {
  padding: 1rem 1.15rem;
  border: 1px solid #dce5ea;
  border-radius: 10px;
  background: #f9fbfc;
}

.contact-captcha-prompt {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .75rem;
  color: #173d52;
  font-weight: 700;
}

.captcha-target-img {
  display: inline-block;
  border-radius: 6px;
  border: 1px solid #cbd8e0;
  background-color: #fff;
}

.contact-captcha-options {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.choose-captcha {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border: 1px solid #dce5ea;
  border-radius: 8px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.choose-captcha:hover {
  border-color: #9bb4c4;
  box-shadow: 0 2px 6px rgba(23, 61, 82, .08);
}

@media (max-width: 991.98px) {
  .widget-builder-grid,
  .widgets-showcase-grid,
  .widgets-steps-grid,
  .gold-country-cards,
  .static-cards-grid,
  .static-cards-grid-2,
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }

  .widget-preview-col {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .fx-quick-converter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .gold-country-page {
    margin: 12px auto 24px;
    padding: 16px;
    border-radius: 10px;
  }

  .gold-country-intro {
    padding: 20px 16px;
  }

  .gold-country-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .gold-country-grid a {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: .35rem;
    min-height: 72px;
    padding: .7rem;
    font-size: .92rem;
  }

  .gold-country-quick-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gold-country-table th,
  .gold-country-table td {
    padding: .75rem .65rem;
  }

  .gold-country-related a {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gold-country-grid a,
  .gold-country-search,
  .gold-country-table tbody tr,
  .gold-country-related a,
  .gold-country-toc a {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .back-to-top { transition: none; }
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  background-color: #f1f5f9;
  color: #991b1b;
  padding: 0.15rem 0.38rem;
  border-radius: 4px;
}

pre {
  background-color: #0f172a;
  color: #f8fafc;
  border: 1px solid #1e293b;
  padding: 1.15rem 1.25rem;
  border-radius: 10px;
  overflow-x: auto;
  margin: 1.25rem 0;
  line-height: 1.6;
}

pre code {
  background-color: transparent;
  color: #f8fafc;
  padding: 0;
  border-radius: 0;
  font-size: 0.86rem;
}

#widget-guide-section article {
  padding: 1.5rem 1.65rem;
  border: 1px solid #e2e8ea;
  border-radius: 12px;
  background: #ffffff;
  color: #26363e;
  box-shadow: 0 2px 10px rgba(23, 61, 82, .04);
}

#widget-guide-section h1,
#widget-guide-section h2,
#widget-guide-section h3 {
  color: #173d52;
}

#widget-guide-section table {
  width: 100%;
  margin: 1rem 0 1.35rem;
  border-collapse: collapse;
  border: 1px solid #dce5ea;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

#widget-guide-section th,
#widget-guide-section td {
  padding: .75rem .95rem;
  border-bottom: 1px solid #e9eff2;
  color: #26363e;
  font-size: .9rem;
  text-align: start;
}

#widget-guide-section thead th {
  background: #173f54;
  color: #ffffff;
  font-weight: 700;
}

.callout {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  border-inline-start: 4px solid #173d52;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
  border-radius: 8px;
}

.callout p {
  margin: 0;
  color: #1e3a8a;
  line-height: 1.6;
}

ul, ol {
  margin: 1rem 0;
  padding-inline-start: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

details {
  background-color: #f8fafc;
  border: 1px solid #dce5ea;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: .85rem;
  color: #1e293b;
}

summary {
  color: #173d52;
  font-weight: 700;
  cursor: pointer;
  outline: none;
}

details p {
  margin-top: 0.75rem;
  margin-bottom: 0;
  color: #36454d;
  line-height: 1.65;
}

/* ==========================================================================
   Institutional Multi-Column Footer & YMYL E-E-A-T Trust Disclosure
   ========================================================================== */
.site-footer {
  margin-top: 3rem;
  padding: 2.75rem 0 1.75rem;
  background: linear-gradient(180deg, #16384b 0%, #0f2937 100%);
  border-top: 3px solid #c8a24b;
  color: #eef5f8;
  font-size: .92rem;
  line-height: 1.6;
  text-align: start;
}

.site-footer-inner,
.site-footer > .container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  background: transparent !important;
  border-radius: 0;
  box-shadow: none;
}

.site-footer a {
  color: #eef5f8;
  text-decoration: none;
  transition: color .15s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #f8de8c;
  text-decoration: none;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(170px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.site-footer-brand .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: .85rem;
  color: #fff;
  text-decoration: none;
}

.site-footer-brand .brand-mark {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 9px;
  background: #41c5ef;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .25);
  color: #0f2937;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -.06em;
  direction: ltr;
  unicode-bidi: isolate;
}

.site-footer-brand .brand-name {
  color: #fff;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.03em;
  direction: ltr;
  unicode-bidi: isolate;
}

.site-footer-desc {
  margin: 0 0 1rem;
  color: #dce8ee;
  font-size: .89rem;
  line-height: 1.65;
}

.site-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.site-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .26rem .65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fae39c;
  font-size: .77rem;
  font-weight: 700;
}

.site-footer-col h3 {
  margin: 0 0 .85rem;
  color: #ffffff;
  font-size: .96rem;
  font-weight: 800;
  letter-spacing: .02em;
}

.site-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-links li {
  margin-bottom: .5rem;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #e4eff5;
  font-size: .89rem;
}

.site-footer-links a:hover {
  color: #fae39c;
}

.site-footer-langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.site-footer-langs-label {
  color: #dce8ee;
  font-size: .84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.site-footer-lang-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-lang-item {
  margin: 0;
}

.site-footer-lang-item a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #ffffff;
  font-size: .84rem;
  font-weight: 600;
}

.site-footer-lang-item a:hover {
  background: rgba(200, 162, 75, .28);
  border-color: #e2be68;
  color: #ffffff;
}

.site-footer-disclaimer {
  margin-top: 1.25rem;
  padding: 1.05rem 1.25rem;
  border-radius: 10px;
  background: rgba(8, 22, 31, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  border-inline-start: 4px solid #e2be68;
  color: #e2edf3;
  font-size: .83rem;
  line-height: 1.65;
}

.site-footer-disclaimer strong {
  color: #fae39c;
  font-weight: 700;
}

.site-footer-disclaimer a {
  color: #fae39c;
  font-weight: 700;
  text-decoration: underline;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 1.35rem;
  color: #d4e3eb;
  font-size: .84rem;
}

.site-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer-bottom-links li {
  margin: 0;
}

@media (max-width: 991.98px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .site-footer-langs,
  .site-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* E-E-A-T methodology trust bar */
.eeat-trust-bar {
  margin: 1.5rem 0;
  padding: 1.1rem 1.25rem;
  background: #ffffff;
  color: #173d52;
  border: 1px solid #c9d9e2;
  border-inline-start: 5px solid #b8860b;
  border-radius: 8px;
}
.eeat-trust-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.eeat-trust-title { color: #173d52; font-size: 1.05rem; }
.eeat-trust-badges { display: flex; flex-wrap: wrap; gap: .4rem; }
.eeat-badge { background: #173f54; color: #ffffff; padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.eeat-badge-time { background: #fdf3d3; color: #173d52; border: 1px solid #e3c36a; }
.eeat-trust-formulas { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; text-align: left; }
.eeat-trust-formulas code { background: #f1f6f9; color: #173d52; border: 1px solid #c9d9e2; padding: .35rem .6rem; border-radius: 6px; font-size: .88rem; }
.eeat-trust-disclosure { margin: 0 0 .6rem; color: #36454d; font-size: .9rem; line-height: 1.55; }
.eeat-trust-disclosure strong { color: #173d52; }
.eeat-trust-links { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 0; }
.eeat-trust-links a { color: #0b5a85; font-weight: 700; text-decoration: underline; }
