.page-wrap {
max-width: 1140px;
margin: 0 auto;
padding: 24px 16px 48px;
}

.breadcrumb {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
font-size: 13px;
color: var(--c-text-muted);
margin-bottom: 20px;
}

.breadcrumb a {
color: var(--c-text-muted);
text-decoration: none;
font-weight: 500;
transition: color var(--trans-fast);
}

.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb-sep { opacity: .5; }
.breadcrumb span { color: var(--c-text-body); font-weight: 600; }

/* Breadcrumbs component styles */
.breadcrumbs {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
font-size: 13px;
color: var(--c-text-muted);
margin-bottom: 20px;
}

.breadcrumbs a {
color: var(--c-primary);
text-decoration: none;
font-weight: 500;
transition: color var(--trans-fast);
}

.breadcrumbs a:hover { color: var(--c-primary-hover); }
.breadcrumbs .breadcrumb-text { color: var(--c-text-body); font-weight: 600; }
.breadcrumbs .delimiter { color: var(--c-text-pale); font-size: 10px; }

.hero {
background: var(--c-bg-card);
border: 1.5px solid var(--c-border);
border-radius: var(--r-xl);
padding: 28px 28px 24px;
margin-bottom: 20px;
box-shadow: var(--shadow-sm);
}

.hero-top {
display: flex;
align-items: flex-start;
gap: 16px;
margin-bottom: 20px;
}

.hero-flag { font-size: 48px; line-height: 1; flex-shrink: 0; }
.hero-meta { flex: 1; }

.hero-name {
font-size: 26px;
font-weight: 800;
color: var(--c-text-main);
line-height: 1.2;
margin-bottom: 4px;
}

.hero-sub { font-size: 14px; color: var(--c-text-muted); font-weight: 500; }

.hero-badges {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-top: 10px;
}

.badge {
display: inline-flex;
align-items: center;
gap: 4px;
border-radius: var(--r-pill);
padding: 4px 12px;
font-size: 12px;
font-weight: 600;
}

.badge-green { background: var(--c-primary-light); color: var(--c-primary); }
.badge-gray { background: #f0f3f0; color: var(--c-text-body); }

.hero-rates {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 12px;
}

.rate-cell {
background: var(--c-bg-page);
border-radius: var(--r-md);
padding: 14px 16px;
border: 1px solid var(--c-border-soft);
}

.rate-cell-label {
font-size: 12px;
font-weight: 600;
color: var(--c-text-muted);
text-transform: uppercase;
letter-spacing: .05em;
margin-bottom: 6px;
}

.rate-cell-value {
font-size: 22px;
font-weight: 800;
color: var(--c-text-main);
line-height: 1;
margin-bottom: 4px;
}

.rate-cell-unit { font-size: 12px; color: var(--c-text-muted); font-weight: 500; }
.change-up { color: var(--c-success); }
.change-down { color: var(--c-error); }
.change-flat { color: var(--c-text-muted); }
.change-label { font-size: 12px; font-weight: 700; margin-top: 2px; }

.two-col {
display: grid;
grid-template-columns: 1fr 340px;
gap: 20px;
align-items: start;
margin-bottom: 20px;
}

.card {
background: var(--c-bg-card);
border: 1.5px solid var(--c-border);
border-radius: var(--r-xl);
padding: 24px;
box-shadow: var(--shadow-sm);
}

.card-title {
font-size: 16px;
font-weight: 700;
color: var(--c-text-main);
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 8px;
}

.card-title svg { color: var(--c-primary); flex-shrink: 0; }

.chart-tabs {
display: flex;
gap: 4px;
margin-bottom: 16px;
background: var(--c-bg-page);
border-radius: var(--r-sm);
padding: 3px;
width: fit-content;
}

.chart-tab {
padding: 5px 14px;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
color: var(--c-text-muted);
cursor: pointer;
transition: all var(--trans-fast);
border: none;
background: transparent;
font-family: var(--font);
}

.chart-tab.active {
background: var(--c-bg-card);
color: var(--c-primary);
box-shadow: var(--shadow-sm);
}

.chart-wrap { position: relative; height: 180px; }
canvas#rateChart { width: 100% !important; height: 100% !important; }

.calc-row {
display: grid;
grid-template-columns: 1fr auto 1fr;
gap: 12px;
align-items: end;
}

.calc-field label {
display: block;
font-size: 12px;
font-weight: 600;
color: var(--c-text-muted);
text-transform: uppercase;
letter-spacing: .05em;
margin-bottom: 6px;
}

.calc-input-wrap { position: relative; }

.calc-input-wrap .curr-tag {
position: absolute;
right: 12px;
top: 50%;
transform: translateY(-50%);
font-size: 13px;
font-weight: 700;
color: var(--c-text-muted);
pointer-events: none;
}

.calc-input {
width: 100%;
padding: 11px 48px 11px 14px;
border: 1.5px solid var(--c-border);
border-radius: var(--r-md);
font-family: var(--font);
font-size: 18px;
font-weight: 700;
color: var(--c-text-main);
background: var(--c-bg-card);
outline: none;
transition: border-color var(--trans-fast);
}

.calc-input:focus { border-color: var(--c-primary); }

.calc-arrow {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 44px;
color: var(--c-text-muted);
flex-shrink: 0;
}

.calc-hint { font-size: 12px; color: var(--c-text-muted); margin-top: 10px; text-align: center; }

.rate-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.rate-table th {
text-align: left;
font-size: 12px;
font-weight: 600;
color: var(--c-text-muted);
text-transform: uppercase;
letter-spacing: .05em;
padding: 0 0 10px;
border-bottom: 1px solid var(--c-border);
}

.rate-table th:last-child,
.rate-table td:last-child { text-align: right; }

.rate-table td {
padding: 11px 0;
border-bottom: 1px solid var(--c-border-soft);
font-weight: 500;
color: var(--c-text-body);
}

.rate-table tr:last-child td { border-bottom: none; }
.td-val { font-weight: 700; color: var(--c-text-main); }
.td-green { color: var(--c-success); font-weight: 700; }
.td-red { color: var(--c-error); font-weight: 700; }

.info-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
gap: 12px;
margin-bottom: 20px;
}

