.fx-directory-page {
    margin: 0 auto;
    padding: 26px 0 70px;
}
.fx-directory-article {
    color: #263b4d;
}
.fx-directory-heading h2 {
    letter-spacing: -.015em;
}
.fx-special-surveys {
    padding-top: 2px;
}
.fx-special-survey-grid li {
    border-left: 3px solid #83afd0;
}
.fx-coverage-crosslink {
    justify-content: space-between;
}
.fx-coverage-crosslink a {
    line-height: 1.4;
}
.fx-final-cta {
    color: #fff;
    justify-content: space-between;
}
.fx-final-cta-copy strong {
    margin-bottom: 4px;
}
.fx-final-cta .publication-button {
    margin: 0;
}
.fx-final-cta .publication-button .blue-button {
    text-align: center;
    justify-content: center;
}
.fx-final-cta .publication-button .blue-button:hover,
.fx-final-cta .publication-button .blue-button:focus {
    box-shadow: 0 4px 12px rgba(0,0,0,.14);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .fx-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media (max-width: 640px) {
    .fx-child-modern-hero {
        padding: 30px 0 28px;
    }

    .fx-child-modern-hero h1 {
        font-size: clamp(2rem, 10vw, 2.65rem);
    }
    .fx-child-proof {
        grid-template-columns: 1fr;
    }
    .fx-child-proof > div + div {
        border-left: 0;
        border-top: 1px solid #d9e3ea;
    }
    .fx-child-modern-hero .cei-publication-timing__grid {
        grid-template-columns: 1fr;
    }
    .fx-child-modern-hero .cei-publication-timing__item {
        padding: 0 0 15px;
    }
    .fx-child-modern-hero .cei-publication-timing__item--next {
        padding: 15px 0;
        border-left: 0;
        border-top: 1px solid #ccdce8;
    }
    .fx-directory-page {
        padding-top: 22px;
        padding-bottom: 48px;
    }
    .fx-directory-switcher {
        gap: 5px 18px;
        margin-bottom: 32px;
    }
    .fx-currency-directory,
    .fx-special-survey-grid {
        grid-template-columns: 1fr;
    }
    .fx-currency-directory {
        padding: 16px 18px 18px;
    }
    .fx-coverage-crosslink {
        align-items: flex-start;
        flex-direction: column;
    }
    .fx-final-cta .publication-button {
        width: 100%;
        flex-direction: column;
    }
    .fx-final-cta .publication-button .blue-button {
        width: 100%;
    }
}
.fx-child-modern-hero,
.fx-child-modern-hero * {
    box-sizing: border-box;
}
.fx-child-modern-hero > .container {
    width: min(calc(100% - 40px), 1120px);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}
.fx-child-hero-inner,
.fx-directory-main,
.fx-directory-article,
.fx-aligned-section,
.fx-directory-page .cei-related-publications {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.fx-child-proof,
.fx-child-modern-hero .cei-publication-timing {
    width: 100%;
    max-width: 920px;
}
.fx-directory-switcher {
    margin-bottom: 38px;
    gap: 0 26px;
    flex-wrap: wrap;
}
.fx-directory-section,
.fx-special-surveys {
    margin-bottom: 48px;
}
.fx-directory-section,
.fx-special-surveys,
.fx-coverage-crosslink,
.fx-directory-page .cei-related-publications,
.fx-final-cta {
    clear: both;
}
.fx-currency-directory,
.fx-special-survey-grid {
    width: 100%;
}
.fx-currency-directory {
    align-items: start;
    gap: 0;
    list-style: none;
    row-gap: 0;
    column-gap: 34px;
}
.fx-currency-directory li {
    min-height: 40px;
    display: flex;
    align-items: center;
    break-inside: avoid;
}
.fx-special-survey-grid li {
    display: flex;
    align-items: center;
}
.fx-coverage-crosslink {
    min-height: 88px;
    margin-bottom: 48px;
}
.fx-directory-page .cei-related-publications {
    margin-bottom: 48px;
}

@media (max-width: 640px) {
    .fx-child-modern-hero > .container,
    .fx-directory-page {
        width: min(calc(100% - 28px), 1120px);
    }
    .fx-child-hero-lead {
        font-size: 16px;
        min-height: 0;
    }
    .fx-currency-directory li,
    .fx-special-survey-grid li,
    .fx-coverage-crosslink {
        min-height: 0;
    }
}
.fx-unified-hero,
.fx-unified-hero *,
.fx-directory-page,
.fx-directory-page * {
    box-sizing: border-box;
}

.fx-unified-hero {
    margin: 0;
    padding: 44px 0 40px;
    background: #f7f9fb;
    border: 0;
    border-bottom: 1px solid #d9e3ea;
}
/* Apply the softened grid texture to the active Foreign Exchange hero variants. */
.fx-child-modern-hero,
.fx-unified-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.fx-child-modern-hero::before,
.fx-unified-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("images/banner-bg-img.jpg");
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    opacity: .38;
    -webkit-mask-image: radial-gradient(ellipse 66% 76% at 57% 42%, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .26) 70%, transparent 100%);
    mask-image: radial-gradient(ellipse 66% 76% at 57% 42%, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .62) 34%, rgba(0, 0, 0, .26) 70%, transparent 100%);
}

