/* Co-op editorial collection; all rules are scoped to the new components. */
.ec-hero{display:grid;grid-template-columns:1fr 1fr;position:relative;margin-top:20px;background:#fdf4f2;overflow:hidden}
.ec-hero figure{margin:0;position:relative;min-width:0;min-height:540px;order:0}
.ec-hero figure img{width:100%;height:100%;object-fit:cover;object-position:26% center;position:absolute;inset:0}
.ec-hero figcaption{position:absolute;bottom:8px;left:14px;font-size:10px;color:#303e42;background:#ffffffd9;padding:2px 8px;border-radius:3px}
.ec-hero-copy{align-self:center;padding:48px 40px;min-width:0}
.em-site .ec-hero h1{font-family:'Shippori Mincho',serif;font-size:43px;line-height:1.55;margin:12px 0 22px;letter-spacing:.045em}
.ec-hero h1 em{font-style:normal;color:#a24757}
.ec-hero-copy .ec-hero-lead{font-size:18px;line-height:1.8;font-weight:600;color:#574342}
.ec-hero-copy>p{font-size:14px;line-height:2;margin:0 0 20px}
.ec-issue{display:block;color:#886361;font-size:10px;letter-spacing:.16em;margin-top:22px}
.ec-topic-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 36px;border-bottom:1px solid #eddfda}
.ec-topic-nav a{display:flex;align-items:center;gap:12px;padding:23px 12px;text-decoration:none;font-size:14px;font-weight:700;color:#574342}
.ec-topic-nav a small{font-family:Georgia,serif;font-size:18px;color:#b45d6d}
.ec-topic-nav a>span:last-child{margin-left:auto}
.ec-group:nth-of-type(2n),.ec-promo{background:#fff9f7}
.ec-journal-page .em-card-image img{object-position:50% 32%}
.ec-journal-page .em-card{border-color:#eddfda;box-shadow:0 3px 15px #70524b05}
.ec-journal-page .em-article-photo img{width:100%;max-height:480px;object-fit:cover;aspect-ratio:16/10;object-position:center 35%}
.ec-reading-next{margin:32px 0;padding:24px;border:1px solid #e8c6c8;background:#fff7f5;border-radius:6px;font-size:14px}
.ec-reading-next p{font-size:14px;margin:8px 0 14px}
.ec-programs{padding:40px 44px;background:#f9f3ef}
.ec-programs h2{font-size:25px;margin:0 0 24px}
.ec-programs>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ec-programs a{padding:18px 20px;text-decoration:none;color:#584344;background:white;border:1px solid #eddfda;border-radius:5px;font-size:12px}
.ec-programs a span{display:block;font-weight:700;font-size:16px}
.ec-consult{display:grid;grid-template-columns:1fr 1.35fr;background:#f9e6e4;margin:44px;overflow:hidden;border-radius:8px}
.ec-consult figure{margin:0;position:relative;min-height:330px}
.ec-consult img{width:100%;height:100%;object-fit:cover;object-position:30% center;position:absolute;inset:0}
.ec-consult figcaption{position:absolute;bottom:7px;left:10px;font-size:9px;background:#ffffffdb;padding:0 6px;color:#574342}
.ec-consult>div{align-self:center;padding:36px}
.em-site .ec-consult h2{font-size:26px;line-height:1.65;margin:0 0 16px}
.ec-consult p{font-size:14px}
.ec-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center;margin-top:22px}
.ec-actions .ec-line{font-size:13px;padding:12px 0;color:#385a46;font-weight:700}
.ec-editorial{margin-top:30px}
.ec-program-promo{box-sizing:border-box;max-width:1040px;margin:48px auto;padding:36px;display:flex;align-items:center;justify-content:space-between;gap:28px;border:1px solid #ead3d1;border-radius:10px;background:#fff5f2;text-align:left;color:#554344}
.ec-program-promo h2{font-size:25px;line-height:1.7;margin:8px 0 16px}
.ec-program-promo p{font-size:14px;line-height:1.9;margin:0}
.ec-program-promo>div>p:first-child{font-size:11px;letter-spacing:.15em;color:#a24757}
.ec-program-promo>a{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;padding:15px 23px;background:#ed888e;color:#402f30;border-radius:5px;font-size:14px;font-weight:700;text-decoration:none;min-height:48px}
.ec-program-promo a:focus-visible{outline:3px solid #943949;outline-offset:5px}
/* Keep the complete frame of the supplied school photos, especially groups. */
.ec-hero-vic{grid-template-columns:1fr 1.2fr;align-items:center}
.ec-hero-vic .ec-hero-copy{order:0;padding:40px 32px}
.ec-hero-vic figure{order:1;min-height:0;margin:24px 24px 24px 0;align-self:center}
.ec-hero-vic figure img{position:static;display:block;inset:auto;width:100%;height:auto;object-fit:contain;aspect-ratio:3/2;border-radius:4px}
.ec-hero-vic figcaption{position:static;margin-top:9px;padding:0;background:none;font-size:11px;color:#69524f;text-align:right}
.ec-gallery-link{display:block;width:fit-content;margin-top:17px;padding:5px 0;color:#844050;font-size:13px;font-weight:600;text-underline-offset:5px}
.ec-gallery-link:focus-visible{outline:3px solid #943949;outline-offset:4px}
.em-site .em-card-image img[src*="/coop-vic-"]{aspect-ratio:3/2;object-fit:contain;object-position:center;background:#f4f0ed}
.ec-journal-page .em-article-photo img[src*="/coop-vic-"]{height:auto;max-height:none;aspect-ratio:auto;object-fit:contain}
.ec-vic-life{background:#f8f5f0;scroll-margin-top:100px}
.ec-vic-life .em-heading{margin-bottom:14px}
.ec-gallery-intro{font-size:15px;line-height:1.95;color:#66544d;margin:0 0 28px}
.ec-vic-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 20px}
.ec-vic-gallery figure{margin:0;min-width:0;background:#fff}
.ec-vic-gallery img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#eae6df}
.ec-vic-gallery figcaption{padding:16px 17px 19px;color:#554844;font-size:13px;line-height:1.8}
.ec-vic-gallery figcaption span{display:block;margin-bottom:5px;color:#9b5261;font-size:10px;letter-spacing:.1em}
.ec-gallery-note{font-size:11px;line-height:1.8;color:#6d615c;margin:22px 0 0}
@media(max-width:959px){
.ec-hero-copy{padding:30px 24px}.em-site .ec-hero h1{font-size:34px}.ec-hero figure{min-height:490px}
.ec-topic-nav{padding:0 12px;grid-template-columns:repeat(2,minmax(0,1fr))}.ec-topic-nav a{padding:16px 12px}
.ec-consult{margin:28px 24px}.ec-consult>div{padding:26px}.em-site .ec-consult h2{font-size:23px}
.ec-program-promo{margin:28px 20px;padding:28px;flex-wrap:wrap}
.ec-hero-vic .ec-hero-copy{padding:32px 24px}.ec-hero-vic figure{min-height:0;margin-right:20px}.ec-vic-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}
}
@media(max-width:639px){
.ec-hero{grid-template-columns:minmax(0,1fr)}.ec-hero figure{min-height:0;height:245px}.ec-hero figure img{object-position:50% 48%}
.ec-hero-copy{padding:28px 24px 34px}.em-site .ec-hero h1{font-size:34px;line-height:1.5;margin:7px 0 18px}.ec-hero-copy .ec-hero-lead{font-size:17px}.ec-hero-copy>p{margin-bottom:16px}.ec-issue{margin-top:16px}
.ec-topic-nav{padding:0 12px}.ec-topic-nav a{font-size:12px;gap:8px}.ec-topic-nav a small{font-size:16px}
.ec-programs{padding:32px 24px}.ec-programs>div{grid-template-columns:1fr}.ec-programs h2{font-size:22px}
.ec-consult{grid-template-columns:minmax(0,1fr);margin:28px 22px}.ec-consult figure{min-height:200px}.ec-consult img{object-position:50% 36%}.ec-consult>div{padding:28px 22px}.ec-actions{gap:10px}
.ec-program-promo{padding:24px;margin:24px 16px}.ec-program-promo h2{font-size:22px}.ec-program-promo>a{font-size:13px;width:100%;padding:14px}
.ec-hero-vic{grid-template-columns:minmax(0,1fr)}.ec-hero-vic figure{height:auto;min-height:0;order:0;margin:16px 16px 0}.ec-hero-vic .ec-hero-copy{order:1;padding:25px 24px 30px}.ec-hero-vic figcaption{font-size:10px;margin-top:6px}.ec-gallery-link{font-size:12px}
.ec-vic-gallery{grid-template-columns:minmax(0,1fr);gap:20px}.ec-vic-gallery figcaption{padding:13px 16px 16px}.ec-gallery-intro{font-size:14px}.ec-vic-life .em-heading h2{font-size:23px;line-height:1.65}
}
