/* Scoped standalone layout; intentionally bypasses news theme post/archive templates. */
body .iea-standalone,body .iea-standalone *{box-sizing:border-box}
body .iea-standalone{width:min(1180px,calc(100% - 36px));max-width:1180px;margin:30px auto 65px;clear:both;float:none;color:#19283b;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.6}
body .iea-standalone h1,body .iea-standalone h2,body .iea-standalone h3{font-family:Arial,Helvetica,sans-serif;line-height:1.2;letter-spacing:-.02em;float:none;position:static;margin:0}
body .iea-standalone .iea-hero{padding:32px 34px;background:#f2f7fb;border:1px solid #e1e9f2;border-radius:14px;margin:0 0 24px}
body .iea-standalone .iea-eyebrow{font-size:12px;letter-spacing:.11em;font-weight:800;color:#137b98;margin:0 0 8px}
body .iea-standalone .iea-hero h1{font-size:clamp(26px,3.5vw,40px);color:#15283c}
body .iea-standalone .iea-hero p:last-child{margin:10px 0 0;color:#55667a}
body #iea-event-archive .iea-wrap{width:100%;max-width:none;display:block;float:none}
body #iea-event-archive .iea-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:22px!important;align-items:stretch;float:none;clear:both;margin:0;padding:0}
body #iea-event-archive .iea-grid>.iea-card{position:relative!important;display:flex!important;flex-direction:column!important;width:auto!important;min-width:0!important;height:auto!important;float:none!important;clear:none!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff;border:1px solid #e3e8ef;border-radius:12px;box-shadow:0 4px 18px rgba(16,38,66,.06)}
body #iea-event-archive .iea-card .iea-media{position:relative!important;display:flex!important;align-items:center;justify-content:center;width:100%!important;height:175px!important;min-height:175px!important;overflow:hidden;background:linear-gradient(125deg,#17365c,#167f98);float:none!important;margin:0!important}
body #iea-event-archive .iea-card .iea-media img{display:block!important;width:100%!important;height:100%!important;object-fit:cover}
body #iea-event-archive .iea-card .iea-media-label{color:#fff!important;font:700 12px Arial,sans-serif!important;letter-spacing:.14em}
body #iea-event-archive .iea-card .iea-date-badge{position:absolute!important;top:12px;left:12px;background:white;color:#153753;border-radius:7px;padding:5px 10px;text-align:center;display:flex;flex-direction:column;line-height:1.1}
body #iea-event-archive .iea-card .iea-date-badge b{font-size:21px}body #iea-event-archive .iea-card .iea-date-badge small{font-size:11px}
body #iea-event-archive .iea-card .iea-body{position:static!important;display:flex!important;flex:1;flex-direction:column;gap:8px;min-width:0;padding:18px!important;margin:0!important;float:none!important;clear:none!important;height:auto!important}
body #iea-event-archive .iea-card .iea-body h3{font:700 19px/1.3 Arial,sans-serif!important;margin:0!important;padding:0!important;position:static!important;overflow-wrap:anywhere;max-height:none!important}
body #iea-event-archive .iea-card .iea-body h3 a{color:#172f4c;text-decoration:none}
body #iea-event-archive .iea-card .iea-body p{font:400 13px/1.5 Arial,sans-serif!important;color:#516176;margin:0!important;padding:0!important;position:static!important}
body #iea-event-archive .iea-card .iea-category{font:700 11px Arial,sans-serif;color:#087e99;text-transform:uppercase}
body #iea-event-archive .iea-card .iea-source{margin-top:auto;color:#0c718c;font:700 13px Arial,sans-serif;text-decoration:none}
body #iea-event-archive .iea-card .iea-source-credit{font:400 11px Arial,sans-serif;color:#788496}
body #iea-event-archive .iea-filters{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 24px;padding:18px;background:#fff;border:1px solid #e3e8ef;border-radius:10px}
body #iea-event-archive .iea-filters label{font:600 13px Arial,sans-serif;color:#334155}
body #iea-event-archive .iea-filters input{display:block;padding:10px;border:1px solid #cbd5e1;border-radius:6px;min-width:180px}
body #iea-event-archive .iea-filters button{padding:10px 20px;background:#176d87;color:#fff;border:0;border-radius:6px;cursor:pointer}
body .iea-standalone .iea-breadcrumb{font-size:13px;color:#67778a;margin:0 0 24px}
body .iea-standalone .iea-detail{max-width:1060px;margin:auto}
body .iea-standalone .iea-detail-head{padding:10px 0 24px;border-bottom:1px solid #e5ebf1}
body .iea-standalone .iea-detail-head h1{font-size:clamp(28px,4vw,44px)!important;color:#142b44}
body .iea-standalone .iea-detail-intro{font-size:16px;color:#52657a;margin:12px 0 0}
body .iea-standalone .iea-detail-photo{margin:24px 0;max-height:420px;overflow:hidden;border-radius:12px}
body .iea-standalone .iea-detail-photo img{width:100%;max-height:420px;object-fit:cover}
body .iea-standalone .iea-detail-columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:32px;padding:28px 0}
body .iea-standalone .iea-detail-main h2,body .iea-standalone .iea-facts h2{font-size:21px!important;margin-bottom:16px}
body .iea-standalone .iea-description{font-size:16px;color:#34455a;line-height:1.8}
body .iea-standalone .iea-facts{background:#f5f8fc;border:1px solid #e1e9f2;padding:22px;border-radius:12px;align-self:start}
body .iea-standalone .iea-fact{border-top:1px solid #dfe6ee;padding:12px 0;display:flex;flex-direction:column;gap:3px}
body .iea-standalone .iea-fact span{font-size:12px;color:#66788c}
body .iea-standalone .iea-fact strong{font-size:14px;color:#22364d;font-weight:600;overflow-wrap:anywhere}
body .iea-standalone .iea-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}
body .iea-standalone .iea-detail-actions a{display:inline-block;border:1px solid #147b98;border-radius:7px;padding:11px 18px;color:#126e89;text-decoration:none;font-weight:700;font-size:13px}
body .iea-standalone .iea-detail-actions .iea-primary{background:#147b98;color:white}
body .iea-standalone .iea-attribution{font:400 12px/1.5 Arial,sans-serif;color:#778599;border-top:1px solid #e5ebf1;padding-top:16px}
@media(max-width:850px){body #iea-event-archive .iea-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body .iea-standalone .iea-detail-columns{grid-template-columns:1fr}}
@media(max-width:560px){body .iea-standalone{width:calc(100% - 24px);margin:16px auto 40px}body #iea-event-archive .iea-grid{grid-template-columns:1fr!important}body .iea-standalone .iea-hero{padding:22px}body #iea-event-archive .iea-card .iea-media{height:190px!important}}

/* Optional, location-matched destination photography */
body #iea-event-archive .iea-card .iea-destination-photo{background:#183d56}
body #iea-event-archive .iea-card .iea-destination-photo:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.55));pointer-events:none}
body #iea-event-archive .iea-card .iea-photo-credit{position:absolute;right:8px;bottom:8px;z-index:2;color:#fff;background:rgba(0,0,0,.45);font:10px/1.25 Arial,sans-serif;padding:3px 5px;border-radius:3px;max-width:65%;text-align:right}

/* Stage 2c: single-event presentation only; no archive or importer changes. */
body #iea-event-single.iea-single-v2{max-width:1060px}
body #iea-event-single .iea-detail-v2{max-width:none;background:#fff;border:1px solid #e5eaf0;border-radius:16px;overflow:hidden;box-shadow:0 8px 35px rgba(20,40,65,.05)}
body #iea-event-single .iea-detail-v2 .iea-detail-head{padding:30px 34px;background:#f3f7fb;border:0}
body #iea-event-single .iea-detail-v2 .iea-detail-head h1{font-size:clamp(26px,3.7vw,42px)!important;line-height:1.18;margin:6px 0 18px;color:#18314e}
body #iea-event-single .iea-single-tags{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
body #iea-event-single .iea-single-tags .iea-lifecycle,body #iea-event-single .iea-single-category{display:inline-block!important;border-radius:18px;padding:5px 13px;font:700 12px/1.4 Arial,sans-serif!important}
body #iea-event-single .iea-single-tags .iea-lifecycle-ongoing{background:#dcfce7!important;color:#166534!important}
body #iea-event-single .iea-single-tags .iea-lifecycle-upcoming{background:#dbeafe!important;color:#1d4ed8!important}
body #iea-event-single .iea-single-tags .iea-lifecycle-past{background:#e9edf2!important;color:#475569!important}
body #iea-event-single .iea-single-category{background:#e9edf3;color:#40556d}
body #iea-event-single .iea-detail-photo{margin:0;max-height:none;border-radius:0;line-height:0}
body #iea-event-single .iea-detail-photo img{width:100%;height:auto;max-height:430px;object-fit:cover}
body #iea-event-single .iea-single-placeholder{height:260px;display:flex;align-items:center;justify-content:center;background:linear-gradient(120deg,#17365c,#16889b);color:#fff;font:700 clamp(22px,4vw,38px) Arial,sans-serif;letter-spacing:.12em}
body #iea-event-single .iea-single-placeholder b{color:#a7e4e9}
body #iea-event-single .iea-single-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:27px 34px;border-bottom:1px solid #e8edf2}
body #iea-event-single .iea-single-info-item{display:flex;gap:12px;align-items:flex-start;min-width:0}
body #iea-event-single .iea-single-info-icon{font-size:25px;line-height:1;color:#147b98;width:27px;flex-shrink:0}
body #iea-event-single .iea-single-info-label{display:block;color:#6b7a8c;font-size:12px;font-weight:700;margin-bottom:3px}
body #iea-event-single .iea-single-info-item strong{display:block;color:#26394d;font-size:14px;font-weight:600;overflow-wrap:anywhere}
body #iea-event-single .iea-single-content{padding:30px 34px 18px}
body #iea-event-single .iea-single-content h2{font-size:23px!important;color:#203a54;margin:0 0 18px}
body #iea-event-single .iea-single-content p{font-size:16px;line-height:1.8;color:#405269}
body #iea-event-single .iea-single-footer{display:flex;gap:16px;align-items:center;justify-content:space-between;border-top:1px solid #e8edf2;margin:0 34px;padding:18px 0 22px}
body #iea-event-single .iea-single-footer .iea-attribution{margin:0;padding:0;border:0;flex:1}
body #iea-event-single .iea-copy-link{cursor:pointer;white-space:nowrap;border:1px solid #cbd5e1;background:#fff;border-radius:8px;padding:10px 14px;color:#284760;font:700 12px Arial,sans-serif}
@media(max-width:600px){body #iea-event-single .iea-detail-v2 .iea-detail-head,body #iea-event-single .iea-single-info,body #iea-event-single .iea-single-content{padding:22px 20px}body #iea-event-single .iea-single-info{grid-template-columns:1fr;gap:16px}body #iea-event-single .iea-single-footer{margin:0 20px;flex-wrap:wrap}body #iea-event-single .iea-single-placeholder{height:170px}}