.fx-child-modern-hero > *,
.fx-unified-hero > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .fx-child-modern-hero::before,
    .fx-unified-hero::before {
        background-position: 62% center;
        -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 52%, #000 100%);
        mask-image: linear-gradient(to right, transparent 0%, transparent 52%, #000 100%);
    }
}

.fx-unified-shell,
.fx-directory-page {
    width: min(calc(100% - 40px), 1120px);
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

/* Currency coverage hero: publication cover and formats on the left. */
.fx-unified-shell--with-cover {
    display: grid;
    grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
    align-items: start;
    gap: 44px;
}

.fx-unified-cover-column {
    min-width: 0;
}

.fx-unified-cover {
    text-align: center;
}

.fx-unified-cover img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 350px;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 5px;
}

.fx-unified-cover-column .g7-delivery-formats {
    margin-top: 20px;
}

.fx-unified-content {
    min-width: 0;
}

@media (max-width: 800px) {
    .fx-unified-shell--with-cover {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .fx-unified-cover-column {
        width: min(100%, 350px);
        margin: 0 auto;
    }
}

.fx-unified-eyebrow {
    margin: 0 0 14px;
    padding: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.fx-unified-eyebrow a {
    color: #2768a5;
    text-decoration: none;
}
.fx-unified-eyebrow a:hover,
.fx-unified-eyebrow a:focus {
    color: #153b5c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fx-unified-hero h1 {
    margin: 0 0 12px;
    padding: 0;
    color: #153b5c;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -.025em;
    font-weight: 650;
}
.fx-unified-lead {
    max-width: 820px;
    margin: 0;
    color: #40576a;
    font-size: 17px;
    line-height: 1.6;
}

.fx-unified-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 900px;
    margin: 26px 0 20px;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d5e1e9;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(21, 59, 92, .035);
}
.fx-unified-proof > div {
    min-width: 0;
    padding: 16px 18px;
}
.fx-unified-proof > div + div {
    border-left: 1px solid #d5e1e9;
}
.fx-unified-proof strong,
.fx-unified-proof span {
    display: block;
    margin: 0;
    padding: 0;
}
.fx-unified-proof strong {
    color: #153b5c;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 700;
}
.fx-unified-proof span {
    margin-top: 4px;
    color: #667b8d;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 600;
}

/* FX currency coverage pages: compact availability card below the coverage summary. */
.fx-unified-hero .g7-delivery-formats {
    width: min(100%, 350px);
    margin: 24px 0 0;
    padding: 14px 16px 15px;
    border: 1px solid #dbe5ec;
    border-radius: 8px;
    background: rgba(255, 255, 255, .72);
    text-align: left;
}

.fx-unified-hero .g7-delivery-formats-title {
    display: block;
    margin-bottom: 12px;
    color: #6b7d8b;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}

.fx-unified-hero .g7-delivery-formats-grid {
    display: grid;
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    gap: 12px 14px;
    align-items: center;
}

.fx-unified-hero .g7-delivery-format {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    min-width: 0;
    min-height: 30px;
}

.fx-unified-hero .g7-delivery-format-icon {
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    color: #176a9d;
}

.fx-unified-hero .g7-delivery-format-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.fx-unified-hero .g7-delivery-format-label {
    color: #214860;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.18;
}

@media (max-width: 767px) {
    .fx-unified-hero .g7-delivery-formats {
        width: min(100%, 310px);
        margin-top: 18px;
    }
}


.fx-unified-timing {
    width: 100%;
    max-width: 900px;
    margin: 0;
}
.fx-unified-timing .cei-publication-timing {
    display: block;
    margin: 0;
    padding: 18px 20px 0;
    overflow: hidden;
    background: #f3f7fa;
    border: 1px solid #d4e1e9;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(21, 59, 92, .03);
}
.fx-unified-timing .cei-publication-timing__eyebrow {
    display: block;
    margin: 0 0 12px;
    color: #2768a5;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.fx-unified-timing .cei-publication-timing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    margin: 0;
    padding: 0;
}
.fx-unified-timing .cei-publication-timing__item {
    min-width: 0;
    margin: 0;
    padding: 2px 20px 18px 0;
}
.fx-unified-timing .cei-publication-timing__item--next {
    padding-right: 0;
    padding-left: 20px;
    border-left: 1px solid #ccdce8;
}
.fx-unified-timing .cei-publication-timing__label,
.fx-unified-timing .cei-publication-timing__month,
.fx-unified-timing .cei-publication-timing__meta {
    display: block;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}
.fx-unified-timing .cei-publication-timing__label {
    margin-bottom: 5px;
    color: #456176;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.fx-unified-timing .cei-publication-timing__month {
    margin-bottom: 5px;
    color: #153b5c;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
}
.fx-unified-timing .cei-publication-timing__meta {
    color: #63798a;
    font-size: 14px;
    line-height: 1.45;
}
.fx-unified-timing .cei-publication-timing__schedule {
    grid-column: 1 / -1;
    display: block;
    margin: 0 -20px;
    padding: 10px 20px 11px;
    color: #2768a5;
    background: rgba(255,255,255,.55);
    border-top: 1px solid #d5e2eb;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 650;
    text-decoration: none;
}
.fx-unified-timing .cei-publication-timing__schedule:hover,
.fx-unified-timing .cei-publication-timing__schedule:focus {
    color: #153b5c;
    background: #fff;
}
.fx-directory-page {
    padding-top: 28px;
    padding-bottom: 70px;
}
.fx-directory-page .fx-directory-main,
.fx-directory-page .fx-directory-article,
.fx-directory-page .fx-aligned-section {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}
.fx-directory-switcher {
    display: flex;
    align-items: flex-end;
    width: 100%;
    margin: 0 0 40px;
    padding: 0;
    border-bottom: 1px solid #d7e1e8;
}
.fx-directory-switcher a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 52px;
    padding: 0 0 14px;
    color: #294d69;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 650;
    text-decoration: none;
}
.fx-directory-switcher a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: transparent;
}
.fx-directory-switcher a:hover,
.fx-directory-switcher a:focus,
.fx-directory-switcher a.is-active {
    color: #153b5c;
}
.fx-directory-switcher a.is-active::after {
    background: #2874a6;
}

