/* Авторские истории «Вместе с рыбой»: текст, архив, голос владельца. */
.editorial-page { background: var(--cream, #f8f7f2); overflow-x: clip; overflow-y: visible; }
.ea-hero { padding: 3.5rem max(5vw, calc((100vw - 1180px)/2)); background: var(--ocean, #1d4a5a); color: #fff; }
.ea-kicker { display: block; color: #e8bd58; letter-spacing: .13em; font-size: .73rem; text-transform: uppercase; margin-bottom: 1rem; }
.ea-hero h1 { max-width: 990px; margin: 0 0 1.25rem; font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2rem, 4.6vw, 3.7rem); line-height: 1.13; font-weight: 600; text-wrap: balance; }
.ea-hero p { max-width: 760px; line-height: 1.7; font-size: 1.05rem; color: #e3eced; }
.ea-byline { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; font-size: .79rem; color: #d6e4e7; margin-top: 1.5rem; }
.ea-cover { margin: 0 auto; max-width: 1180px; background: #e6e2d6; }
.ea-cover img { display: block; width: 100%; height: auto; object-fit: contain; }
.ea-cover figcaption { padding: 1rem 1.4rem; font-size: .76rem; line-height: 1.7; color: #4b595b; background: #f0eee5; }
.ea-cover figcaption a { color: #19566a; text-decoration: underline; text-underline-offset: 3px; }
.ea-layout { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 230px minmax(0, 740px); gap: 5rem; padding: 3rem 2rem 4rem; }
.ea-toc { align-self: start; position: sticky; top: 125px; border-top: 3px solid #dca84c; padding-top: 1rem; }
.ea-toc strong { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.ea-toc ol { list-style: none; padding: 0; margin: 1rem 0; }
.ea-toc li { margin: .65rem 0; }
.ea-toc a { font-size: .81rem; line-height: 1.5; color: #386171; display: block; }
.ea-toc a:hover { text-decoration: underline; }
.ea-copy { min-width: 0; color: #233d44; }
.ea-copy p { font-size: 1rem; line-height: 1.95; margin: 0 0 1.25rem; }
.ea-copy h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.25; margin: 3rem 0 1.3rem; color: #1d4a5a; scroll-margin-top: 140px; text-wrap: balance; }
.ea-copy h2:first-child { margin-top: 0; }
.ea-dialogue { padding-left: 1.3rem; border-left: 2px solid #d8b95f; color: #215564; }
.ea-copy .ea-pull { font-family: 'Playfair Display', Georgia, serif; font-size: 1.45rem; line-height: 1.6; border-top: 1px solid #b9cfcd; border-bottom: 1px solid #b9cfcd; padding: 1.4rem 0; margin: 2rem 0; }
.ea-timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.6rem 0; margin: 1.8rem 0; border-top: 1px solid #bfd0cb; border-bottom: 1px solid #bfd0cb; }
.ea-timeline strong { display: block; color: #1d4a5a; font-size: 1.4rem; font-family: 'Playfair Display', Georgia, serif; }
.ea-timeline span { display: block; margin-top: .5rem; font-size: .8rem; line-height: 1.7; }
.ea-sources { padding-top: 1rem; margin-top: 2.5rem; border-top: 1px solid #c8d6cf; }
.ea-sources summary { cursor: pointer; font-size: .9rem; padding: .7rem 0; color: #1d4a5a; }
.ea-sources ol { padding-left: 1.2rem; }
.ea-sources li { font-size: .82rem; line-height: 1.7; margin: .65rem 0; }
.ea-sources a { color: #19566a; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ea-choose { margin-top: 2.5rem; padding: 1.8rem; background: #e9efea; border-radius: 12px; }
.ea-choose h2 { margin-top: 0; font-size: 1.6rem; }
.ea-choose-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1.2rem; }
.ea-choose-links a { display: block; border-bottom: 1px solid #bed1c7; padding: .65rem 0; color: #215564; font-size: .87rem; }
.ea-choose .btn { min-height: 44px; }
.ea-related { margin-top: 2rem; font-size: .85rem; line-height: 1.7; }
.ea-related a { color: #19566a; text-decoration: underline; }
.ea-inline-offer { padding: 1.2rem 1.3rem; margin: 2rem 0; border-left: 3px solid #c79a39; background: #edf2ed; font-size: .93rem; line-height: 1.85; }
.ea-inline-offer a { color: #19566a; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.ea-product-offer { padding: 1.5rem; margin: 2.4rem 0; background: #e8efec; border: 1px solid #ccdad4; border-radius: 12px; }
.ea-product-offer h2 { font-size: 1.65rem; margin: 0 0 1rem; }
.ea-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.ea-product-card { min-width: 0; border-radius: 10px; overflow: hidden; background: #fff; }
.ea-product-photo { display: block; background: #f5f4ed; }
.ea-product-photo[hidden] { display: none; }
.ea-product-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; }
.ea-product-info { padding: 1rem; }
.ea-product-name { display: block; color: #1d4a5a; font-size: 1rem; line-height: 1.5; font-weight: 600; }
.ea-copy .ea-product-price { margin: .7rem 0 .2rem; line-height: 1.5; font-weight: 700; color: #1d4a5a; }
.ea-copy .ea-product-status { margin: .3rem 0 1rem; font-size: .75rem; line-height: 1.55; color: #52666c; }
.ea-product-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ea-product-actions .btn { flex: 1 1 90px; justify-content: center; padding: .7rem .55rem; font-size: .78rem; min-height: 44px; }
.ea-product-actions [hidden] { display: none !important; }
.ea-copy .ea-offer-note { margin: 1rem 0 0; font-size: .76rem; line-height: 1.65; color: #52666c; }
.ea-final-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.ea-series { max-width: 1180px; margin: 0 auto; padding: 0 2rem 3rem; }
.ea-series h2 { color: #1d4a5a; font-family: 'Playfair Display', Georgia, serif; font-size: 2rem; }
.ea-series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: 1.4rem; }
.ea-series-card { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px #1d4a5a0a; }
.ea-series-card img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: contain; background: #e8e4d9; display: block; }
.ea-series-card div { padding: 1.3rem; }
.ea-series-card strong { display: block; font-family: 'Playfair Display', Georgia, serif; color: #1d4a5a; font-size: 1.3rem; line-height: 1.4; }
.ea-series-card span { display: block; font-size: .83rem; line-height: 1.65; color: #52666c; margin-top: .6rem; }
.editorial-page a:focus-visible, .ea-series a:focus-visible { outline: 3px solid #c89122; outline-offset: 4px; }
@media (max-width: 880px) { .ea-layout { gap: 2rem; grid-template-columns: 185px minmax(0, 1fr); } }
@media (max-width: 640px) {
  .ea-hero { padding: 2.2rem 5vw; } .ea-hero h1 { font-size: 2rem; } .ea-hero p { font-size: .95rem; }
  .ea-layout { display: block; padding: 1.8rem 5vw 2.8rem; } .ea-toc { position: static; margin: 0 0 2.2rem; }
  .ea-toc ol { columns: 2; column-gap: 1rem; } .ea-toc li { break-inside: avoid; } .ea-toc a { padding: .25rem 0; }
  .ea-cover figcaption { padding: .9rem 5vw; } .ea-copy p { line-height: 1.85; }
  .ea-timeline { grid-template-columns: 1fr; gap: 1rem; } .ea-timeline > div { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: .8rem; }
  .ea-timeline span { margin: 0; } .ea-choose { padding: 1.2rem; } .ea-choose-links { grid-template-columns: 1fr; }
  .ea-series { padding: 0 5vw 2.2rem; } .ea-series-grid { grid-template-columns: 1fr; }
  .ea-product-grid { grid-template-columns: 1fr; } .ea-product-offer { padding: 1rem; } .ea-inline-offer { padding: 1rem; }
}
