/* Only the explicitly added Networking Experiences grid and story cards. */
.cye-nw-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0 0;align-items:stretch}
.cye-nw-grid>.wp-block-group__inner-container{display:contents}
.cye-nw-story{display:flex;flex-direction:column;min-width:0;height:100%;margin:0;overflow:hidden;border:1px solid var(--line-strong,#ffffff26);border-radius:8px;background:var(--surface,#15191b);color:var(--white,#fff)}
.cye-nw-story .cye-nw-story-image{margin:0;aspect-ratio:3/2;overflow:hidden;background:var(--raised,#1c2224)}
.cye-nw-story-image img{display:block;width:100%;height:100%;object-fit:cover}
.cye-nw-story .cye-nw-story-copy{display:flex;flex-direction:column;flex:1;gap:0;padding:24px}
.cye-nw-story .cye-nw-story-brand,.cye-brochure .cye-nw-story .cye-nw-story-brand{margin:0 0 12px;color:var(--green,#24d186);font-size:11px;font-weight:600;letter-spacing:.1em;line-height:1.5;text-transform:uppercase}
.cye-nw-story h3,.cye-brochure .cye-nw-story h3{font-size:19px;line-height:1.35;letter-spacing:-.01em;margin:0 0 14px;max-width:none;color:inherit;overflow-wrap:anywhere}
.cye-nw-story .cye-nw-story-excerpt{margin:0 0 20px;max-width:none;color:var(--muted,#b5bdbc);font-size:15px;line-height:1.65}
.cye-nw-story .cye-nw-story-link{display:inline-flex;align-items:center;align-self:flex-start;gap:10px;min-height:44px;margin-top:auto;color:var(--green,#24d186);font-size:13px;font-weight:600;text-decoration:none}
.cye-nw-story-link:hover{text-decoration:underline;text-underline-offset:4px}
.cye-nw-story-link:focus-visible{outline:2px solid currentColor;outline-offset:4px;border-radius:2px}
@media(max-width:1000px){.cye-nw-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
@media(max-width:600px){.cye-nw-grid{grid-template-columns:1fr;gap:20px;margin-top:28px}.cye-nw-story .cye-nw-story-copy{padding:22px}.cye-nw-story h3,.cye-brochure .cye-nw-story h3{font-size:18px}}
/* Keep the native List View, mover and inspector controls available in the editor. */
.editor-styles-wrapper .cye-nw-grid{gap:20px}
.editor-styles-wrapper .cye-nw-grid>.block-editor-inner-blocks>.block-editor-block-list__layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.editor-styles-wrapper .cye-nw-grid>.block-editor-inner-blocks{grid-column:1/-1}
.editor-styles-wrapper .cye-nw-grid .wp-block-cye-networking-story{display:flex;flex-direction:column;margin:0;min-width:0}
.editor-styles-wrapper .cye-nw-story{height:auto;flex:1;--surface:#fff;--raised:#f0f0f1;--white:#1e1e1e;--muted:#50575e;--line-strong:#c3c4c7;--green:#146c43}
.editor-styles-wrapper .cye-nw-editor-note{font:13px/1.5 system-ui,sans-serif;color:#50575e;margin:0 0 12px}
.editor-styles-wrapper .cye-nw-editor-empty{padding:24px;border:1px dashed #8c8f94;background:#fff}
.cye-nw-editor-controls .components-button{margin:4px 8px 8px 0}
/* Searchable gallery. Controls are revealed only after enhancement succeeds. */
.cye-nw-gallery{margin-top:36px;min-width:0}
.cye-nw-gallery [hidden]{display:none!important}
/* Match the existing Brochures library toolbar: plain underline filters and compact search. */
.cye-nw-gallery .cye-nw-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,300px);align-items:center;gap:16px 28px;padding:0 0 20px;margin:0;border:0;border-bottom:1px solid var(--line-strong,#ffffff26);border-radius:0;background:transparent}
.cye-nw-gallery .cye-nw-search{grid-column:2;grid-row:1;min-width:0;width:100%;max-width:300px}
.cye-nw-gallery .cye-nw-search label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);white-space:nowrap;border:0}
.cye-nw-gallery .cye-nw-search-field{display:flex;align-items:center;min-width:0;height:44px;gap:8px;padding:0 12px 0 0;border:1px solid var(--line-strong,#ffffff26);border-radius:6px;background:var(--surface,#15191b);transition:border-color .2s}
.cye-nw-gallery .cye-nw-search-field:focus-within{border-color:var(--green,#24d186)}
.cye-nw-gallery .cye-nw-search input{display:block;flex:1;width:100%;min-width:0;min-height:42px;height:42px;margin:0;padding:10px 0 10px 14px;border:0;border-radius:6px;background:transparent;box-shadow:none;color:var(--white,#fff);font:inherit;font-size:14px;line-height:1.4;outline:0}
.cye-nw-gallery .cye-nw-search input::placeholder{color:var(--muted,#b5bdbc);opacity:1;font-size:14px}
.cye-nw-gallery .cye-nw-clear{display:inline-flex;align-items:center;flex:0 0 auto;min-height:44px;margin:0;padding:10px 2px;border:0;border-radius:0;background:transparent;color:var(--muted,#b5bdbc);font:inherit;font-size:12px;line-height:1.4;cursor:pointer;text-decoration:underline;text-underline-offset:4px;transition:color .2s}
.cye-nw-gallery .cye-nw-clear:hover{color:var(--green,#24d186)}
.cye-nw-gallery .cye-nw-filters{grid-column:1;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:4px 20px;min-width:0;margin:0;padding:0}
.cye-nw-gallery .cye-nw-filters button{position:relative;flex:0 0 auto;min-height:44px;max-width:100%;margin:0;padding:10px 2px;border:0;border-radius:0;background:transparent;color:var(--muted,#b5bdbc);font:inherit;font-size:13px;font-weight:500;line-height:1.4;cursor:pointer;transition:color .2s}
.cye-nw-gallery .cye-nw-filters button::after{content:"";position:absolute;left:2px;right:2px;bottom:0;height:2px;background:var(--green,#24d186);opacity:0;transition:opacity .2s}
.cye-nw-gallery .cye-nw-filters button:hover,.cye-nw-gallery .cye-nw-filters button[aria-pressed=true]{color:var(--green,#24d186)}
.cye-nw-gallery .cye-nw-filters button[aria-pressed=true]::after{opacity:1}
.cye-nw-gallery .cye-nw-no-results button{display:inline-flex;align-items:center;min-height:44px;padding:10px 2px;border:0;border-radius:0;background:transparent;color:var(--green,#24d186);font:inherit;font-size:12px;line-height:1.4;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.cye-nw-gallery button:focus-visible{outline:2px solid var(--green,#24d186);outline-offset:4px}
.cye-nw-gallery .cye-nw-count,.cye-brochure .cye-nw-gallery .cye-nw-count{margin:12px 0 0;padding:0;color:var(--muted,#b5bdbc);font-size:12px;line-height:1.6;font-variant-numeric:tabular-nums;letter-spacing:0}
.cye-nw-gallery .cye-nw-grid{margin-top:18px}
.cye-nw-gallery .cye-nw-story{transition:border-color .2s,box-shadow .2s}
.cye-nw-gallery .cye-nw-story:hover,.cye-nw-gallery .cye-nw-story:focus-within{border-color:var(--green,#24d186);box-shadow:0 12px 30px #0002}
.cye-nw-gallery .cye-nw-no-results{padding:48px 24px;margin:18px 0 0;border:1px dashed var(--line-strong,#ffffff26);border-radius:8px;text-align:center}
.cye-nw-gallery .cye-nw-no-results h3{margin:0 0 12px;font-size:23px;line-height:1.3;color:inherit}
.cye-nw-gallery .cye-nw-no-results p,.cye-nw-gallery .cye-nw-unavailable{margin:0 0 20px;max-width:none;color:var(--muted,#b5bdbc);font-size:15px;line-height:1.6}
.cye-nw-gallery .cye-nw-no-results button{color:var(--green,#24d186)}
.cye-nw-editor-summary{padding:18px 20px;border:1px solid #c3c4c7;border-left:3px solid #146c43;background:#fff;color:#1e1e1e;font:14px/1.6 system-ui,sans-serif}
.cye-nw-editor-summary p{margin:4px 0 0!important;font:13px/1.6 system-ui,sans-serif!important;color:#50575e!important}
.cye-nw-selected-stories,.cye-nw-altitude-stories{margin:20px 0 0;padding-left:22px}
.cye-nw-selected-stories>li{padding:0 0 12px;margin-bottom:12px;border-bottom:1px solid #ddd}
.cye-nw-selected-title{display:block;line-height:1.5;font-weight:500}
.cye-nw-altitude-stories>li{margin:0 0 10px;line-height:1.5}
.cye-nw-altitude-stories small{color:#50575e}
.editor-styles-wrapper .cye-nw-gallery-editor .cye-nw-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.editor-styles-wrapper .cye-nw-gallery-editor .cye-nw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cye-nw-gallery .cye-nw-tools{grid-template-columns:1fr;gap:10px;padding-bottom:16px}.cye-nw-gallery .cye-nw-search{grid-column:1;grid-row:1;max-width:none}.cye-nw-gallery .cye-nw-search input{font-size:16px}.cye-nw-gallery .cye-nw-filters{grid-column:1;grid-row:2;gap:4px 16px}.cye-nw-gallery .cye-nw-filters button{padding:10px 2px;font-size:12px}}
@media(max-width:600px){.cye-nw-gallery{margin-top:28px}.cye-nw-gallery .cye-nw-no-results{padding:32px 18px}.editor-styles-wrapper .cye-nw-gallery-editor .cye-nw-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.cye-nw-gallery .cye-nw-story,.cye-nw-gallery .cye-nw-filters button,.cye-nw-gallery .cye-nw-no-results button{transition:none}}
@media(max-width:1000px){.editor-styles-wrapper .cye-nw-grid>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.editor-styles-wrapper .cye-nw-grid>.block-editor-inner-blocks>.block-editor-block-list__layout{grid-template-columns:1fr}}
@media print{.cye-nw-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cye-nw-story{break-inside:avoid;background:#fff;color:#111;border-color:#bbb}.cye-nw-story .cye-nw-story-excerpt{color:#333}.cye-nw-story .cye-nw-story-link,.cye-nw-story .cye-nw-story-brand,.cye-brochure .cye-nw-story .cye-nw-story-brand{color:#146c43}}
@media print{.cye-nw-gallery .cye-nw-tools,.cye-nw-gallery .cye-nw-count,.cye-nw-gallery .cye-nw-no-results{display:none!important}.cye-nw-gallery [data-nw-card][hidden]{display:flex!important}.cye-nw-gallery .cye-nw-story{box-shadow:none}}