.fx-directory-section,
.fx-special-surveys,
.fx-coverage-crosslink,
.fx-directory-page .cei-related-publications {
    width: 100%;
    max-width: none;
    margin: 0 0 48px;
}
.fx-directory-heading {
    max-width: 820px;
    margin: 0 0 22px;
}
.fx-directory-eyebrow {
    display: block;
    margin: 0 0 8px;
    color: #2768a5;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.fx-directory-heading h2 {
    margin: 0;
    color: #153b5c;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 650;
}
.fx-directory-heading p {
    margin: 10px 0 0;
    color: #3f4f5e;
    font-size: 16px;
    line-height: 1.58;
}

.fx-currency-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-top: 1px solid #dce5eb;
    border-bottom: 1px solid #dce5eb;
    border-radius: 0;
}
.fx-currency-directory li {
    min-width: 0;
    margin: 0;
    padding: 13px 16px;
    color: #243f54;
    background: #fff;
    border-right: 1px solid #e2e9ee;
    border-bottom: 1px solid #e2e9ee;
    font-size: 14px;
    line-height: 1.4;
}
.fx-currency-directory li:nth-child(3n) {
    border-right: 0;
}

.fx-special-survey-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fx-special-survey-grid li {
    min-height: 54px;
    margin: 0;
    padding: 14px 16px;
    color: #294d69;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e0e7ec;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.4;
}

