.section-masthead {
    background: linear-gradient(150deg, #173ac1 0%, #1f48dd 78%, #0079d3 100%);
    border-radius: 0 0 26px 26px;
    color: white;
    font-family: 'Vazirmatn', 'IRANSansWebFaNum', sans-serif;
}
.section-masthead__inner { max-width: 1180px; margin: auto; padding: 12px 20px 28px; }
.section-masthead__bar, .section-masthead__controls, .section-masthead__controls nav {
    display: flex; align-items: center; gap: 6px;
}
.section-masthead__bar { justify-content: space-between; gap: 12px; }
.section-masthead__brand { display: grid; align-items: center; min-height: 44px; }
.section-masthead__brand img { width: auto; height: 32px; }
.section-masthead__controls :is(a, button), .section-masthead__links a {
    display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
    border-radius: 11px; color: white; font-size: .875rem; font-weight: 700; text-decoration: none;
}
.section-masthead__controls nav a { padding-inline: 10px; }
.section-masthead__controls button, .section-masthead__account, .section-masthead__links a {
    border: 1px solid rgb(255 255 255 / 35%); background: rgb(255 255 255 / 12%);
}
.section-masthead__controls button { width: 44px; cursor: pointer; }
.section-masthead__controls button svg, .section-masthead__links svg { width: 20px; height: 20px; }
.section-masthead__account { padding-inline: 14px; }
.section-masthead__controls :is(a,button):hover, .section-masthead__links a:hover,
.section-masthead__controls [aria-current] { background: rgb(255 255 255 / 21%); }
.section-masthead :focus-visible { outline: 3px solid white; outline-offset: 2px; }
.section-masthead__body {
    display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 24px;
    align-content: center; min-height: 160px; margin-top: 12px;
}
.section-masthead__body h1 { margin: 0; color: white; font-size: clamp(1.375rem, 2.7vw, 2rem); font-weight: 900; line-height: 1.5; align-self: end; }
.section-masthead__lead { max-width: 70ch; margin: 0; color: #edf4ff; font-size: 1rem; line-height: 1.85; }
.section-masthead__art { grid-area: 1 / 2 / span 3; width: clamp(100px,13vw,154px); height: auto; aspect-ratio: 1; object-fit: contain; align-self: center; }
.section-masthead__actions { min-width: 0; margin-top: 9px; grid-column: 1; }
.section-masthead__metrics, .section-masthead__links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.section-masthead__metrics { font-size: .8125rem; margin-top: 10px; }
.section-masthead__metrics span { white-space: nowrap; }
.section-masthead__links { gap: 8px; }
.section-masthead__links a { padding: 4px 12px; gap: 5px; }
.section-masthead__links a:first-child { color: #173ac1; background: white; }
.section-masthead .section-masthead__search {
    display: flex; align-items: center; flex-wrap: nowrap; gap: 5px; max-width: 42rem;
    background: white; border: 1px solid white; padding: 4px 10px 4px 4px; border-radius: 15px;
}
.section-masthead__search:focus-within { outline: 3px solid #a9cdff; outline-offset: 2px; }
.section-masthead .section-masthead__search > svg { display: block; width: 19px; height: 19px; flex: none; color: #3051ae; }
.section-masthead .section-masthead__search input {
    flex: 1 1 0; width: 0; min-width: 0; height: 44px; border: 0; outline: 0;
    background: white; padding: 0 4px; color: #182947; font-size: 1rem; box-shadow: none;
}
.section-masthead .section-masthead__search button {
    flex: none; min-height: 44px; border: 0; border-radius: 11px; background: #173ac1; color: white; padding-inline: 16px; font-weight: 700;
}
.section-masthead .section-masthead__search button:focus-visible { outline-color: #173ac1; }
.section-masthead .svcx-searchbox { max-width: 42rem; }
.section-masthead .svcx-dd { color: #182947; }
.eco .eco-body--index { margin-top: 0; padding-top: 20px; }
.section-masthead__search + .section-masthead__links { margin-top: 12px; }
.section-masthead + .magazine .magazine-layout { margin-block-start: 0; }
@media (max-width: 767px) {
    .section-masthead__controls nav { display: none; }
    .section-masthead__inner { padding: 8px 16px 22px; }
    .section-masthead__brand img { height: clamp(21px,6.3vw,30px); }
    .section-masthead__account { padding-inline: 9px; }
    .section-masthead__bar, .section-masthead__controls { gap: 5px; }
    .section-masthead__body { min-height: 0; margin-top: 16px; gap: 6px 10px; }
    .section-masthead__art { grid-area: 1 / 2; width: 52px; }
    .section-masthead__body h1 { align-self: center; }
    .section-masthead__lead, .section-masthead__actions { grid-column: 1 / -1; }
    .section-masthead__lead { font-size: .9rem; }
    .section-masthead__metrics { column-gap: 10px; }
}
