:root {
    --pec-primary: #0b2c6f;
    --pec-primary-2: #133f9e;
    --pec-accent: #ff9f1a;
    --pec-accent-dark: #e88800;
    --pec-text: #1e2a3b;
    --pec-muted: #6d7888;
    --pec-line: #e5ebf5;
    --pec-soft: #f5f8fe;
    --pec-soft-2: #eef4ff;
    --pec-shadow: 0 16px 40px rgba(10, 37, 90, 0.08);
    --pec-shadow-sm: 0 10px 25px rgba(10, 37, 90, 0.06);
    --pec-radius: 20px;
}

body {
    color: var(--pec-text);
}

.section.section-pad,
.section.section-pad-sm,
.section.section-pad-md {
    position: relative;
}

.btn,
button.btn,
a.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all .25s ease;
}

.btn:hover,
a.btn:hover {
    transform: translateY(-1px);
}

.btn.btn-outline {
    border-width: 2px;
}

.header-s1 .page-head,
.header-s2 .page-head {
    min-height: 260px;
}

.page-head {
    position: relative;
}

.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 27, 77, 0.78), rgba(7, 42, 111, 0.46));
    z-index: 0;
}

.page-head .container,
.page-head .row {
    position: relative;
    z-index: 1;
}

.page-head .page-title {
    font-size: 2.2em;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 10px 24px rgba(0,0,0,.18);
}

.blog-post,
.post.post-single,
.sidebar-right .wgs-box,
.sidebar-right.wgs-box,
.box.box-alt-bg,
.box-alt,
.wgs-box,
.wgs-search,
.wgs-post,
.wgs-tags,
.blog-post-single,
.post-entry,
.contact-box,
.single-faq {
    border-radius: var(--pec-radius);
}

.blog-post,
.post.post-single,
.sidebar-right.wgs-box,
.wgs-search,
.wgs-post,
.wgs-tags,
.contact-box,
.single-faq {
    border: 1px solid var(--pec-line);
    box-shadow: var(--pec-shadow-sm);
    background: #fff;
}

.blog-post .post-thumb,
.post.post-single .post-thumb,
.video-block,
.round {
    overflow: hidden;
}

.blog-post .post-entry,
.post.post-single .post-entry {
    padding: 26px 28px;
}

.blog-post .post-entry h5,
.blog-post .post-entry h3,
.post.post-single .post-entry h2,
.post.post-single .post-entry h3 {
    line-height: 1.35;
    color: var(--pec-primary);
}

.post.post-single .post-meta,
.blog-post .post-meta {
    color: var(--pec-muted);
    font-size: .94em;
}

.post.post-single .post-thumb img,
.blog-post .post-thumb img,
.wgs-post-thumb img {
    width: 100%;
    object-fit: cover;
}

.wgs-search,
.wgs-post,
.wgs-tags {
    padding: 24px 24px 8px;
    margin-bottom: 22px;
}

.wgs-title {
    font-size: 1.15em;
    font-weight: 700;
    color: var(--pec-primary);
    margin-bottom: 18px;
}

.wgs-post-single + .wgs-post-single {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--pec-line);
}

.wgs-post-entry h6,
.wgs-post-title {
    line-height: 1.4;
}

.wgs-search .form-group {
    position: relative;
}

.wgs-search .form-control {
    min-height: 52px;
    padding-right: 58px;
    border-radius: 14px;
    border: 1px solid #dbe3f1;
    box-shadow: none;
}

.wgs-search .search-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: var(--pec-primary);
    color: #fff;
}

.tag-list li a {
    border-radius: 999px;
    padding: 8px 14px;
    border: 1px solid #d9e3f5;
    color: var(--pec-primary);
    background: #f8fbff;
}

.tag-list li a:hover {
    background: var(--pec-primary);
    color: #fff;
}

.pagination > li > a,
.pagination > li > span {
    border-radius: 12px !important;
    margin: 0 3px;
    border-color: #dbe3f1;
    color: var(--pec-primary);
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background: var(--pec-primary);
    border-color: var(--pec-primary);
}

.footer-section {
    margin-top: 20px;
}

.footer-section .wgs-footer {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 24px;
    min-height: 245px;
}

.footer-section .wgs-title {
    color: #fff;
    margin-bottom: 16px;
}

.footer-section .menu li + li,
.footer-section .wgs-contact-list li + li {
    margin-top: 10px;
}

.footer-section .menu a,
.footer-section .wgs-contact a,
.footer-section .wgs-contact-list li {
    color: rgba(255,255,255,.82);
}

