    .converter-page {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        color: #333;
        box-sizing: border-box;
    }

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

    .converter-page h1 {
        font-size: 30px;
        line-height: 1.3;
        font-weight: 700;
        margin: 0 0 22px;
        color: #222;
    }

    .converter-page h2 {
        font-size: 24px;
        line-height: 1.35;
        margin: 0 0 18px;
        color: #222;
    }

    .converter-page h3 {
        font-size: 20px;
        line-height: 1.4;
        margin: 26px 0 14px;
        color: #333;
    }

    .converter-page p {
        line-height: 1.65;
    }

    .conversion-details-card {
        background: #fff;
        border: 1px solid #e3e7eb;
        border-radius: 14px;
        padding: 28px;
        margin-bottom: 20px;
        box-shadow: 0 3px 14px rgba(0,0,0,.045);
    }

    .conversion-details-card p {
        margin: 0 0 15px;
        font-size: 17px;
        color: #555;
    }

    .conversion-details-card p:last-child {
        margin-bottom: 0;
    }

    .converter-warning {
        background: #fff8e6;
        border: 1px solid #f0d58a;
        border-radius: 12px;
        padding: 18px 20px;
        margin-bottom: 22px;
        color: #68551e;
        line-height: 1.6;
    }

    .converter-main-grid {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(300px, 336px);
        gap: 22px;
        margin-bottom: 25px;
    }

    .result-card {
        background: #fff;
        border: 1px solid #dfe4e8;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 18px rgba(0,0,0,.06);
    }

    .result-card-header {
        background: #f5f7f9;
        border-bottom: 1px solid #e1e5e8;
        padding: 16px 20px;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
    }

    .result-card-body {
        padding: 28px 20px;
        text-align: center;
    }

    .result-main-number {
        font-size: 42px;
        line-height: 1.15;
        font-weight: 800;
        color: #e05263;
        word-break: break-word;
    }

    .result-main-currency {
        font-size: 20px;
        color: #555;
        margin-top: 8px;
        font-weight: 600;
    }

    .result-arrow {
        font-size: 27px;
        color: #bbb;
        margin: 18px 0;
    }

    .result-receive-label {
        font-size: 14px;
        color: #777;
        margin-bottom: 5px;
    }

    .result-receive-number {
        font-size: 25px;
        line-height: 1.35;
        color: #357abd;
        font-weight: 700;
    }

    .result-rate {
        border-top: 1px dashed #ddd;
        margin-top: 20px;
        padding-top: 14px;
        color: #777;
        font-size: 14px;
    }

    .result-rate strong {
        color: #333;
    }

    .course-updated {
        margin-top: 12px;
        font-size: 13px;
        color: #777;
    }

    .course-updated strong {
        color: #555;
    }

    .course-time-local {
        white-space: nowrap;
    }

    .converter-ad {
        min-width: 0;
        overflow: hidden;
    }

    .comparison-section {
        background: #fff;
        border: 1px solid #e0e4e8;
        border-radius: 16px;
        padding: 26px;
        margin: 25px 0;
        box-shadow: 0 3px 15px rgba(0,0,0,.04);
    }

    .comparison-intro {
        color: #666;
        margin-top: -5px;
        margin-bottom: 20px;
    }

    .comparison-table-wrap {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        width: 100%;
        min-width: 650px;
        border-collapse: separate;
        border-spacing: 0;
    }

    .comparison-table th {
        background: #f5f7f9;
        color: #555;
        font-size: 14px;
        font-weight: 700;
        text-align: left;
        padding: 14px 15px;
        border-bottom: 1px solid #ddd;
    }

    .comparison-table td {
        padding: 16px 15px;
        border-bottom: 1px solid #edf0f2;
        vertical-align: middle;
    }

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

    .comparison-table .official-row td {
        background: transparent;
    }

    .bank-name {
        font-weight: 700;
        color: #333;
    }

    .bank-badge {
        display: inline-block;
        margin-left: 7px;
        padding: 3px 8px;
        border-radius: 20px;
        font-size: 11px;
        line-height: 1.2;
        font-weight: 600;
        background: #eef1f4;
        color: #666;
    }

    .bank-badge.selected {
        background: #e8f2ff;
        color: #3276b1;
    }

    .bank-badge.official {
        background: transparent;
        border: 1px solid #ddd;
        color: #777;
    }

    .best-row td {
        background: #f0faf4;
    }

    .worst-row td {
        background: #fff6f6;
    }

    .amount-cell {
        font-size: 18px;
        font-weight: 700;
        white-space: nowrap;
    }

    .rate-cell {
        color: #555;
        white-space: nowrap;
    }

    .result-description {
        color: #777;
        font-size: 13px;
    }

    .best-commercial-card {
        margin-top: 22px;
        padding: 24px;
        border: 1px solid #d8eadf;
        border-radius: 14px;
        background: #f7fcf9;
    }

    .best-commercial-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .best-commercial-item {
        background: #fff;
        border: 1px solid #e2ebe5;
        border-radius: 12px;
        padding: 18px;
    }

    .best-commercial-label {
        font-size: 13px;
        color: #777;
        margin-bottom: 7px;
    }

    .best-commercial-value {
        font-size: 24px;
        font-weight: 800;
        color: #333;
    }

    .amounts-section {
        margin: 28px 0;
    }

    .amount-cards {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 14px;
        width: 100%;
    }

    .amount-card {
        display: block;
        width: 100%;
        min-width: 0;
        min-height: 155px;
        padding: 20px 14px;
        background: #fff;
        border: 1px solid #e0e4e8;
        border-radius: 14px;
        text-align: center;
        text-decoration: none !important;
        color: inherit !important;
        box-shadow: 0 2px 9px rgba(0,0,0,.035);
        transition:
            background .2s ease,
            border-color .2s ease,
            transform .2s ease,
            box-shadow .2s ease;
    }

    .amount-card:hover {
        background: #f8fbfe;
        border-color: #b8d2e8;
        transform: translateY(-2px);
        box-shadow: 0 6px 17px rgba(0,0,0,.08);
    }

    .amount-card-receive {
        font-size: 14px;
        line-height: 1.45;
        color: #777;
        margin-bottom: 18px;
    }

    .amount-card-receive strong {
        display: block;
        margin-top: 5px;
        font-size: 18px;
        line-height: 1.3;
        color: #333;
    }

    .amount-card-give-label {
        font-size: 14px;
        line-height: 1.4;
        color: #777;
        margin-bottom: 5px;
    }

    .amount-card-give {
        font-size: 20px;
        line-height: 1.3;
        font-weight: 700;
        color: #3276b1;
        word-break: break-word;
    }

    .reverse-calculation {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr)
            minmax(280px, 360px);
        gap: 28px;
        align-items: stretch;
        background:
            linear-gradient(
                135deg,
                #f6f9fc,
                #ffffff
            );
        border: 1px solid #dfe6ed;
        border-radius: 15px;
        padding: 26px;
        margin: 28px 0;
        box-shadow: 0 3px 12px rgba(0,0,0,.035);
    }

    .reverse-main {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-width: 0;
    }

    .reverse-title {
        font-size: 20px;
        line-height: 1.35;
        font-weight: 700;
        margin-bottom: 14px;
        color: #222;
    }

    .reverse-value {
        font-size: 27px;
        line-height: 1.35;
        font-weight: 800;
        color: #3276b1;
        word-break: break-word;
    }

    .reverse-description {
        margin-top: 12px;
        color: #777;
        font-size: 15px;
        line-height: 1.6;
    }

    .reverse-info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        min-width: 0;
        padding-left: 26px;
        border-left: 1px solid #e1e6eb;
    }

    .reverse-info-title {
        font-size: 15px;
        font-weight: 700;
        color: #444;
        margin-bottom: 3px;
    }

    .reverse-info-row {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 15px;
        padding: 9px 0;
        border-bottom: 1px solid #edf0f3;
    }

    .reverse-info-row:last-child {
        border-bottom: 0;
    }

    .reverse-info-label {
        color: #777;
        font-size: 14px;
        line-height: 1.4;
    }

    .reverse-info-value {
        color: #333;
        font-size: 15px;
        font-weight: 700;
        text-align: right;
        white-space: nowrap;
    }

    .other-conversions {
        margin: 30px 0;
        padding: 28px;
        background: #fff;
        border: 1px solid #e0e4e8;
        border-radius: 16px;
        box-shadow: 0 3px 15px rgba(0,0,0,.04);
    }

    .other-conversions-intro {
        color: #666;
        margin-bottom: 20px;
    }

    .other-conversions-grid {
        display: grid;
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .other-conversion-link {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 68px;
        padding: 15px 18px;
        background: #f7f9fb;
        border: 1px solid #dfe5ea;
        border-radius: 12px;
        color: #2869a5 !important;
        text-decoration: none !important;
        font-size: 17px;
        font-weight: 700;
        transition:
            background .2s ease,
            border-color .2s ease,
            transform .2s ease;
    }

    .other-conversion-link:hover {
        background: #edf5fc;
        border-color: #b8d2e8;
        transform: translateY(-2px);
    }

    .other-conversion-arrow {
        margin: 0 9px;
        color: #999;
    }

    .faq-section {
        margin: 30px 0 40px;
        padding: 28px;
        background: #fff;
        border: 1px solid #e0e4e8;
        border-radius: 16px;
        box-shadow: 0 3px 15px rgba(0,0,0,.04);
    }

    .faq-intro {
        color: #666;
        line-height: 1.6;
        margin-top: -5px;
        margin-bottom: 20px;
    }

    .faq-list {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .faq-item {
        border: 1px solid #e1e5e9;
        border-radius: 10px;
        background: #fafbfc;
        overflow: hidden;
    }

    .faq-question {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 17px 20px;
        cursor: pointer;
        font-size: 17px;
        line-height: 1.45;
        font-weight: 700;
        color: #333;
        list-style: none;
    }

    .faq-question::-webkit-details-marker {
        display: none;
    }

    .faq-question::after {
        content: '+';
        flex: 0 0 auto;
        font-size: 24px;
        line-height: 1;
        color: #3276b1;
        font-weight: 400;
    }

    .faq-item[open] .faq-question::after {
        content: '−';
    }

    .faq-answer {
        padding: 0 20px 18px;
        color: #666;
        font-size: 16px;
        line-height: 1.65;
    }

    .faq-answer p {
        margin: 0;
    }

    .history-section {
        margin: 30px 0;
        padding: 28px;
        background: #fff;
        border: 1px solid #e0e4e8;
        border-radius: 16px;
        box-shadow: 0 3px 15px rgba(0,0,0,.04);
    }

    .history-description {
        color: #666;
        margin-top: -5px;
        margin-bottom: 18px;
        line-height: 1.6;
    }

    .history-chart {
        width: 100%;
        height: 430px;
        min-width: 0;
    }

    .history-empty {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 180px;
        padding: 30px;
        color: #777;
        text-align: center;
        background: #fafbfc;
        border: 1px dashed #dfe4e8;
        border-radius: 12px;
    }

    @media (max-width: 1050px) {

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

    @media (max-width: 900px) {

        .converter-main-grid {
            grid-template-columns: 1fr;
        }

        .best-commercial-grid {
            grid-template-columns: 1fr;
        }

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

        .reverse-calculation {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .reverse-info {
            padding-left: 0;
            padding-top: 18px;
            border-left: 0;
            border-top: 1px solid #e1e6eb;
        }
    }

    @media (max-width: 600px) {

        .converter-page h1 {
            font-size: 24px;
        }

        .converter-page h2 {
            font-size: 21px;
        }

        .conversion-details-card,
        .comparison-section,
        .history-section,
        .other-conversions,
        .faq-section {
            padding: 18px;
            border-radius: 12px;
        }

        .result-main-number {
            font-size: 34px;
        }

        .result-receive-number {
            font-size: 22px;
        }

        .amount-cards {
            grid-template-columns:
                repeat(2, minmax(0, 1fr));
            gap: 10px;
        }

        .amount-card {
            min-height: 145px;
            padding: 17px 10px;
        }

        .amount-card-give {
            font-size: 18px;
        }

        .history-section {
            padding: 18px;
            border-radius: 12px;
        }

        .history-chart {
            height: 340px;
        }

        .reverse-calculation {
            padding: 20px;
        }

        .reverse-value {
            font-size: 23px;
        }

        .reverse-info-row {
            gap: 10px;
        }

        .reverse-info-value {
            white-space: normal;
        }

        .other-conversions-grid {
            grid-template-columns: 1fr;
        }

        .faq-question {
            padding: 15px;
            font-size: 16px;
        }

        .faq-answer {
            padding: 0 15px 16px;
            font-size: 15px;
        }
    }











/* Кнопка переключения языка */
.mod-languages__select .dropdown-toggle.btn-secondary {
    background-color: transparent !important;
    border-color: transparent !important;
    color: #ffffff !important; /* Белый цвет текста */
    box-shadow: none !important;
}

.mod-languages__select .dropdown-toggle.btn-secondary:hover,
.mod-languages__select .dropdown-toggle.btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.15) !important; /* Полупрозрачный белый фон при наведении */
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Центрирование блока с классом aligncenter */
figure.aligncenter {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* Выравнивание картинки внутри страницы материала */
.item-page .item-image.left {
    float: left;
    margin-right: 20px;
    margin-bottom: 10px;
    max-width: 40%; /* Чтобы картинка не занимала всю ширину */
}

/* Очистка обтекания, чтобы следующий блок не «залезал» под картинку */
.com-content-article__body::after {
    content: "";
    display: table;
    clear: both;
}

/* Таблица курсов валют */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-responsive table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
}

.table-responsive th,
.table-responsive td {
    padding: 6px 8px;
    vertical-align: middle;
    border: 1px solid #ffffff;
}

/* grid */
.row {
  display: flex;
  flex-flow: row wrap;
  margin: 0 -10px;
  margin-bottom: 10px;
}
.row:last-child {
  margin-bottom: 0;
}

.box-caption {
	font-weight: bold;
	text-transform: uppercase;
}

.box-form {
	width: 50%;
	float: left;
}

.box-line:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ddd;
    border-radius: 2px;
}

.b-calc label {
    font-weight: normal;
    font-size: 12px;
    margin: 0;
}

.b-calc input, .b-calc select {
    font-weight: bold;
	width: calc(100% - 4px);
    padding: 0;
    height: 30px;
    border: 0 none;
    border-bottom: 1px solid #ddd;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: transparent;
}

.table-tr-bs {
    font-size: 14px;
	padding: 0;
    border-color: white;
}

.table-td-sell {
	padding: 0;
	background: #F5F5F5;
	text-align: center;
    border-color: white;
}

.table-td-buy {
	padding: 0;
	background: #F5F5F5;
	text-align: center;
    border-color: white;
}

.table-val {
	padding: 0;
	background: #F5F5F5;
	text-align: center;
    border-color: white;
}

.table-cur {
	text-align: center;
    background: #FDFDFD;
	font-size: 17px;
    font-weight: bold;
   	color: rgba(0, 0, 0, 0.7);
    border-color: white;
	border-bottom: 1px dotted #ddd;
}

.table-cur-buy {
	text-align: center;
    background: #FAFFEE;
	font-size: 17px;
    font-weight: bold;
   	color: rgba(0, 0, 0, 0.7);
    border-color: white;
	border-bottom: 1px dotted #ddd;
}

.table-cur-sell {
	text-align: center;
    background: #FFEEEE;
	font-size: 17px;
    font-weight: bold;
   	color: rgba(0, 0, 0, 0.7);
    border-color: white;
	border-bottom: 1px dotted #ddd;
}

.table-org {
	font-size: 15px;
    border-color: white;
	background: #FDFDFD;
	font-weight: 600;
    text-transform: uppercase;
	border-bottom: 1px dotted #ddd;
}

/* Пенсия */
    .pension-rate-wrapper {
			margin: 1em 0;
      font-family: Arial, sans-serif !important;
      padding: 40px 0 !important;
      background-color: #f9f9f9 !important;
      text-align: center !important;
    }
		.pension-rate-medium-text {
      font-size: clamp(24px, 5vw, 30px) !important;
      font-weight: 700 !important;
      margin-bottom: 10px !important;
      color: #2c3e50 !important;
      line-height: 1.2 !important;
    }
    .pension-rate-big-text {
      font-size: clamp(30px, 5vw, 48px) !important;
      font-weight: 700 !important;
      margin-bottom: 10px !important;
      color: #2c3e50 !important;
      line-height: 1.2 !important;
    }
    .pension-rate-rate {
      font-size: clamp(60px, 5vw, 135px);
      font-weight: 600;
      color: #27ae60;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
    }
.pension-rate-flag {
      width: clamp(48px, 5vw, 105px);
      height: auto;