/* Photo-led story cards, shared by the public storyboard and editorial previews. */
.storyboard-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:start}
.social-story{min-width:0;background:#fff;border:1px solid #dce4d7;border-radius:21px;overflow:hidden;box-shadow:0 7px 28px #183E6010;transition:transform .2s ease,box-shadow .2s ease}
.social-story:hover{transform:translateY(-3px);box-shadow:0 14px 32px #183E601a}
.story-author{display:flex;align-items:center;gap:12px;padding:19px 20px;min-height:80px}
.story-avatar{flex:0 0 39px;width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:#eaf0df;color:#183E60;font:700 12px/1 Manrope,sans-serif;letter-spacing:.3px;border:1px solid #d7e1cc}
.story-byline{min-width:0;flex:1}
.story-byline strong{display:block;color:#183E60;font-size:13px;line-height:1.45;font-weight:700}
.story-byline small{display:block;color:#73806e;font-size:10px;line-height:1.5;margin-top:3px}
.story-platform{display:grid;place-items:center;flex:0 0 29px;width:29px;height:29px;border:1px solid #dce4d7;border-radius:50%;color:#183E60;font-size:12px;text-decoration:none}
.story-platform:hover{background:#edf3e4;color:#183E60}
.story-photo{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center 35%;background:#edf0e8}
button.story-photo-link{display:block;width:100%;padding:0;border:0;border-radius:0;background:#edf0e8;cursor:pointer}
.story-photo-link:focus-visible{outline:3px solid #C8E490;outline-offset:-3px}
.story-photo-missing{aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;padding:32px;background:linear-gradient(135deg,#dce8cc,#f2ead2);color:#183E60;text-align:center;font:25px/1.4 'Kaushan Script',cursive}
.story-caption{padding:19px 21px 21px}
.story-caption h3{font-size:20px;line-height:1.4;letter-spacing:-.35px;margin:13px 0 10px;color:#183E60}
.story-caption>p{font-size:13px;line-height:1.8;color:#60705b;margin:0 0 15px}
.social-story .story-tags{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 11px}
.social-story .story-tags .chip,.social-story .story-tags span{font-size:9px;line-height:1.5;padding:4px 8px;border-radius:20px;background:#f1f4e9;border:0;color:#183E60;white-space:normal}
.story-context{font-size:10px!important;line-height:1.6!important;color:#7d6d41!important;background:#f6f1e2;padding:8px 10px;border-radius:8px;margin-top:12px!important}
.social-story .story-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:17px;padding-top:15px;border-top:1px solid #edf0e8}
.social-story .story-actions button,.social-story .story-actions a{padding:0;background:none;border:0;border-radius:0;color:#183E60;font-size:11px;font-weight:700;line-height:1.6;text-decoration:none;text-align:left}
.social-story .story-actions button:hover,.social-story .story-actions a:hover{color:#183E60;text-decoration:underline;text-underline-offset:4px}
.storyboard-intro{max-width:690px;margin-bottom:30px}
.storyboard-controls{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:16px;padding:22px;background:#e9eedf;border-radius:16px;margin:28px 0 25px}
.storyboard-controls label{display:block;font-size:11px;color:#183E60;font-weight:600}
.storyboard-controls select,.storyboard-controls input{display:block;width:100%;margin-top:7px;padding:12px;border:1px solid #d3dcc9;background:white;border-radius:8px;color:#183E60;font:12px Manrope,sans-serif;min-width:0}
.storyboard-meta{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 25px;color:#6d7a65;font-size:12px}
.story-full .story-photo{aspect-ratio:auto;max-height:65vh;object-fit:contain;background:#edf0e8}
.story-full .story-byline strong{font-size:15px}
.story-full .story-author{padding:0;margin-bottom:23px}
@media(min-width:1450px){.storyboard-grid{gap:30px}.story-caption{padding:23px 25px}.story-caption h3{font-size:22px}}
@media(max-width:1100px){.storyboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}}
@media(max-width:650px){.storyboard-grid{grid-template-columns:1fr;gap:25px}.storyboard-controls{grid-template-columns:1fr;padding:18px;gap:14px}.story-author{padding:17px 19px}.story-caption{padding:18px 20px 22px}.story-caption h3{font-size:21px}.story-photo{aspect-ratio:4/3}.storyboard-meta{display:block}.social-story:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.social-story{transition:none}.social-story:hover{transform:none}}

.sip-story-logo{width:54px;height:48px;flex:0 0 54px;object-fit:contain;padding:4px;background:white;border-radius:6px}.story-full .sip-story-logo{width:90px;height:65px;flex-basis:90px}

.sip-story-logo.logo-dark{background:#183E60}

/* Consistent public cards; full text remains in the story reader. */
.storyboard-grid{align-items:stretch;grid-auto-rows:1fr}.social-story{display:flex;flex-direction:column;height:100%}.social-story .story-author{height:94px;min-height:94px;flex-shrink:0;margin:0;letter-spacing:normal;border-bottom:0}.social-story .story-byline strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.social-story .story-photo-link,.social-story .story-photo-missing{flex-shrink:0}.social-story .story-caption{display:flex;flex-direction:column;flex:1}.social-story .story-tags{height:44px;overflow:hidden;align-content:flex-start;flex-shrink:0}.social-story .story-caption h3{height:84px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.social-story .story-caption>p{height:94px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.social-story .story-actions{margin-top:auto;flex-shrink:0}.storyboard-controls input,.storyboard-controls select,.story-avatar{font-family:'DM Sans',sans-serif}@media(min-width:1450px){.social-story .story-caption h3{height:93px}}@media(max-width:650px){.social-story .story-caption h3{height:89px}}