.footer-section .menu a:hover,
.footer-section .wgs-contact a:hover {
    color: #fff;
}

.box.box-alt-bg {
    border: 1px solid var(--pec-line);
}

@media (max-width: 991px) {
    .page-head .page-title {
        font-size: 1.9em;
    }
}

@media (max-width: 767px) {
    .page-head .page-title {
        font-size: 1.55em;
    }

    .footer-section .wgs-footer {
        min-height: auto;
    }
}

/* FAQ styling kept compact and separate from generic content cards. */
.faq-page .faq-intro-title {
    margin: 0 0 30px;
    color: var(--pec-primary);
    font-size: 2em;
    font-weight: 700;
}

.faq-page .faq-intro-title span {
    color: var(--pec-accent);
}

.faq-page .faq-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.faq-page .single-faq {
    height: 100%;
    padding: 22px 24px;
    margin: 0;
    border: 1px solid #e2e8f2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(18, 43, 88, .045);
}

.faq-page .single-faq .faq-heading {
    margin: 0 0 10px;
    color: #17243a;
    font-size: 1.08em;
    line-height: 1.45;
    font-weight: 700;
}

.faq-page .single-faq p:last-child {
    margin-bottom: 0;
}

.faq-page .faq-accordion-section {
    background: #f7f9fd;
}

.faq-page .accordion .panel {
    margin-bottom: 12px;
    border: 1px solid #e0e7f2;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 14px rgba(18, 43, 88, .035);
}

.faq-page .accordion .panel-heading {
    padding: 0;
    background: #fff;
}

.faq-page .accordion .panel-title a {
    display: block;
    padding: 18px 54px 18px 20px;
    color: #18243a;
    font-weight: 700;
}

.faq-page .accordion .panel-title a:hover,
.faq-page .accordion .panel-title a:focus {
    color: var(--pec-primary);
}

.faq-page .accordion .panel-body {
    padding: 0 20px 20px;
    border-top: 1px solid #edf1f7;
    color: var(--pec-muted);
}

@media (max-width: 767px) {
    .faq-page .faq-featured-grid {
        grid-template-columns: 1fr;
    }

    .faq-page .faq-intro-title {
        font-size: 1.6em;
    }
}

/* Keep the circular article action button fully inside every content card. */
.blog-post .post-entry {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 310px;
    padding-bottom: 24px;
}

.blog-post .post-entry .post-meta,
.blog-post .post-entry h5,
.blog-post .post-entry p {
    width: 100%;
}

.blog-post .post-entry .btn-icon {
    position: static;
    left: auto;
    bottom: auto;
    margin: auto auto 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    border-radius: 50%;
    overflow: hidden;
    transform: none;
    box-shadow: 0 8px 18px rgba(247, 146, 26, .25);
}

.blog-post .post-entry .btn-icon .pe {
    position: static;
    top: auto;
    line-height: 1;
    font-size: 30px;
    transform: translateX(1px);
}

/* Move FAQ plus/minus controls away from the outer edge and improve hit area. */
.faq-page .accordion .panel-title a {
    position: relative;
    padding-right: 74px;
}

.faq-page .accordion .plus-minus {
    right: 22px;
    width: 22px;
    height: 22px;
    margin-top: -11px;
}

@media (max-width: 767px) {
    .blog-post .post-entry {
        min-height: 0;
    }

    .faq-page .accordion .panel-title a {
        padding-right: 66px;
    }

    .faq-page .accordion .plus-minus {
        right: 18px;
    }
}

/* Articles archive should visually match the blog grid and keep consistent card heights. */
.articles-page .articles-grid {
    margin-top: 8px;
}

.articles-page .article-grid-item {
    display: flex;
}

