/* r9.90 — conditional editorial index system */
/* GS Editorial Index System: one visual grammar for bounded taxonomies/product families. */
.gsr-index-grid{--index-rule:#b6b3ab;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-flow:dense;border-top:1px solid var(--index-rule);border-left:1px solid var(--index-rule);background:#F4F1E8}
.gsr-index-card{--index-accent:#F2C300;min-width:0;overflow:hidden;border-right:1px solid var(--index-rule);border-bottom:1px solid var(--index-rule);background:#F4F1E8}
.gsr-index-card--accent-strategy{--index-accent:#F2C300}.gsr-index-card--accent-wordpress{--index-accent:#00A0D2}.gsr-index-card--accent-search{--index-accent:#3B82F6}.gsr-index-card--accent-performance{--index-accent:#FF9F43}.gsr-index-card--accent-marketing{--index-accent:#22B8A7}.gsr-index-card--accent-ai{--index-accent:#8B5CF6}.gsr-index-card--accent-software{--index-accent:#64748B}.gsr-index-card--accent-conversion{--index-accent:#D946EF}
.gsr-index-card__surface{height:100%;display:grid;grid-template-rows:minmax(152px,.78fr) auto;color:#0B0B0D;text-decoration:none;background:#F4F1E8}
a.gsr-index-card__surface:hover .gsr-index-card__cta,a.gsr-index-card__surface:focus-visible .gsr-index-card__cta{color:#0B0B0D;transform:translateX(4px)}
a.gsr-index-card__surface:focus-visible{outline:3px solid var(--index-accent);outline-offset:-3px}
.gsr-index-card__media,.gsr-plugin-panel__media{position:relative;min-height:152px;overflow:hidden;background:#0B0B0D;isolation:isolate}
.gsr-index-card__photo{position:absolute;inset:-7%;display:block;background-image:var(--gs-editorial-image,none);background-repeat:no-repeat;background-size:cover;background-position:56% 52%;filter:grayscale(1) brightness(.61) contrast(1.22);transform:scale(1.06);transition:transform .55s ease,filter .55s ease}
.gsr-index-card__media:before,.gsr-plugin-panel__media:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(7,7,8,.28),rgba(7,7,8,.02) 48%,rgba(7,7,8,.18));pointer-events:none}
.gsr-index-card__beam{position:absolute;z-index:2;right:19%;top:-36%;width:3px;height:174%;background:var(--index-accent);box-shadow:0 0 18px var(--index-accent);transform:rotate(35deg);transform-origin:center;pointer-events:none}
.gsr-index-card__media:after,.gsr-plugin-panel__media:after{content:"";position:absolute;z-index:3;left:0;right:0;bottom:0;width:100%;height:2px;background:var(--index-accent)}
a.gsr-index-card__surface:hover .gsr-index-card__photo,a.gsr-index-card__surface:focus-visible .gsr-index-card__photo{transform:scale(1.09);filter:grayscale(1) brightness(.69) contrast(1.2)}
.gsr-index-card__body{position:relative;display:flex;min-width:0;flex-direction:column;padding:clamp(24px,3vw,34px);background:#F4F1E8}

.gsr-index-card__body .gsr-card__index{margin-bottom:20px;color:#7C6300}
.gsr-index-card__body h3{max-width:20ch;margin:0 0 12px;font-family:var(--gs-display);font-size:clamp(1.7rem,3vw,2.55rem);font-weight:700;line-height:.96;letter-spacing:-.042em;color:#0B0B0D}
.gsr-index-card__body p{max-width:52ch;margin:0;color:#555861;line-height:1.56}
.gsr-index-card__cta{display:inline-flex;align-items:center;gap:8px;margin-top:26px;font-family:var(--gs-mono);font-size:.59rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#4E4A40;transition:transform .2s ease,color .2s ease}

/* Blog/Thinking: asymmetric taxonomy. */
.gsr-index-grid--blog{grid-auto-rows:minmax(220px,auto)}
.gsr-index-card--blog-wordpress{grid-column:1/span 7;grid-row:1/span 2}.gsr-index-card--blog-search{grid-column:8/span 5;grid-row:1}.gsr-index-card--blog-performance{grid-column:8/span 5;grid-row:2}.gsr-index-card--blog-marketing{grid-column:1/span 5;grid-row:3}.gsr-index-card--blog-ai{grid-column:6/span 7;grid-row:3}
.gsr-index-card--blog-wordpress .gsr-index-card__surface{grid-template-rows:minmax(320px,1fr) auto}
.gsr-index-card--blog-wordpress .gsr-index-card__photo{background-position:33% 70%;transform:scale(1.08)}
.gsr-index-card--blog-search .gsr-index-card__photo{background-position:30% 30%;transform:scale(1.2)}.gsr-index-card--blog-search .gsr-index-card__beam{right:25%;top:-48%;transform:rotate(31deg)}
.gsr-index-card--blog-performance .gsr-index-card__photo{background-position:36% 76%;transform:scale(1.16)}.gsr-index-card--blog-performance .gsr-index-card__beam{right:38%;transform:rotate(42deg)}
.gsr-index-card--blog-marketing .gsr-index-card__photo{background-position:31% 80%;transform:scale(1.2)}.gsr-index-card--blog-marketing .gsr-index-card__beam{right:10%;transform:rotate(29deg)}
.gsr-index-card--blog-ai .gsr-index-card__photo{background-position:38% 56%;transform:scale(1.14)}.gsr-index-card--blog-ai .gsr-index-card__beam{right:46%;transform:rotate(38deg)}

/* System: same grammar, different semantic composition. */
.gsr-index-grid--system{grid-auto-rows:minmax(250px,auto)}
.gsr-index-card--system-brand{grid-column:1/span 5;grid-row:1}.gsr-index-card--system-webgen{grid-column:6/span 7;grid-row:1}.gsr-index-card--system-cms{grid-column:1/span 7;grid-row:2}.gsr-index-card--system-automation{grid-column:8/span 5;grid-row:2}.gsr-index-card--system-plugins{grid-column:1/span 12;grid-row:3}
.gsr-index-card--system-plugins .gsr-index-card__surface{grid-template-columns:minmax(0,1.04fr) minmax(320px,.96fr);grid-template-rows:minmax(270px,1fr)}
.gsr-index-card--system-plugins .gsr-index-card__media{border-right:1px solid var(--index-rule)}
.gsr-index-card--system-brand .gsr-index-card__photo{background-position:31% 72%;transform:scale(1.16)}.gsr-index-card--system-webgen .gsr-index-card__photo{background-position:37% 36%;transform:scale(1.13)}.gsr-index-card--system-cms .gsr-index-card__photo{background-position:34% 78%;transform:scale(1.18)}.gsr-index-card--system-automation .gsr-index-card__photo{background-position:38% 58%;transform:scale(1.13)}.gsr-index-card--system-plugins .gsr-index-card__photo{background-position:35% 62%;transform:scale(1.03)}

/* Complete plugin explorer. No JS = all 18 readable; enhanced = one page at a time. */
.gsr-plugin-explorer-section{scroll-margin-top:84px}
.gsr-plugin-explorer{--index-accent:#00A0D2;border:1px solid #b6b3ab;background:#F4F1E8}
.gsr-plugin-explorer:focus{}
.gsr-plugin-explorer__toolbar{min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 14px;border-bottom:1px solid #b6b3ab;background:#0B0B0D}
.gsr-plugin-explorer__select{max-width:min(520px,72vw);height:38px;padding:0 34px 0 12px;border:1px solid #34363B;border-radius:0;background:#15161A;color:#F4F1E8;font-family:var(--gs-mono);font-size:.58rem;letter-spacing:.05em;text-transform:uppercase}
.gsr-plugin-explorer__status{font-family:var(--gs-mono);font-size:.58rem;letter-spacing:.1em;color:#A9A69D;white-space:nowrap}
.gsr-plugin-explorer__panels{display:grid}
.gsr-plugin-panel{--index-accent:#00A0D2;display:grid;grid-template-columns:minmax(0,1.02fr) minmax(360px,.98fr);min-height:420px}
.gsr-plugin-panel[hidden]{display:none}
.gsr-plugin-panel+.gsr-plugin-panel{border-top:1px solid #b6b3ab}
.gsr-plugin-panel__media{min-height:420px;border-right:1px solid #b6b3ab}
.gsr-plugin-panel__media .gsr-index-card__photo{background-position:35% 66%;transform:scale(1.08)}
.gsr-plugin-panel__number{position:absolute;z-index:4;left:24px;bottom:22px;font-family:var(--gs-mono);font-size:clamp(2.4rem,6vw,5.4rem);line-height:1;font-weight:600;letter-spacing:-.06em;color:rgba(244,241,232,.9)}
.gsr-plugin-panel__body{display:flex;flex-direction:column;justify-content:flex-end;min-width:0;padding:clamp(32px,5vw,64px);background:#F4F1E8}
.gsr-plugin-panel__meta{display:flex;justify-content:space-between;gap:16px;margin-bottom:auto;padding-bottom:34px;font-family:var(--gs-mono);font-size:.57rem;letter-spacing:.1em;text-transform:uppercase;color:#66645E}
.gsr-plugin-panel__body h3{margin:0 0 18px;max-width:14ch;font-family:var(--gs-display);font-size:clamp(2.7rem,5.3vw,5.9rem);font-weight:700;line-height:.87;letter-spacing:-.06em;color:#0B0B0D}
.gsr-plugin-panel__body p{max-width:47ch;margin:0;font-size:1rem;line-height:1.62;color:#4F5158}
.gsr-plugin-explorer__nav{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #b6b3ab}
.gsr-plugin-explorer__nav button{min-height:58px;padding:0 22px;border:0;background:#F4F1E8;color:#0B0B0D;font-family:var(--gs-mono);font-size:.6rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.gsr-plugin-explorer__nav button+button{border-left:1px solid #b6b3ab}
.gsr-plugin-explorer__nav button:first-child{text-align:left}.gsr-plugin-explorer__nav button:last-child{text-align:right}
.gsr-plugin-explorer__nav button:hover,.gsr-plugin-explorer__nav button:focus-visible{background:#0B0B0D;color:#F4F1E8}

@media(min-width:768px) and (max-width:1099px){
 .gsr-index-grid--blog,.gsr-index-grid--system{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto}
 .gsr-index-grid--blog .gsr-index-card,.gsr-index-grid--system .gsr-index-card{grid-column:auto;grid-row:auto}
 .gsr-index-card--blog-wordpress,.gsr-index-card--blog-ai,.gsr-index-card--system-plugins{grid-column:1/3}
 .gsr-index-card--blog-wordpress .gsr-index-card__surface{grid-template-rows:minmax(260px,1fr) auto}
 .gsr-index-card--system-plugins .gsr-index-card__surface{grid-template-columns:1fr 1fr;grid-template-rows:minmax(250px,auto)}
 .gsr-plugin-panel{grid-template-columns:1fr 1fr}
}
@media(max-width:767px){
 .gsr-index-grid--blog,.gsr-index-grid--system{grid-template-columns:1fr;grid-auto-rows:auto}
 .gsr-index-grid--blog .gsr-index-card,.gsr-index-grid--system .gsr-index-card{grid-column:1;grid-row:auto}
 .gsr-index-card__surface,.gsr-index-card--blog-wordpress .gsr-index-card__surface,.gsr-index-card--system-plugins .gsr-index-card__surface{grid-template-columns:1fr;grid-template-rows:180px auto}
 .gsr-index-card--system-plugins .gsr-index-card__media{border-right:0}
 .gsr-index-card__body{padding:24px}
 .gsr-index-card__body h3{font-size:clamp(1.75rem,8vw,2.45rem)}
 .gsr-plugin-explorer__toolbar{align-items:stretch;flex-direction:column;gap:8px;padding:12px}
 .gsr-plugin-explorer__select{width:100%;max-width:none}
 .gsr-plugin-explorer__status{align-self:flex-end}
 .gsr-plugin-panel{grid-template-columns:1fr;min-height:0}
 .gsr-plugin-panel__media{min-height:230px;border-right:0;border-bottom:1px solid #b6b3ab}
 .gsr-plugin-panel__body{min-height:320px;padding:30px 24px 34px}
 .gsr-plugin-panel__body h3{font-size:clamp(2.5rem,13vw,4.4rem)}
 .gsr-plugin-panel__meta{padding-bottom:46px}
 .gsr-plugin-explorer__nav button{min-height:62px;padding:0 14px;font-size:.55rem}
}
@media(prefers-reduced-motion:reduce){.gsr-index-card__photo,.gsr-index-card__cta{transition:none}}


/* r9.16 system recovery + editorial image/rule polish */
/* Source-image crop is owned by the r9.24 single-beam contract below. */

/* r9.17 import-safe plugin explorer: presentation stays in CSS, never inline markup. */
.gsr-plugin-explorer--accent-wordpress{--index-accent:#00A0D2}
.gsr-plugin-explorer--accent-ai{--index-accent:#8B5CF6}
.gsr-plugin-explorer--accent-marketing{--index-accent:#22B8A7}
.gsr-plugin-explorer--accent-strategy{--index-accent:#F2C300}
.gsr-plugin-explorer--accent-software{--index-accent:#64748B}
.gsr-plugin-explorer--accent-search{--index-accent:#3B82F6}
.gsr-plugin-explorer--accent-performance{--index-accent:#FF9F43}
.gsr-plugin-explorer__noscript{padding:20px}


/* r10.03.2 — editorial tile identity glyphs */
.gsr-index-card__identity{
  position:absolute;z-index:4;left:clamp(16px,2vw,24px);top:clamp(16px,2vw,24px);
  display:grid;place-items:center;width:38px;height:38px;
  border:1px solid var(--index-accent);
  background:rgba(11,11,13,.72);color:var(--index-accent);
  backdrop-filter:blur(3px);box-shadow:0 0 0 1px rgba(255,255,255,.035) inset;
}
.gsr-index-card__identity svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:square;stroke-linejoin:miter}
.gsr-index-card__surface:hover .gsr-index-card__identity,
.gsr-index-card__surface:focus-visible .gsr-index-card__identity{background:#0B0B0D;transform:translateY(-2px)}
.gsr-index-card__identity{transition:transform .22s ease,background .22s ease}
@media(max-width:620px){.gsr-index-card__identity{width:34px;height:34px;left:14px;top:14px}.gsr-index-card__identity svg{width:17px;height:17px}}
@media(prefers-reduced-motion:reduce){.gsr-index-card__identity{transition:none}}

/* r10.03.3 — icon clarity + slightly larger blog glyphs */
.gsr-index-card__identity{width:40px;height:40px}
.gsr-index-card__identity svg{width:21px;height:21px}
@media(max-width:620px){.gsr-index-card__identity{width:36px;height:36px}.gsr-index-card__identity svg{width:18px;height:18px}}