.fx-coverage-crosslink {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 22px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #d4e2eb;
    border-bottom: 1px solid #d4e2eb;
    border-radius: 0;
}
.fx-coverage-crosslink strong {
    display: block;
    margin-top: 4px;
    color: #153b5c;
    font-size: 18px;
    line-height: 1.3;
}
.fx-coverage-crosslink a {
    flex: 0 0 auto;
    color: #2768a5;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}
.fx-coverage-crosslink a:hover,
.fx-coverage-crosslink a:focus {
    color: #153b5c;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.fx-directory-page .cei-related-publications {
    padding: 28px 0;
    background: transparent;
    border: 0;
    border-top: 1px solid #e1e7ec;
    border-bottom: 1px solid #e1e7ec;
    border-radius: 0;
}
.fx-directory-page .cei-related-publications .g7-section-heading {
    max-width: 760px;
    margin: 0 0 22px;
    text-align: left;
}
.fx-directory-page .cei-related-publications .g7-section-heading h2 {
    margin: 0;
    color: #153b5c;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 650;
}
.fx-directory-page .cei-related-publications .g7-section-heading p {
    margin: 8px 0 0;
    color: #3f4f5e;
    font-size: 15px;
    line-height: 1.55;
}
.fx-directory-page .cei-related-publications-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.fx-directory-page .cei-related-publication-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 14px 16px;
    color: #153b5c;
    background: transparent;
    border: 0;
    border-right: 1px solid #d9e3ea;
    border-bottom: 1px solid #d9e3ea;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 650;
    text-decoration: none;
}
.fx-directory-page .cei-related-publication-link:nth-child(3n) { border-right: 0; }

.fx-directory-page .cei-related-publication-link:hover,
.fx-directory-page .cei-related-publication-link:focus {
    background: #f6f9fb;
    border-color: #d9e3ea;
}
.fx-directory-page .cei-related-publication-arrow {
    flex: 0 0 auto;
    margin-left: auto;
    color: #2874a6;
    font-size: 20px;
    line-height: 1;
}

.fx-final-cta {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    margin: 0;
    padding: 26px 28px;
    background: #153f61;
    border: 0;
    border-radius: 0;
}
.fx-final-cta .fx-directory-eyebrow {
    color: #9bc9e9;
}
.fx-final-cta-copy strong {
    display: block;
    color: #fff;
    font-size: 21px;
    line-height: 1.25;
}
.fx-final-cta-copy > span:last-child {
    display: block;
    margin-top: 6px;
    color: #dce8f1;
    font-size: 14px;
    line-height: 1.5;
}
.fx-final-cta .publication-button {
    display: flex;
    gap: 12px;
    flex: 0 0 auto;
}
.fx-final-cta .publication-button .blue-button {
    display: inline-flex;
    align-items: center;
    min-width: 150px;
    min-height: 44px;
    margin: 0;
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #d9e7f0;
    border-radius: 7px;
    color: #153b5c;
    font-weight: 700;
    text-decoration: none;
}
.fx-final-cta .publication-button .blue-button:last-child {
    background: #8fc7eb;
    border-color: #8fc7eb;
    color: #0b3555;
}

@media (max-width: 900px) {
    .fx-currency-directory,
    .fx-directory-page .cei-related-publications-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fx-currency-directory li:nth-child(3n) {
        border-right: 1px solid #e2e9ee;
    }
    .fx-currency-directory li:nth-child(2n),
    .fx-directory-page .cei-related-publication-link:nth-child(2n) {
        border-right: 0;
    }
    .fx-directory-page .cei-related-publication-link:nth-child(3n) {
        border-right: 1px solid #d9e3ea;
    }
}