.articles-page .article-card {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.articles-page .article-card .post-thumb {
    background: #eef3fb;
}

.articles-page .article-card .post-thumb img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.articles-page .article-card .post-entry {
    min-height: 335px;
}

.articles-page .article-card .post-entry h5 {
    min-height: 50px;
    margin-bottom: 14px;
}

.articles-page .article-card .post-entry p {
    color: var(--pec-muted);
}

.articles-page .articles-search-box {
    margin-bottom: 34px;
}

.articles-page .articles-empty-state {
    padding: 42px 30px;
    border: 1px solid var(--pec-line);
    background: #fff;
}

@media (max-width: 991px) {
    .articles-page .article-card .post-thumb img {
        height: 215px;
    }
}

@media (max-width: 767px) {
    .articles-page .article-grid-item {
        display: block;
    }

    .articles-page .article-card .post-thumb img {
        height: auto;
        max-height: none;
    }

    .articles-page .article-card .post-entry {
        min-height: 0;
    }

    .articles-page .article-card .post-entry h5 {
        min-height: 0;
    }
}



/* Multilingual archive-grid hardening: keeps Articles, Blog and Updates stable regardless of translated text length. */
.content-archive-layout > [class*="col-"],
.content-card-grid,
.content-card-grid-item,
.content-card,
.content-card .post-entry,
.sidebar-right,
.wgs-post-entry {
    min-width: 0;
}

.content-card-grid {
    display: grid !important;
    width: 100%;
    margin: 0 !important;
    padding: 0;
    gap: 30px;
    align-items: stretch;
    grid-auto-flow: row;
}

.content-card-grid::before,
.content-card-grid::after {
    display: none !important;
    content: none !important;
}

.content-card-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card-grid .content-card-grid-item {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    min-width: 0;
}

.content-card-grid .content-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
    overflow: hidden;
}

.content-card-grid .content-card .post-thumb {
    height: 220px;
    flex: 0 0 220px;
    overflow: hidden;
    background: #eef3fb;
}

.content-card-grid .content-card .post-thumb > a {
    display: block;
    width: 100%;
    height: 100%;
}

.content-card-grid .content-card .post-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
}

.content-card-grid .content-card .post-entry {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: 340px !important;
    padding: 26px 28px 24px;
    overflow: hidden;
}

