/* Duo page: the two news cards (teachers, Poly Duo) near the top. Same look as the home page cards (poly-blocks.css). Owner 08.11.2026. */
.lc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; max-width: 1100px; margin: 0 auto; text-align: left; }
.lc-card { --ac: var(--blue); position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 24px 24px 22px; border-radius: 22px; border: 1px solid var(--line); border-top: 3px solid var(--ac); background: var(--surf, rgb(255 255 255 / .03)); box-shadow: 0 14px 40px rgb(0 0 0 / .25); }
.lc-1 { --ac: var(--blue); }
.lc-2 { --ac: var(--teal); }
.lc-3 { --ac: var(--pink); }
.lc-4 { --ac: var(--orange); }
.lc-5 { --ac: var(--purple, #764ba2); }
.lc-6 { --ac: var(--blue); }
.lc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.lc-type { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ac); }
.lc-type svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lc-logo { height: 30px; width: auto; max-width: 96px; flex: none; border-radius: 6px; }
.lc-logo.mono { height: 40px; max-width: 120px; filter: brightness(0) invert(1); }
.lc-logo.plate { background: #fff; padding: 3px; box-sizing: content-box; }
.lc-type { white-space: nowrap; }
.lc-date { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--ac); }
.lc-card h3 { font-size: 1.2rem; line-height: 1.3; }
.lc-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.lc-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: auto; padding-top: 6px; }
.lc-chip { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; max-width: 100%; padding: 8px 14px; border-radius: 14px; border: 1px solid var(--ac); background: rgb(0 0 0 / .18); color: var(--text); font-size: .88rem; line-height: 1.4; overflow-wrap: anywhere; transition: background .2s ease; }
.lc-chip:hover { background: rgb(255 255 255 / .08); }
.lc-chip b { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ac); }
.lc-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; border: 1px dashed var(--ac); color: var(--ac); font-size: .8rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 760px) { .lc-grid { grid-template-columns: 1fr; } .lc-card { padding: 20px 18px; } }
.lc-logo.tall { height: 44px; max-width: 40px; border-radius: 4px; }
.lc-logo.tall.sq { width: 44px; max-width: 44px; border-radius: 10px; }
.lc-logo.wide { height: 30px; width: auto; max-width: 150px; border-radius: 0; }
.d-news { margin: 28px auto; }

/* teachers card: anchors only, two per line (owner, 08.11.2026) */
.lc-links.lc-two { flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 8px; }
.lc-links.lc-two .lc-chip { flex: 1 1 calc(50% - 4px); box-sizing: border-box; justify-content: center; text-align: center; }
.lc-links.lc-two .lc-chip b { font-size: .8rem; }