@media (max-width: 700px) {
    .fx-unified-hero {
        padding: 30px 0 28px;
    }
    .fx-unified-shell,
    .fx-directory-page {
        width: min(calc(100% - 28px), 1120px);
    }
    .fx-unified-hero h1 {
        font-size: clamp(32px, 10vw, 40px);
    }
    .fx-unified-lead {
        font-size: 16px;
    }
    .fx-unified-proof,
    .fx-unified-timing .cei-publication-timing__grid,
    .fx-currency-directory,
    .fx-special-survey-grid,
    .fx-directory-page .cei-related-publications-grid {
        grid-template-columns: 1fr;
    }
    .fx-unified-proof > div + div {
        border-left: 0;
        border-top: 1px solid #d5e1e9;
    }
    .fx-unified-timing .cei-publication-timing__item {
        padding: 0 0 15px;
    }
    .fx-unified-timing .cei-publication-timing__item--next {
        padding: 15px 0;
        border-left: 0;
        border-top: 1px solid #ccdce8;
    }
    .fx-directory-switcher {
        gap: 0 18px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    .fx-directory-switcher a {
        white-space: nowrap;
    }
    .fx-currency-directory li,
    .fx-currency-directory li:nth-child(2n),
    .fx-currency-directory li:nth-child(3n),
    .fx-directory-page .cei-related-publication-link,
    .fx-directory-page .cei-related-publication-link:nth-child(2n),
    .fx-directory-page .cei-related-publication-link:nth-child(3n) {
        border-right: 0;
    }
    .fx-coverage-crosslink,
    .fx-final-cta {
        align-items: flex-start;
        flex-direction: column;
    }
    .fx-directory-page .cei-related-publications {
        padding: 22px 0;
    }
    .fx-final-cta .publication-button {
        width: 100%;
        flex-direction: column;
    }
    .fx-final-cta .publication-button .blue-button {
        width: 100%;
    }
}
.fx-directory-page .fx-directory-section {
    padding-top: 0;
}

.fx-directory-page .fx-directory-heading {
    max-width: none;
    margin: 0 0 22px;
}

.fx-directory-page .fx-directory-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 5px 0 0;
}

.fx-directory-page .fx-directory-title-row h2 {
    margin: 0;
    color: #153b5c;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: -0.015em;
}

.fx-directory-page .fx-directory-count {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0;
    color: #667a8a;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.fx-directory-page .fx-directory-heading p {
    max-width: 760px;
    margin: 10px 0 0;
    color: #3f4f5e;
    font-size: 16px;
    line-height: 1.55;
}

.fx-directory-page .fx-currency-directory {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-top: 1px solid #dce5eb;
    border-bottom: 1px solid #dce5eb;
    border-radius: 0;
    box-shadow: none;
}

.fx-directory-page .fx-currency-directory li,
.fx-directory-page .fx-currency-directory li:nth-child(2n),
.fx-directory-page .fx-currency-directory li:nth-child(3n) {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    padding: 13px 16px;
    color: #173d5c;
    background: transparent;
    border: 0;
    border-right: 1px solid #e3e9ee;
    border-bottom: 1px solid #e3e9ee;
    border-radius: 0;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 450;
}

.fx-directory-page .fx-currency-directory li:nth-child(3n) { border-right: 0; }

.fx-directory-page .fx-currency-directory li:hover {
    background: #f0f5f8;
}
.fx-directory-page .fx-currency-directory li:nth-last-child(-n+3) {
    border-bottom-color: transparent;
}

@media (max-width: 960px) {
    .fx-directory-page .fx-currency-directory {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .fx-directory-page .fx-currency-directory li:nth-child(3n) {
        border-right: 1px solid #e3e9ee;
    }
    .fx-directory-page .fx-currency-directory li:nth-child(2n) {
        border-right: 0;
    }
    .fx-directory-page .fx-currency-directory li:nth-last-child(-n+3) {
        border-bottom: 1px solid #e3e9ee;
    }
    .fx-directory-page .fx-currency-directory li:nth-last-child(-n+2) {
        border-bottom-color: transparent;
    }
}

@media (max-width: 620px) {
    .fx-directory-page .fx-directory-title-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0;
    }
    .fx-directory-page .fx-directory-title-row h2 {
        font-size: 25px;
    }
    .fx-directory-page .fx-currency-directory {
        grid-template-columns: 1fr;
        padding: 0;
    }
    .fx-directory-page .fx-currency-directory li,
    .fx-directory-page .fx-currency-directory li:nth-child(2n),
    .fx-directory-page .fx-currency-directory li:nth-child(3n),
    .fx-directory-page .fx-currency-directory li:nth-last-child(-n+2) {
        min-height: 46px;
        padding: 12px 8px;
        border-right: 0;
        border-bottom: 1px solid #e3e9ee;
    }
    .fx-directory-page .fx-currency-directory li:last-child {
        border-bottom-color: transparent;
    }
}
