/* Profily aktív — listing + detail */

.av-wrap { padding-block: 28px 72px; }

/* ---------- Hero (listing) ---------- */
.av-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 40px 36px 32px;
    margin-bottom: 30px;
    color: #fff;
    background: linear-gradient(135deg, #0A676B 0%, #0d8286 55%, #0A676B 100%);
    box-shadow: 0 20px 50px -20px rgba(10, 103, 107, .55);
}
.av-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 88% -10%, rgba(242, 196, 107, .32), transparent 70%),
                radial-gradient(500px 260px at -5% 115%, rgba(255, 255, 255, .12), transparent 70%);
    pointer-events: none;
}
.av-kicker {
    position: relative;
    display: inline-block;
    font: 700 12px/1 var(--sans, sans-serif);
    letter-spacing: .12em;
    background: rgba(255, 255, 255, .16);
    color: #F6E6CC;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.av-hero h1 {
    position: relative;
    font: 800 clamp(32px, 5vw, 48px)/1.05 var(--serif, serif);
    letter-spacing: -.03em;
    margin: 0 0 12px;
}
.av-hero > p {
    position: relative;
    max-width: 68ch;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
    margin: 0 0 22px;
}
.av-hero > p b { color: #F6E6CC; }

.av-search { position: relative; margin-bottom: 18px; max-width: 480px; }
.av-search input {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 14px;
    padding: 13px 16px;
    font: 500 15px/1.3 var(--sans, sans-serif);
    background: rgba(255, 255, 255, .95);
    color: #0F181C;
}
.av-search input:focus { outline: 3px solid rgba(242, 196, 107, .5); }

.av-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 8px; transition: opacity .15s ease; }
.av-tab {
    font: 600 13.5px/1 var(--sans, sans-serif);
    background: rgba(255, 255, 255, .14);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    padding: 9px 14px;
    cursor: pointer;
    transition: background .15s ease;
}
.av-tab span { opacity: .7; font-weight: 500; margin-left: 3px; }
.av-tab:hover { background: rgba(255, 255, 255, .22); }
.av-tab.is-active { background: #F2C46B; color: #0F181C; border-color: transparent; }
.av-tab.is-active span { opacity: .65; }

.av-empty { text-align: center; color: #5E6B70; padding: 40px 0; font-size: 15px; }

/* ---------- Card grid ---------- */
.av-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}
.av-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #E4E9E8;
    border-radius: 14px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.av-card:hover { border-color: #CFE0DE; box-shadow: 0 10px 22px -14px rgba(15, 24, 28, .28); transform: translateY(-1px); }
.av-ic {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0A676B, #12908C);
    color: #fff;
    font: 800 11px/1 var(--sans, sans-serif);
    letter-spacing: -.02em;
    text-transform: uppercase;
}
.av-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.av-tx b { font: 700 14.5px/1.25 var(--sans, sans-serif); color: #0F181C; }
.av-tx small { font-size: 12px; color: #5E6B70; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av-pr { flex: 0 0 auto; font: 700 13.5px/1 var(--sans, sans-serif); color: #0A676B; text-align: right; }

/* ---------- Detail ---------- */
.av-detail { max-width: 1180px; }
.av-detail .av-lead, .av-detail .av-body > p, .av-detail .av-body > ul, .av-detail .av-body > h2, .av-detail .av-body > h3, .av-detail .av-disclaimer { max-width: 860px; }
.av-badge {
    display: inline-block;
    font: 700 11.5px/1 var(--sans, sans-serif);
    letter-spacing: .08em;
    text-transform: uppercase;
    background: #EAF5F0;
    color: #146C55;
    padding: 6px 11px;
    border-radius: 999px;
    margin-bottom: 12px;
}
.av-h1 { font: 800 clamp(28px, 4.2vw, 40px)/1.1 var(--serif, serif); letter-spacing: -.02em; margin: 0 0 10px; color: #0F181C; }
.av-lead { font-size: 16.5px; line-height: 1.6; color: #2B373C; margin: 0 0 22px; max-width: 62ch; }

.av-price-box {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    background: #F7F9F8;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.av-price-val { font: 800 32px/1 var(--serif, serif); color: #0F181C; }
.av-price-val small { font: 600 13px/1 var(--sans, sans-serif); color: #5E6B70; margin-left: 4px; }
.av-price-chg { font: 700 14px/1 var(--sans, sans-serif); padding: 5px 9px; border-radius: 999px; }
.av-price-chg.up { background: #EAF5F0; color: #146C55; }
.av-price-chg.down { background: #FBEAEA; color: #B3261E; }
.av-price-note { flex-basis: 100%; font-size: 12px; color: #5E6B70; }

.av-facts { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 14.5px; }
.av-facts th, .av-facts td { text-align: left; padding: 9px 0; border-bottom: 1px solid #E4E9E8; }
.av-facts th { font-weight: 600; color: #5E6B70; width: 46%; padding-right: 12px; }
.av-facts td { color: #0F181C; font-weight: 600; }

.av-box { background: #D6E9E8; border-radius: 14px; padding: 18px 20px; margin: 0 0 26px; }
.av-box b { display: block; font: 700 11.5px/1.2 var(--sans, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #0A676B; margin-bottom: 8px; }
.av-box ul { margin: 0; padding-left: 20px; }
.av-box li { margin-bottom: 4px; }

.av-body { font-size: 15.5px; line-height: 1.65; color: #2B373C; }
.av-body h2 { font: 800 21px/1.25 var(--serif, serif); color: #0F181C; margin: 30px 0 12px; }
.av-body p { margin: 0 0 14px; }
.av-body b { color: #0F181C; }

.av-faq { margin-top: 30px; padding-top: 22px; border-top: 1px solid #E4E9E8; }
.av-faq h2 { font: 800 21px/1.25 var(--serif, serif); color: #0F181C; margin: 0 0 16px; }
.av-faq-item { margin-bottom: 16px; }
.av-faq-item b { display: block; font-size: 15px; color: #0F181C; margin-bottom: 4px; }
.av-faq-item p { margin: 0; font-size: 14.5px; color: #2B373C; line-height: 1.55; }

.av-sources { margin-top: 26px; padding-top: 16px; border-top: 1px solid #E4E9E8; font-size: 13.5px; color: #5E6B70; }
.av-sources b { display: block; font: 700 11.5px/1.2 var(--sans, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #0F181C; margin-bottom: 8px; }
.av-sources ul { margin: 0; padding-left: 18px; }
.av-sources a { color: #0A676B; }

.av-related { margin-top: 26px; padding-top: 16px; border-top: 1px solid #E4E9E8; }
.av-related b { display: block; font: 700 11.5px/1.2 var(--sans, sans-serif); letter-spacing: .08em; text-transform: uppercase; color: #5E6B70; margin-bottom: 10px; }
.av-related-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.av-related-grid a { font: 600 13px/1 var(--sans, sans-serif); background: #F1F4F4; color: #0A676B; border-radius: 999px; padding: 8px 13px; text-decoration: none; }
.av-related-grid a:hover { background: #EAF5F0; }

.av-disclaimer { margin-top: 30px; font-size: 12.5px; color: #5E6B70; }

@media (max-width: 720px) {
    .av-hero { padding: 30px 20px 26px; border-radius: 22px; }
    .av-price-val { font-size: 26px; }
    .av-grid { grid-template-columns: 1fr; }
}

/* DK aktiva polish */
.av-hero{border-radius:28px;padding:48px 44px 40px;background:radial-gradient(120% 140% at 100% 0%,rgba(244,200,117,.24) 0,rgba(244,200,117,0) 46%),linear-gradient(135deg,#064f53 0%,#0A676B 52%,#0d8286 100%);box-shadow:0 18px 40px -22px rgba(6,79,83,.55)}
.av-hero h1{font-family:Inter,system-ui,sans-serif;letter-spacing:-.025em;line-height:1.08}
.av-hero>p{font-size:17px}
.av-search{max-width:560px}
.av-search input{border-radius:999px;padding:15px 20px 15px 52px;font-size:16px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230A676B' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 20px center;box-shadow:0 10px 24px -14px rgba(0,0,0,.45)}
.av-tab{font-family:Inter,system-ui,sans-serif;padding:10px 16px}
.av-ph{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:4px 2px 18px;flex-wrap:wrap}
.av-ph h2{font:800 26px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.02em;margin:0 0 5px;color:#12312F}
.av-ph p{margin:0;font-size:14.5px;color:#647573}
.av-ph-link{white-space:nowrap;font:700 14px/1 Inter,system-ui,sans-serif;color:#0A676B;background:#E3F1F0;padding:11px 18px;border-radius:999px;text-decoration:none}
.av-ph-link:hover{background:#0A676B;color:#fff}
.av-grid{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.av-card{border-color:#DCE9E9;border-radius:20px;padding:14px 16px;box-shadow:0 10px 26px -22px rgba(10,103,107,.5)}
.av-card:hover{transform:translateY(-3px);border-color:#9CC9C8;box-shadow:0 20px 36px -22px rgba(10,103,107,.6)}
.av-card,.av-card:hover,.av-card:focus,.av-card *{text-decoration:none!important}
.av-ic{width:46px;height:46px;border-radius:14px;font-family:Inter,system-ui,sans-serif}
.av-ic--img{background:#fff;border:1px solid #E3EEEE}
.av-ic--img img{width:28px;height:28px;object-fit:contain;display:block}
.av-tx b{font-family:Inter,system-ui,sans-serif}
.av-pr{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.av-pr em{font-style:normal;font:800 11.5px/1 Inter,system-ui,sans-serif;padding:4px 8px;border-radius:999px}
.av-pr em.up{background:#E6F4EC;color:#146C55}
.av-pr em.down{background:#FBEAEA;color:#B3261E}
@media(max-width:640px){.av-hero{padding:30px 22px 26px;border-radius:22px}.av-grid{grid-template-columns:1fr}.av-ph h2{font-size:22px}}

/* DK aktiva icons */
.av-ic .av-em{font-size:24px;line-height:1;font-style:normal;display:block}
.av-ic .av-fl{display:flex;align-items:center;justify-content:center;font-style:normal}
.av-ic .av-fl img{width:22px;height:22px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 0 0 1px #DCE9E9;display:block;background:#fff}
.av-ic .av-fl img+img{margin-left:-10px}
.av-ic:has(.av-fl),.av-ic:has(.av-em){background:#F3F8F8;border:1px solid #E3EEEE}

/* DK aktiva svg icons */
.av-ic:has(.av-sv){padding:0;background:none;border:0;overflow:hidden}
.av-ic .av-sv{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit;font-style:normal}
.av-card:hover .av-sv{filter:saturate(1.15)}

/* DK aktiva icons single color */
.av-ic .av-sv{background:#E3F3F2!important;color:#0A676B!important}

/* DK aktiva stock logos */
.av-ic:has(.av-lg){padding:0;background:#fff;border:1px solid #E3EEEE}
.av-ic .av-lg{display:grid;place-items:center;width:100%;height:100%;font-style:normal}
.av-ic .av-lg img{width:28px;height:28px;object-fit:contain;border-radius:6px;display:block}

/* DK aktiva no underline */
.av-ph-link,.av-ph-link:hover,.av-ph-link:focus,.av-ph-link:visited,.av-hero a,.av-hero a:hover,.av-group a,.av-group a:hover{text-decoration:none!important}

/* DK aktiva mono + responsive */
.av-lg b.av-mono{display:grid;place-items:center;width:100%;height:100%;border-radius:inherit;font:800 11px/1 Inter,system-ui,sans-serif;letter-spacing:-.02em}
.av-card{min-width:0}
.av-tx{min-width:0}
.av-tx b,.av-tx small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}
.av-tabs{scrollbar-width:none}
.av-tabs::-webkit-scrollbar{display:none}
@media(max-width:900px){.av-grid{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}
@media(max-width:720px){
 .av-hero{padding:22px 18px;border-radius:22px}
 .av-hero-top{gap:12px}
 .av-hero .av-hlogo{width:56px;height:56px;border-radius:16px}
 .av-hero .av-hlogo img{width:38px;height:38px}
 .av-search{width:100%}
 .av-tabs{flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;margin-left:-16px;margin-right:-16px;padding:2px 16px 6px;gap:8px;scroll-snap-type:x proximity}
 .av-tab{flex:none;white-space:nowrap;scroll-snap-align:start}
 .av-ph{flex-direction:column;align-items:flex-start;gap:10px}
 .av-ph-link{align-self:flex-start}
 .av-grid{grid-template-columns:1fr;gap:10px}
 .av-card{padding:12px 14px;gap:12px;border-radius:16px}
 .av-ic{width:42px;height:42px;border-radius:12px}
 .av-pr{font-size:14px}
}
@media(max-width:380px){
 .av-card{padding:10px 12px;gap:10px}
 .av-ic{width:38px;height:38px}
 .av-tx small{font-size:11px}
 .av-pr em{font-size:11px;padding:1px 6px}
}
/* DK aktiva responsive */

/* DK aktiva tabs wrap */
@media(max-width:720px){.av-tabs{flex-wrap:wrap;overflow:visible;margin-left:0;margin-right:0;padding:0;gap:8px;scroll-snap-type:none}.av-tab{flex:0 0 auto}}
