/* «О компании»: текст из админки, общие компоненты .ag и компактные карточки. */
#content .ab-page {
    --ag-radius: 8px;
    margin-bottom: 26px;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ag-text);
}
#content .ab-page .ab-hero { margin: 24px 0 16px; padding: 26px 28px; border-radius: 10px; }
#content .ab-page .ab-hero .ag-kicker { margin-bottom: 10px; padding: 4px 9px; border-radius: 4px; font-size: 11px; letter-spacing: .04em; }
#content .ab-page .ab-hero h1 { font-size: 28px; line-height: 1.25; text-shadow: none; }
#content .ab-page .ab-hero .ag-lead { margin: 0; font-size: 15px; line-height: 1.55; }
#content .ab-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
#content .ab-fact { padding: 17px 20px; border: 1px solid var(--ag-line); border-radius: 8px; background: #fff; }
#content .ab-page .ab-fact strong { display: block; color: var(--ag-navy); font-size: 28px; font-weight: 750; line-height: 1.25; }
#content .ab-page .ab-fact span { display: block; margin-top: 4px; color: var(--ag-muted); font-size: 12px; line-height: 1.5; font-weight: 400; }
#content .ab-page .ab-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
#content .ab-page .ab-toc a { padding: 6px 11px; border-radius: 4px; font-size: 12px; line-height: 1.5; }
#content .ab-page a:focus-visible { outline: 2px solid var(--ag-blue); outline-offset: 3px; }
#content .ab-page .ab-card { margin-bottom: 16px; padding: 22px 26px; border-radius: 8px; box-shadow: 0 6px 20px -16px rgba(1, 40, 90, .35); }
#content .ab-page .ab-card > h2 { margin-bottom: 16px; font-size: 20px; line-height: 1.35; font-weight: 650; color: var(--ag-navy); }
#content .ab-page .ab-card > h2::before { width: 28px; height: 3px; margin-bottom: 9px; }
#content .ab-copy { color: var(--ag-text); overflow-wrap: anywhere; }
#content .ab-page .ab-copy :where(p, div, span, a) { font-family: inherit !important; font-size: inherit !important; line-height: inherit !important; vertical-align: baseline; }
#content .ab-page .ab-copy p { text-align: left !important; margin: 0 0 14px; padding: 0; }
#content .ab-page .ab-copy > :last-child { margin-bottom: 0; }
#content .ab-page .ab-copy span { color: inherit !important; }
#content .ab-page .ab-copy a { text-decoration: underline; text-underline-offset: 3px; }
#content .ab-copy img { max-width: 100%; height: auto; }
#content .ab-page .ab-copy .ab-geography { padding: 14px 16px; border-radius: 6px; background: var(--ag-soft); font-size: 14px !important; line-height: 1.7 !important; }
#content .ab-page .ab-copy .ab-strategy { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--ag-navy); border-radius: 4px; background: var(--ag-soft); color: var(--ag-navy); font-weight: 600; }
#content .ab-boats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }
#content .ab-page .ab-boat { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--ag-line); border-radius: 6px; color: var(--ag-navy); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
#content .ab-boat img { display: block; width: 100%; height: auto; aspect-ratio: 410 / 230; object-fit: cover; }
#content .ab-boat picture { display: block; }
#content .ab-page .ab-boat strong { display: block; padding: 10px; color: inherit; font-size: 13px; line-height: 1.4; font-weight: 600; }
#content .ab-page .ab-boat:hover { border-color: #9bbce5; box-shadow: 0 4px 12px rgba(1, 40, 90, .08); text-decoration: none; }
#content .ab-contacts .ab-copy { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; gap: 16px; }
#content .ab-page .ab-contacts .ab-copy > p { margin: 0; padding: 16px; border: 1px solid var(--ag-line); border-radius: 6px; background: var(--ag-soft); font-size: 14px !important; font-weight: 400; }
#content .ab-page .ab-contacts .ab-copy span.bold { font-weight: 400; }
#content .ab-contacts .ab-copy > p:first-child > span > br:first-child { display: none; }
#content .ab-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
#content .ab-page .ab-actions a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--ag-line); border-radius: 4px; background: #fff; color: var(--ag-navy); font-size: 12px; font-weight: 600; text-decoration: none; }
#content .ab-page .ab-actions a:hover { background: var(--ag-soft); }
@media (max-width: 760px) {
    #content .ab-page .ab-hero { margin-top: 16px; padding: 22px 18px; }
    #content .ab-page .ab-hero h1 { font-size: 24px; }
    #content .ab-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    #content .ab-fact { padding: 13px 10px; }
    #content .ab-page .ab-fact strong { font-size: 25px; }
    #content .ab-page .ab-fact span { font-size: 11px; }
    #content .ab-page .ab-card { padding: 18px; }
    #content .ab-page .ab-card > h2 { font-size: 19px; }
    #content .ab-boats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    #content .ab-contacts .ab-copy { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 360px) {
    #content .ab-facts { grid-template-columns: minmax(0, 1fr); }
}
@media print {
    #content .ab-page .ab-hero { background: none; box-shadow: none; padding: 0; }
    #content .ab-page .ab-hero h1, #content .ab-page .ab-hero .ag-lead, #content .ab-page .ab-hero .ag-kicker { color: #000; background: none; }
    #content .ab-page .ab-card { box-shadow: none; }
    #content .ab-toc, #content .ab-actions { display: none; }
    #content .ab-facts, #content .ab-boats { break-inside: avoid; }
}
