/* Keshavbaug Core: social feeds. Uses the theme's colours when available. */
.kb-feeds { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); align-items: start; }
.kb-feed { background: #fff; border: 1px solid var(--line, #D6E2D9); border-radius: 18px; padding: 1.1rem; display: flex; flex-direction: column; gap: .9rem; min-width: 0; }
.kb-feed__head { display: flex; align-items: center; gap: .7rem; }
.kb-feed__icon { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff; flex: none; }
.kb-feed__icon svg { width: 22px; height: 22px; }
.kb-feed__icon--facebook { background: #1877F2; }
.kb-feed__icon--youtube { background: #E02020; }
.kb-feed__icon--instagram { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.kb-feed__title { margin: 0; font-size: 1.1rem; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-feed__follow { display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--ink, #0F4D2A); color: var(--ink, #0F4D2A); font-weight: 700; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.kb-feed__follow:hover { background: var(--ink, #0F4D2A); color: #fff; }
.kb-feed__frame { border-radius: 12px; overflow: hidden; background: #F2F5F3; }
.kb-feed__frame iframe { display: block; width: 100%; border: 0; }
.kb-feed__frame--fb iframe { height: 520px; }
.kb-feed__frame--yt { aspect-ratio: 16 / 9; }
.kb-feed__frame--yt iframe { height: 100%; }
.kb-feed__note { margin: 0; font-size: .92rem; color: var(--muted, #5A6660); }
.kb-yt { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.kb-yt__item { position: relative; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.kb-yt__item--main { grid-column: 1 / -1; }
.kb-yt__item img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .92; }
.kb-yt__item:hover img { opacity: 1; }
.kb-yt__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.kb-yt__item:not(.kb-yt__item--main) .kb-yt__play svg { width: 34px; height: 24px; }
.kb-yt__item iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kb-ig { display: grid; gap: .75rem; max-height: 640px; overflow-y: auto; }
.kb-ig .instagram-media { min-width: 0 !important; width: 100% !important; margin: 0 !important; }
.kb-ig__profile { display: flex; align-items: center; gap: 1rem; padding: 1.4rem; border-radius: 12px; background: #FBF3F7; color: #5B1E45; text-decoration: none; font-weight: 700; }
.kb-ig__ring { width: 64px; height: 64px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.kb-ig__ring svg { width: 30px; height: 30px; }
.kb-feeds__title { margin: 0 0 1rem; }
.kb-fb__profile { background: #EEF4FE; color: #0B3A82; }
.kb-fb__ring { background: #1877F2; }
