/* Scoped to thematic event additions; existing article/Atlas styles unchanged. */
#te-selected .te-tabs [data-ehe-tab]{display:inline-flex;align-items:center;gap:7px}
#te-selected .ehe-count{display:inline-flex;align-items:center;justify-content:center;min-width:19px;padding:1px 6px;border-radius:20px;font-size:11px;line-height:1.5;font-weight:800;background:#153f2c;color:#fff}
#te-selected .ehe-section{margin:26px 0 28px;min-width:0;scroll-margin-top:120px;color:#173b3d}
#te-selected .ehe-section--full{margin-top:4px}
#te-selected .ehe-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 16px}
#te-selected .ehe-heading h3{margin:0;font-size:25px;line-height:1.2;letter-spacing:-.02em;color:#173b3d;font-weight:800}
#te-selected .ehe-heading p{margin:7px 0 0;font-size:14px;line-height:1.5;color:#607776}
#te-selected .ehe-heading>button{flex-shrink:0;white-space:nowrap;font-size:12px}
#te-selected .ehe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}
#te-selected .ehe-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dce6de;border-top:3px solid #287b73;border-radius:10px;background:#fff;overflow:hidden}
#te-selected .ehe-card-main{padding:21px 20px 18px;display:flex;flex-direction:column;flex:1;min-width:0}
#te-selected .ehe-date-row{display:flex;align-items:center;gap:13px;margin:0 0 17px}
#te-selected .ehe-date{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;width:58px;height:66px;border-radius:8px;background:#eef5e7;color:#185b3b;line-height:1;text-decoration:none}
#te-selected .ehe-date strong{font-size:29px;line-height:1;font-weight:800;letter-spacing:-.04em}
#te-selected .ehe-date span{font-size:11px;line-height:1;margin-top:7px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
#te-selected .ehe-event-labels{display:flex;flex-direction:column;gap:4px;min-width:0}
#te-selected .ehe-kind{font-size:11px;font-weight:800;letter-spacing:.055em;color:#185b3b;text-transform:uppercase}
#te-selected .ehe-format{display:flex;align-items:center;gap:5px;color:#607776;font-size:12px;line-height:1.4}
#te-selected .ehe-card h4{font-size:21px;line-height:1.25;letter-spacing:-.02em;font-weight:800;margin:0 0 14px;color:#173b3d;overflow-wrap:anywhere}
#te-selected .ehe-card h4 a{color:inherit;text-decoration:none}
#te-selected .ehe-card h4 a:hover{text-decoration:underline;text-underline-offset:3px}
#te-selected .ehe-time{font-size:14px;line-height:1.4;font-weight:700;margin:0 0 7px;color:#24493c}
#te-selected .ehe-place{font-size:13px;line-height:1.5;color:#607776;margin:0 0 7px;overflow-wrap:anywhere}
#te-selected .ehe-organizer{font-size:12px;line-height:1.45;color:#607776;margin:3px 0 9px;overflow-wrap:anywhere}
#te-selected .ehe-price{font-size:12px;line-height:1.45;color:#385c43;margin:0 0 13px}
#te-selected .ehe-topics{display:flex;flex-wrap:wrap;gap:6px;margin:auto 0 16px;padding-top:8px}
#te-selected .ehe-topics>*{display:inline-block;max-width:100%;border:1px solid #dce6de;border-radius:5px;padding:3px 7px;font-size:11px;line-height:1.4;font-weight:700;color:#28573d;text-decoration:none;overflow-wrap:anywhere}
#te-selected .ehe-topics span{background:#eef5e7}
#te-selected .ehe-topics a:hover{background:#f1f6eb;text-decoration:underline}
#te-selected .ehe-detail-toggle{font:inherit;display:flex;justify-content:space-between;align-items:center;gap:12px;border:0;border-top:1px solid #dce6de;border-radius:0;background:transparent;width:100%;padding:14px 0 0;margin:0;color:#185b3b;font-size:13px;line-height:1.5;font-weight:800;text-align:left;cursor:pointer;min-height:44px}
#te-selected .ehe-detail-toggle:hover{color:#062f20}
#te-selected .ehe-detail{border-top:1px solid #dce6de;background:#f2f7ed;padding:18px 20px;font-size:14px;line-height:1.6;color:#284b3e;overflow-wrap:anywhere}
#te-selected .ehe-detail[hidden]{display:none!important}
#te-selected .ehe-detail p{margin:0 0 12px;font-size:inherit;line-height:inherit;color:inherit}
#te-selected .ehe-full-link{display:inline-flex;align-items:center;gap:7px;color:#185b3b;font-size:13px;font-weight:800}
#te-selected .ehe-links{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:17px;font-size:12px;line-height:1.5;font-weight:700}
#te-selected .ehe-links a{display:inline-flex;align-items:center;gap:6px;color:#185b3b}
#te-selected .ehe-timezone{font-size:11px;line-height:1.4;color:#607776;margin:10px 0 0}
#te-selected .ehe-icon{width:16px;height:16px;flex-shrink:0}
#te-selected .ehe-empty{background:#f1f6ed;border:1px solid #dce6de;border-radius:9px;padding:23px;color:#28523b}
#te-selected .ehe-empty p{margin:0 0 9px;font-size:14px;line-height:1.6}
#te-selected .ehe-empty .te-button{display:inline-flex;margin-top:7px;font-size:13px}
#te-selected .ehe-notice{border-left:3px solid #79a55a;padding:12px 15px;background:#f2f6ef;font-size:14px;line-height:1.6;color:#38563e;margin:0 0 16px}
#te-selected .ehe-notice p{margin:0 0 6px;font:inherit;color:inherit}
#te-selected .ehe-notice small{display:block;font-size:12px;color:#596b56}
#te-selected .ehe-notice--warning{border-color:#a87322;background:#fff8e9;color:#6a4a19}
#te-selected .ehe-retry{margin-top:9px;font-size:13px}
#te-selected .ehe-state{display:inline-block;width:fit-content;padding:3px 7px;border-radius:4px;background:#e9f3da;color:#345e2c;font-size:11px;line-height:1.4;font-weight:700}
#te-selected .ehe-state--cancelled{background:#fcece7;color:#883c2a}
#te-selected .ehe-state--postponed,#te-selected .ehe-registration-closed{background:#fff4d7;color:#75531b}
#te-selected .ehe-registration-closed{font-size:12px;padding:5px 7px;border-radius:4px;margin:0 0 12px}
#te-selected .ehe-changes{margin-top:27px}
#te-selected .ehe-changes>h4{font-size:19px;line-height:1.3;margin:0 0 14px;color:#173b3d}
#te-selected .ehe-detail-toggle:focus-visible,#te-selected .ehe-section a:focus-visible,#te-selected .ehe-section button:focus-visible,#te-selected [data-ehe-tab]:focus-visible{outline:3px solid #5f972d;outline-offset:3px}
@media(max-width:1050px){#te-selected .ehe-card-main{padding:17px 16px}#te-selected .ehe-card h4{font-size:19px}}
@media(max-width:760px){#te-selected .ehe-heading h3{font-size:24px}#te-selected .ehe-section{margin-top:24px}#te-selected .ehe-grid{gap:12px}}
@media(max-width:620px){
 #te-selected .ehe-grid{grid-template-columns:minmax(0,1fr)}
 #te-selected .ehe-heading{gap:12px;align-items:flex-start}
 #te-selected .ehe-heading h3{font-size:23px}
 #te-selected .ehe-heading p{font-size:13px}
 #te-selected .ehe-heading>button{white-space:normal;max-width:90px;flex-shrink:0;font-size:12px;min-height:44px;text-align:left}
 #te-selected .ehe-card-main{display:grid;grid-template-columns:54px minmax(0,1fr);column-gap:13px;padding:18px 17px}
 #te-selected .ehe-date-row{display:contents}
 #te-selected .ehe-date{grid-column:1;grid-row:1 / span 3;width:54px;height:64px}
 #te-selected .ehe-event-labels{grid-column:2;margin-bottom:10px}
 #te-selected .ehe-card h4,#te-selected .ehe-time,#te-selected .ehe-place,#te-selected .ehe-organizer,#te-selected .ehe-price,#te-selected .ehe-registration-closed{grid-column:2}
 #te-selected .ehe-card h4{font-size:20px}
 #te-selected .ehe-topics,#te-selected .ehe-detail-toggle{grid-column:1 / -1}
 #te-selected .ehe-links{align-items:flex-start;font-size:12px}
 #te-selected .ehe-detail{padding:17px}
 #te-selected .ehe-topics>*{font-size:11px}
 #te-selected .ehe-empty{padding:19px}
}
@media(max-width:359px){#te-selected .ehe-card-main{padding:16px 13px;column-gap:11px}#te-selected .ehe-card h4{font-size:18px}#te-selected .ehe-heading h3{font-size:21px}#te-selected .ehe-links{gap:10px;flex-wrap:wrap}}
/* Overview: one compact news-style panel; the complete cards stay in Events. */
#te-selected .ehe-section--preview{margin:0;padding:20px;border:1px solid #dce6de;border-radius:12px;background:#fff;min-width:0}
#te-selected .ehe-section--preview .ehe-heading{align-items:center;gap:12px;margin:0 0 5px}
#te-selected .ehe-section--preview .ehe-heading h3{border-left:3px solid #9cce41;padding-left:10px;font-size:25px;line-height:1.15}
#te-selected .ehe-preview-count{display:inline-flex;align-items:center;justify-content:center;min-width:27px;height:27px;padding:0 7px;border-radius:7px;background:#eef5e7;color:#245039;font-size:13px;font-weight:800;margin-left:auto}
#te-selected .ehe-compact-list{display:flex;flex-direction:column;min-width:0}
#te-selected .ehe-compact-row{display:grid;grid-template-columns:40px minmax(0,1fr) 14px;align-items:start;gap:10px;padding:16px 0;border-bottom:1px solid #e3ebe4;color:#173b3d;text-decoration:none;min-width:0;min-height:60px}
#te-selected .ehe-compact-row:last-child{border-bottom:0}
#te-selected a.ehe-compact-row:hover .ehe-compact-title{text-decoration:underline;text-underline-offset:3px;color:#185b3b}
#te-selected .ehe-compact-date{display:flex;align-items:center;justify-content:center;flex-direction:column;width:40px;min-height:52px;padding:7px 3px;border:1px solid #dae7cf;border-radius:7px;background:#f0f6e9;color:#1c5238;line-height:1}
#te-selected .ehe-compact-date strong{font-size:24px;font-weight:800;letter-spacing:-.025em}
#te-selected .ehe-compact-date span{margin-top:5px;font-size:10px;font-weight:800;letter-spacing:.04em}
#te-selected .ehe-compact-copy{display:flex;flex-direction:column;min-width:0;gap:5px}
#te-selected .ehe-compact-copy .ehe-kind{font-size:11px;line-height:1.25;letter-spacing:.035em}
#te-selected .ehe-compact-title{font-size:16px;line-height:1.3;font-weight:800;color:#173b3d;overflow-wrap:anywhere}
#te-selected .ehe-compact-place,#te-selected .ehe-compact-range{font-size:12px;line-height:1.4;color:#607776;overflow-wrap:anywhere}
#te-selected .ehe-compact-state{font-size:12px;line-height:1.4;font-weight:700;color:#3b632d;overflow-wrap:anywhere}
#te-selected .ehe-compact-row>.ehe-icon{width:14px;height:14px;align-self:center;color:#286044}
#te-selected .ehe-compact-actions{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:8px;border-top:1px solid #e3ebe4;padding-top:13px;margin-top:1px}
#te-selected .ehe-compact-actions>*{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;min-width:0;padding:8px 6px;border:1px solid #cbdcc8;border-radius:6px;background:#f4f8f0;color:#1d5137;font:inherit;font-size:12px;line-height:1.3;font-weight:750;text-align:center;text-decoration:none;cursor:pointer}
#te-selected .ehe-compact-actions>button{background:#194c36;color:#fff;border-color:#194c36}
#te-selected .ehe-compact-actions>*:hover{box-shadow:inset 0 0 0 1px currentColor}
#te-selected .ehe-compact-actions .ehe-icon{width:14px;height:14px}
#te-selected .ehe-section--preview .ehe-empty{border:0;border-radius:0;padding:16px 0 13px;background:transparent}
#te-selected .ehe-section--preview .ehe-empty p{font-size:13px;line-height:1.5;margin:0 0 8px}
#te-selected .ehe-propose{display:inline-flex;align-items:center;gap:6px;min-height:44px;color:#185b3b;font-size:13px;font-weight:750}
#te-selected .ehe-section--preview .ehe-notice{margin:14px 0 10px;padding:10px 12px;font-size:13px;line-height:1.5}
@media(max-width:1100px) and (min-width:901px){#te-selected .ehe-section--preview{padding:18px}#te-selected .ehe-section--preview .ehe-heading h3{font-size:23px}}
@media(max-width:900px){#te-selected .ehe-compact-title{font-size:17px}}
@media(max-width:359px){#te-selected .ehe-section--preview{padding:16px}#te-selected .ehe-compact-row{gap:9px}#te-selected .ehe-compact-title{font-size:16px}}