.info-item {
background: var(--c-bg-card);
border: 1.5px solid var(--c-border);
border-radius: var(--r-lg);
padding: 18px 20px;
box-shadow: var(--shadow-sm);
}

.info-item-icon {
width: 36px; height: 36px;
border-radius: var(--r-md);
background: var(--c-primary-light);
display: flex; align-items: center; justify-content: center;
margin-bottom: 12px;
color: var(--c-primary);
}

.info-item-label { font-size: 12px; font-weight: 600; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.info-item-val { font-size: 16px; font-weight: 700; color: var(--c-text-main); line-height: 1.3; }
.info-item-sub { font-size: 12px; color: var(--c-text-muted); margin-top: 2px; }

.seo-section {
background: var(--c-bg-card);
border: 1.5px solid var(--c-border);
border-radius: var(--r-xl);
padding: 28px;
margin-bottom: 20px;
box-shadow: var(--shadow-sm);
}

.seo-section h2 { font-size: 20px; font-weight: 800; color: var(--c-text-main); margin-bottom: 14px; line-height: 1.3; }
.seo-section h3 { font-size: 16px; font-weight: 700; color: var(--c-text-main); margin: 20px 0 8px; }
.seo-section p { font-size: 15px; line-height: 1.75; color: var(--c-text-body); margin-bottom: 10px; }
.seo-section a { color: var(--c-primary); font-weight: 600; text-decoration: none; }
.seo-section a:hover { text-decoration: underline; }
.seo-section ul { padding-left: 20px; margin-bottom: 10px; }
.seo-section ul li { font-size: 15px; line-height: 1.75; color: var(--c-text-body); margin-bottom: 4px; }

@media (max-width: 780px) {
.two-col { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
.page-wrap { padding: 16px 12px 40px; }
.hero { padding: 20px 16px; }
.hero-name { font-size: 20px; }
.hero-flag { font-size: 36px; }
.hero-rates { grid-template-columns: 1fr 1fr; }
.rate-cell-value { font-size: 18px; }
.calc-row { grid-template-columns: 1fr; }
.calc-arrow { height: 16px; transform: rotate(90deg); }
.seo-section { padding: 20px 16px; }
.card { padding: 18px 16px; }
.info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
.hero-rates { grid-template-columns: 1fr 1fr; gap: 8px; }
.info-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
}

.related-section { 
margin-bottom: 20px; 
}

.related-title { 
font-size: 16px; 
font-weight: 700; 
color: var(--c-text-main); 
margin-bottom: 12px; 
}

.related-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 8px;
}

.related-card {
background: var(--c-bg-card);
border: 1.5px solid var(--c-border);
border-radius: var(--r-lg);
padding: 14px;
text-decoration: none;
display: flex;
align-items: center;
gap: 10px;
transition: border-color var(--trans-fast), background var(--trans-fast), transform var(--trans-fast);
}

.related-card:hover { 
border-color: var(--c-primary-border); 
background: var(--c-bg-hover); 
transform: translateY(-1px); 
}

.related-flag { 
font-size: 22px; 
line-height: 1; 
}

.related-code { 
font-size: 13px; 
font-weight: 800; 
color: var(--c-text-main); 
}

.related-name { 
font-size: 11px; 
color: var(--c-text-muted); 
font-weight: 500; 
}

@media (max-width: 420px) {
.related-grid { 
grid-template-columns: repeat(2, 1fr); 
}
}