.content-card-grid .content-card .post-meta {
    width: 100%;
    min-height: 24px;
    margin: 0 0 12px;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-card-grid .content-card h5 {
    width: 100%;
    height: 4.35em !important;
    min-height: 4.35em !important;
    max-height: 4.35em !important;
    margin: 0 0 14px;
    line-height: 1.45;
    overflow: hidden;
}

.content-card-grid .content-card h5 a {
    display: -webkit-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.content-card-grid .content-card .post-entry > p {
    display: -webkit-box;
    width: 100%;
    height: 8.5em;
    min-height: 8.5em;
    max-height: 8.5em;
    margin: 0 0 18px;
    line-height: 1.7;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
}

.content-card-grid .content-card .btn-icon {
    margin-top: auto !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Sidebar titles can also be much longer in Russian/Chinese; never let them widen the sidebar. */
.content-archive-layout .sidebar-right,
.content-archive-layout .wgs-box,
.content-archive-layout .wgs-content,
.content-archive-layout .wgs-post-single {
    max-width: 100%;
}

.content-archive-layout .wgs-post-single {
    align-items: flex-start;
}

.content-archive-layout .wgs-post-thumb {
    flex: 0 0 60px;
    width: 60px;
}

.content-archive-layout .wgs-post-entry {
    flex: 1 1 auto;
    min-width: 0;
}

.content-archive-layout .wgs-post-title a {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

.content-list-page .pagination,
.articles-page .pagination {
    margin-top: 34px;
}

@media (max-width: 991px) {
    .content-card-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .content-card-grid-two,
    .content-card-grid-three {
        grid-template-columns: minmax(0, 1fr);
    }

    .content-card-grid {
        gap: 24px;
    }

    .content-card-grid .content-card .post-thumb {
        height: auto;
        min-height: 0;
        flex-basis: auto;
        aspect-ratio: 16 / 10;
    }

    .content-card-grid .content-card .post-entry {
        min-height: 0 !important;
        padding: 24px 22px;
    }

    .content-card-grid .content-card h5 {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .content-card-grid .content-card h5 a {
        display: block;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }

    .content-card-grid .content-card .post-entry > p {
        display: block;
        height: auto;
        min-height: 0;
        max-height: none;
        -webkit-line-clamp: unset;
        line-clamp: unset;
    }
}

@media (max-width: 420px) {
    .content-card-grid .content-card .post-entry {
        padding-right: 18px;
        padding-left: 18px;
    }
}

/* ========================================================================== */
/* 2026 footer refresh: aligned with Home hero/apps visual language           */
/* ========================================================================== */
.footer-refresh {
    margin-top: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(42, 118, 255, .16), transparent 28%),
        radial-gradient(circle at 88% 4%, rgba(255, 159, 26, .10), transparent 24%),
        linear-gradient(135deg, #061937 0%, #092654 54%, #0d336f 100%);
    border-top: 1px solid rgba(255,255,255,.05);
}

.footer-refresh .footerbg {
    opacity: .12;
    pointer-events: none;
}

.footer-shell {
    position: relative;
    z-index: 1;
}

.footer-top-row {
    display: flex;
    flex-wrap: wrap;
}

.footer-top-row > [class*="col-"] {
    display: flex;
}

.footer-brand-card,
.footer-link-card,
.footer-contact-card {
    position: relative;
    width: 100%;
    min-height: 100%;
    padding: 26px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.055);
    box-shadow: 0 20px 48px rgba(0,0,0,.16);
    backdrop-filter: blur(10px);
}

.footer-brand-card {
    padding: 30px 28px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    margin-bottom: 18px;
}

.footer-brand:hover,
.footer-brand:focus {
    color: #fff;
}

.footer-brand img {
    width: 180px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.footer-brand-text {
    color: rgba(255,255,255,.76);
    line-height: 1.82;
    margin-bottom: 22px;
}

.footer-brand-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.footer-btn {
    color: var(--pec-primary) !important;
    background: #fff !important;
    border-color: #fff !important;
}

.footer-btn:hover,
.footer-btn:focus {
    color: var(--pec-primary) !important;
    background: #f4f7fd !important;
    border-color: #f4f7fd !important;
}

.footer-btn-outline {
    color: #fff !important;
    background: transparent !important;
    border-color: rgba(255,255,255,.32) !important;
}

.footer-btn-outline:hover,
.footer-btn-outline:focus {
    color: #fff !important;
    background: rgba(255,255,255,.10) !important;
    border-color: rgba(255,255,255,.42) !important;
}

.footer-mini-title {
    display: inline-block;
    margin-bottom: 12px;
    color: #fff;
    font-size: .95em;
    font-weight: 700;
}

.footer-app-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-app-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 11px 13px;
    border-radius: 16px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.footer-app-chip:hover,
.footer-app-chip:focus {
    color: #fff;
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.24);
    transform: translateY(-1px);
}

.footer-app-chip em {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    font-size: 1.2em;
}

.footer-app-chip span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.footer-app-chip strong {
    color: #fff;
    line-height: 1.15;
}

.footer-app-chip small {
    margin-top: 3px;
    color: rgba(255,255,255,.62);
    line-height: 1.3;
    font-size: .74em;
}

.footer-refresh .wgs-title {
    margin-bottom: 16px;
    color: #fff;
    font-size: 1.04em;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
}

.footer-menu,
.footer-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li + li,
.footer-contact-list li + li {
    margin-top: 12px;
}

.footer-menu a {
    color: rgba(255,255,255,.78);
    line-height: 1.6;
}

.footer-menu a:hover,
.footer-menu a:focus {
    color: #fff;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list em {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.footer-contact-meta {
    min-width: 0;
}

.footer-contact-meta span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255,255,255,.58);
    font-size: .76em;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-contact-meta a {
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.footer-contact-meta a:hover,
.footer-contact-meta a:focus {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    padding: 18px 0 30px;
    background: #08172f;
}

.copyright .site-copy p {
    margin: 0;
    color: rgba(255,255,255,.7);
}

.copyright .social {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.copyright .social li {
    display: inline-flex;
}

.copyright .social li a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
}

.copyright .social li a:hover,
.copyright .social li a:focus {
    color: #fff;
    background: rgba(255,255,255,.14);
}

html[dir="rtl"] .footer-brand,
html[dir="rtl"] .footer-contact-list li,
html[dir="rtl"] .footer-app-chip {
    flex-direction: row-reverse;
}

html[dir="rtl"] .footer-contact-meta,
html[dir="rtl"] .footer-app-chip span {
    text-align: right;
}

@media (max-width: 991px) {
    .footer-top-row > [class*="col-"] {
        display: block;
    }

    .footer-brand-card,
    .footer-link-card,
    .footer-contact-card {
        min-height: 0;
    }

    .copyright .site-copy,
    .copyright .text-right {
        text-align: center;
    }

    .copyright .social {
        justify-content: center;
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .footer-refresh {
        padding-top: 50px;
    }

    .footer-brand-card,
    .footer-link-card,
    .footer-contact-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .footer-brand-card {
        padding: 24px 18px;
    }


    .footer-brand-actions,
    .footer-app-links {
        gap: 8px;
    }

    .footer-app-chip {
        width: 100%;
    }

    .copyright {
        padding-bottom: 24px;
    }
}

/* ========================================================================== */
/* 2026 footer layout correction: compact, balanced and multilingual-safe     */
/* ========================================================================== */
.footer-refresh .footer-modern-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.65fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 26px;
    background: rgba(255,255,255,.045);
    box-shadow: 0 24px 60px rgba(0,0,0,.17);
    backdrop-filter: blur(10px);
}

.footer-refresh .footer-brand-block {
    min-width: 0;
    padding: 32px 30px;
    border-right: 1px solid rgba(255,255,255,.09);
    background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}

.footer-refresh .footer-navigation-block {
    min-width: 0;
    padding: 32px 34px 28px;
}

.footer-refresh .footer-brand {
    margin-bottom: 16px;
}

.footer-refresh .footer-brand img {
    width: 165px;
    max-width: 100%;
}

.footer-refresh .footer-brand-text {
    display: -webkit-box;
    max-width: 390px;
    margin: 0 0 20px;
    overflow: hidden;
    color: rgba(255,255,255,.73);
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
}

.footer-refresh .footer-brand-actions {
    margin-bottom: 22px;
}

.footer-refresh .footer-mini-title {
    margin-bottom: 10px;
}

.footer-apps-compact {
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.footer-app-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-app-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 7px 11px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    color: #fff;
    background: rgba(255,255,255,.07);
    font-size: .78em;
    font-weight: 700;
    line-height: 1;
}

.footer-app-pill em {
    font-size: 1.16em;
}

.footer-app-pill:hover,
.footer-app-pill:focus {
    color: #fff;
    background: rgba(255,255,255,.13);
    border-color: rgba(255,255,255,.25);
    transform: translateY(-1px);
}

.footer-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.footer-link-group {
    min-width: 0;
}

.footer-refresh .footer-link-group .wgs-title {
    position: relative;
    margin: 0 0 16px;
    padding-bottom: 11px;
    color: #fff;
    font-size: 1em;
}

.footer-refresh .footer-link-group .wgs-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    border-radius: 999px;
    background: #ff9f1a;
}

.footer-refresh .footer-menu li + li {
    margin-top: 9px;
}

.footer-refresh .footer-menu a {
    display: inline-block;
    max-width: 100%;
    color: rgba(255,255,255,.72);
    font-size: .88em;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.footer-refresh .footer-menu a:hover,
.footer-refresh .footer-menu a:focus {
    color: #fff;
    transform: translateX(2px);
}

.footer-contact-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.09);
}

.footer-contact-item {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border-radius: 14px;
    background: rgba(255,255,255,.045);
}

.footer-contact-item > em {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    color: #fff;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.10);
}

.footer-contact-item .footer-contact-meta {
    min-width: 0;
}

.footer-contact-item .footer-contact-meta span {
    margin-bottom: 2px;
    font-size: .68em;
}

.footer-contact-item .footer-contact-meta a {
    display: block;
    max-width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: .82em;
    font-weight: 600;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html[dir="rtl"] .footer-refresh .footer-brand-block {
    border-right: 0;
    border-left: 1px solid rgba(255,255,255,.09);
}

html[dir="rtl"] .footer-refresh .footer-link-group .wgs-title::after {
    left: auto;
    right: 0;
}

html[dir="rtl"] .footer-refresh .footer-menu a:hover,
html[dir="rtl"] .footer-refresh .footer-menu a:focus {
    transform: translateX(-2px);
}

@media (max-width: 991px) {
    .footer-refresh .footer-modern-shell {
        grid-template-columns: 1fr;
    }

    .footer-refresh .footer-brand-block,
    html[dir="rtl"] .footer-refresh .footer-brand-block {
        border-right: 0;
        border-left: 0;
        border-bottom: 1px solid rgba(255,255,255,.09);
    }

    .footer-refresh .footer-brand-text {
        max-width: 680px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

@media (max-width: 767px) {
    .footer-refresh .footer-modern-shell {
        border-radius: 20px;
    }

    .footer-refresh .footer-brand-block,
    .footer-refresh .footer-navigation-block {
        padding: 24px 20px;
    }

    .footer-link-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-contact-bar {
        grid-template-columns: 1fr;
    }

    .footer-app-pill {
        flex: 1 1 calc(33.333% - 8px);
        justify-content: center;
        min-width: 88px;
    }
}

/* Footer section spacing after the layout correction. */
.footer-refresh {
    padding-top: 52px;
    padding-bottom: 46px;
}

@media (max-width: 767px) {
    .footer-refresh {
        padding-top: 42px;
        padding-bottom: 38px;
    }
}
