/* Styles for the core-block markup the pages are stored in (so the admin block editor can edit them). */

/* buttons block -> same look as .btn */
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
.wp-block-buttons.btns{margin-block:1.4rem 0}
.wp-block-buttons .wp-block-button{margin:0}
.wp-block-buttons .wp-block-button__link{display:inline-flex;align-items:center;gap:.5rem;padding:.7rem 1.25rem;border-radius:10px;border:1px solid transparent;font:inherit;font-weight:700;line-height:1.3;text-decoration:none;height:auto;word-break:normal;transition:.15s;background:var(--primary);color:var(--on-primary)}
.wp-block-buttons .is-primary .wp-block-button__link{background:var(--primary);color:var(--on-primary);box-shadow:0 8px 24px color-mix(in srgb,var(--primary) 30%,transparent)}
.wp-block-buttons .is-primary .wp-block-button__link:hover{background:var(--accent);color:#1a1200}
.wp-block-buttons .is-ghost .wp-block-button__link{background:transparent;color:var(--text);border-color:var(--line-2);box-shadow:none}
.wp-block-buttons .is-ghost .wp-block-button__link:hover{border-color:var(--primary);color:var(--primary)}
.wp-block-buttons .is-white .wp-block-button__link{background:#fff;color:#0b0d1c;border-color:#fff}
.wp-block-buttons .is-white .wp-block-button__link:hover{background:#f6c453;border-color:#f6c453}
.hero .is-ghost .wp-block-button__link,.band .is-ghost .wp-block-button__link{color:#fff;border-color:rgba(255,255,255,.38)}
.hero .is-ghost .wp-block-button__link:hover,.band .is-ghost .wp-block-button__link:hover{color:#2dd4bf;border-color:#2dd4bf}
.h-hero .wp-block-button__link{padding:.85rem 1.5rem}
.h-join .wp-block-buttons,.center-line .wp-block-buttons{justify-content:center}

/* link cards: the card's call-to-action (or title) link is stretched over the whole card */
.card.is-link{position:relative;transition:.16s}
.card.is-link .go a::after,.card.is-link:not(:has(.go)) h3 a::after{content:"";position:absolute;inset:0;z-index:2}
.card.is-link h3 a{color:inherit;text-decoration:none}
.card.is-link .go a{color:inherit;text-decoration:none;display:inline-flex;align-items:center;gap:.3rem}
.card.is-link:hover{border-color:var(--c,var(--primary));transform:translateY(-3px);box-shadow:0 18px 40px color-mix(in srgb,var(--c,var(--primary)) 22%,transparent)}
.card .go{margin:.6rem 0 0}
.h-start .card.is-link:hover .go{background:var(--accent);color:#1a1200!important}
.h-start .card.is-link:hover{transform:translateY(-3px)}

/* paragraphs that replaced inline spans */
p.card-ic{margin-block-end:.9rem}
p.time{margin-block-end:.7rem}
p.h-chip{margin-block-end:1.1rem}
p.h-eyebrow{margin:0 0 .7rem}
p.h-pill{margin:0}
.h-pill::before{content:"";width:.55rem;height:.55rem;border-radius:50%;background:#34d399;animation:ping 2s infinite}
p.hero-tags{margin-block-end:0}
p.link-mid{margin:0}
p.b-stat{margin:0}
.b-stat strong{display:block;font-size:clamp(2.6rem,6vw,4.4rem);font-weight:900;line-height:1.1}
.h-sale :is(.grid-3,.grid-4)>.card strong{display:block;font-size:clamp(2.2rem,4.5vw,3.4rem);font-weight:900;line-height:1.15;color:var(--text)}
.h-sale :is(.grid-3,.grid-4)>.card p{margin:0}
.grid-4>.card>p:first-child>strong:only-child{font-size:1.5rem}
.h-sale :is(.grid-3,.grid-4)>.card>p:first-child>strong:only-child{font-size:clamp(2.2rem,4.5vw,3.4rem)}
.center-line a,.more-line a{font-weight:700;text-decoration:none}

/* callouts: the icon sits in its own first paragraph */
.callout>p:first-child:has(>.ic:only-child){margin:0;flex:none}
.callout .ic{color:var(--info)}
.callout-warn .ic{color:var(--warn)}
.callout-ok .ic{color:var(--ok)}
.callout-bad .ic{color:var(--bad)}
.callout>p:last-child,.callout>.wp-block-group>p:last-child{margin-block-end:0}

/* tables and code */
figure.wp-block-table{margin:1.2rem 0}
.wp-block-table table{table-layout:auto;width:100%}
.wp-block-table thead{border:0}
pre.wp-block-code{white-space:pre}
pre.wp-block-code code{background:none;padding:0;color:inherit}

/* lists */
ul.wp-block-list,ol.wp-block-list{padding-inline-start:1.4rem}
.legend.wp-block-list{padding:0}
.legend li::before{content:"";width:.9rem;height:.9rem;border-radius:4px;flex:none;background:var(--primary)}
.legend li:nth-child(2)::before{background:var(--info)}
.legend li:nth-child(3)::before{background:var(--accent)}

/* FAQ (details block) */
details.faq>:not(summary){padding-inline:1.2rem;color:var(--muted)}
details.faq>:last-child{padding-block-end:1rem}
details.faq summary{list-style:none}

/* glossary cards */
.gloss .card p{margin:0}
.gloss .card p+p{margin-block-start:.3rem;color:var(--muted)}

/* uploaded logo (Customize > Site Identity) */
.brand-img{display:block;height:2.6rem;width:auto;max-width:9rem;object-fit:contain}
.brand-img.brand-lg{height:3rem;margin-inline-end:.4rem}

/* groups never get the classic inner container, but keep things safe if one appears */
.wp-block-group__inner-container{display:contents}

/* learn section: numbered guide cards ([sur_guides]), guide meta line, previous/next */
ol.guides{list-style:none;margin:1.2rem 0 2rem;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:1rem;counter-reset:none}
.guide-card{display:flex;flex-direction:column}
.guide-card h3{margin:.2rem 0 .5rem;font-size:1.12rem;line-height:1.5}
.guide-card p{margin:0 0 .8rem;color:var(--muted)}
.guide-card .g-step{display:inline-block;align-self:flex-start;margin:0 0 .5rem;padding:.15rem .7rem;border-radius:99px;background:color-mix(in srgb,var(--primary) 12%,transparent);color:var(--primary);font-size:.8rem;font-weight:800}
.guide-card .g-meta{margin:auto 0 0;font-size:.82rem;color:var(--faint)}
.g-meta{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem;font-size:.88rem}
.g-meta .ic{width:1rem;height:1rem}
.page-head .g-meta{color:inherit;opacity:.8;margin:.6rem 0 0}
.guide-nav{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:2.5rem 0 1rem}
.guide-nav .gn{display:flex;flex-direction:column;gap:.25rem;padding:1rem 1.2rem;border:1px solid var(--line);border-radius:14px;text-decoration:none;color:inherit;transition:.15s}
.guide-nav a.gn:hover{border-color:var(--primary);transform:translateY(-2px)}
.guide-nav .gn span{font-size:.82rem;color:var(--muted)}
.guide-nav .gn b{color:var(--text);line-height:1.5}
.guide-nav .gn-next{text-align:end}
.guide-nav .gn-empty{border:0}
.guide-back{margin:0 0 1rem}
.guide-back a{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;text-decoration:none}
.guide-back .ic{width:1.1rem;height:1.1rem;transform:scaleX(-1)}
[dir="rtl"] .guide-back .ic{transform:none}
@media (max-width:600px){.guide-nav{grid-template-columns:1fr}.guide-nav .gn-empty{display:none}.guide-nav .gn-next{text-align:start}}
p.formula{margin:1rem 0;padding:.8rem 1.1rem;border-radius:12px;background:color-mix(in srgb,var(--primary) 8%,transparent);border-inline-start:3px solid var(--primary)}

/* ideas page: category label above the card title */
.idea-cat{margin:0 0 .3rem;font-size:.78rem;font-weight:700;color:var(--primary)}
#ideas-grid>.card h3{margin-block-start:0}
#ideas-grid>.card p:not(.idea-cat):not(.muted){margin-block-end:.7rem}
.ideas-feature{margin-block:1rem 1.4rem}
.ideas-feature>.card{padding:1.8rem;border-color:color-mix(in srgb,var(--primary) 45%,var(--line));box-shadow:0 14px 36px color-mix(in srgb,var(--primary) 10%,transparent)}
.ideas-feature>.card h3{font-size:1.3rem;margin-block-end:.6rem}
.ideas-feature ul{padding-inline-start:1.2rem;margin:1rem 0 0}
.ideas-feature li{margin-block:.55rem;color:var(--muted)}
.ideas-feature li b{color:var(--text)}
/* exactly three columns (two rows of three for six cards) */
.grid.grid-fixed-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){.grid.grid-fixed-3{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.grid.grid-fixed-3{grid-template-columns:1fr}}
/* WordPress prints its own table-block CSS inline (.wp-block-table td{border:1px solid;padding:.5em} and a 3px thead border) AFTER our stylesheet with the same specificity,
   so it drew a dark full border on every cell: square cell corners poked out of the rounded wrapper and the last row lost its bottom line. figure.wp-block-table wins. */
figure.wp-block-table td,figure.wp-block-table th{border:0;border-block-end:1px solid var(--line);padding:.7rem .9rem}
figure.wp-block-table thead,figure.wp-block-table tfoot{border:0}
figure.wp-block-table tbody tr:last-child td{border-block-end:0}
/* light vertical dividers between columns (none after the last column) */
figure.wp-block-table td,figure.wp-block-table th{border-inline-end:1px solid var(--line)}
figure.wp-block-table td:last-child,figure.wp-block-table th:last-child{border-inline-end:0}
/* an odd last card spans the full row (two-column layout), so no half-empty row is left */
.grid.grid-span-last>.card:last-child:nth-child(odd){grid-column:1/-1}
