/* Social Media: automatically loaded Instagram and official Discord widget. */
.social-cards { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: stretch; gap: clamp(18px, 2.5vw, 32px); }
.social-cards > article { min-width: 0; overflow: hidden; border-radius: 18px; }
.news-feed-card { display: flex; flex-direction: column; grid-row: span 2; border: 1px solid var(--border-subtle); background: #fff; box-shadow: 0 18px 48px rgba(69,84,134,.08); }
.news-feed-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border-subtle); }
.news-feed-heading h3 { margin: 0; color: var(--secondary); }
.news-instagram-icon { font-size: 2rem; line-height: 1; color: var(--primary); }
.news-feed-tag { margin-left: auto; color: var(--text-secondary); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; }
.social-embed-body { display: flex; flex: 1; flex-direction: column; min-height: 500px; background: #fff; }
.instagram-embed { display: block; flex: 1 1 auto; width: 100%; height: 500px; border: 0; background: #fff; }
.social-card-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 18px 22px; border-top: 1px solid var(--border-subtle); }
.social-card-footer p { flex: 1 1 18rem; margin: 0; color: var(--text-secondary); font-size: .8rem; line-height: 1.55; }
.social-card-footer a { color: var(--secondary); font-size: .85rem; font-weight: 700; }
.social-card-footer a:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.discord-card { display: flex; flex-direction: column; padding: 0; border: 0; background: transparent; box-shadow: none; }
.discord-widget { display: block; width: 100%; height: 390px; min-height: 390px; border: 0; border-radius: 18px; background: transparent; }
.linkedin-card { display: flex; flex-direction: column; justify-content: center; gap: 17px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--border-subtle); background: linear-gradient(145deg, #fff 0%, #eef5fc 100%); box-shadow: 0 18px 48px rgba(69,84,134,.08); }
.linkedin-card-heading { display: flex; align-items: center; gap: 17px; }
.linkedin-mark { display: inline-grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 12px; background: #0a66c2; color: #fff; font: 700 31px/1 Arial, sans-serif; letter-spacing: -.08em; padding-right: 4px; }
.linkedin-card-kicker { margin: 0 0 4px; color: var(--text-secondary); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.linkedin-card h3 { margin: 0; color: var(--secondary); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.linkedin-card-text { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.linkedin-card-link { display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; min-height: 46px; padding: 10px 18px; border-radius: 8px; background: #0a66c2; color: #fff; font-weight: 700; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.linkedin-card-link:hover { background: #084f97; transform: translateY(-2px); }
.linkedin-card-link:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (max-width: 900px) { .social-cards { grid-template-columns: minmax(0, 1fr); } .news-feed-card { grid-row: auto; } .social-embed-body { min-height: 470px; } .instagram-embed { height: 470px; } .discord-widget { height: 360px; min-height: 360px; } }
@media (max-width: 390px) { .news-feed-heading, .social-card-footer { padding-inline: 16px; } .news-feed-tag { flex-basis: 100%; margin-left: 0; } .instagram-embed { height: 440px; } .social-embed-body { min-height: 440px; } }
