/*!
 * Ariade: utility styles. Loaded only on pages that use these blocks or templates (see inc/styles.php).
 * Author: Shivaji Mitra / M/S. Anblik
 */
/* ===== Utility pages: 404 + coming soon ===== */
.ariade-nf-thread,.ariade-nf-navy,.ariade-cs-gradient,.ariade-cs-thread{text-align:center}
.nf-chips{list-style:none;display:flex;gap:.7rem;flex-wrap:wrap;justify-content:center;margin:1.4rem 0 0;padding:0}
.nf-chips a{display:inline-flex;align-items:center;gap:.5rem;border:1.5px solid rgba(14,27,54,.14);border-radius:999px;padding:.45rem 1rem;text-decoration:none;color:#0e1b36;font-weight:600;font-size:.85rem;transition:border-color .18s ease,background .18s ease,color .18s ease}
.nf-chips li:nth-child(4n+1) a:hover,.nf-chips li:nth-child(4n+1) a:focus-visible{border-color:#534ab7;background:#f6f5fd;color:#534ab7}
.nf-chips li:nth-child(4n+2) a:hover,.nf-chips li:nth-child(4n+2) a:focus-visible{border-color:#a52752;background:#fdf3f7;color:#a52752}
.nf-chips li:nth-child(4n+3) a:hover,.nf-chips li:nth-child(4n+3) a:focus-visible{border-color:#0e7c6b;background:#eefaf7;color:#0e7c6b}
.nf-chips li:nth-child(4n) a:hover,.nf-chips li:nth-child(4n) a:focus-visible{border-color:#9a5500;background:#fff8ec;color:#9a5500}
.ariade-nf-thread .wp-block-search,.ariade-nf-navy .wp-block-search,.ariade-cs-gradient .wp-block-search,.ariade-cs-thread .wp-block-search{max-width:520px;margin:1.4rem auto 0}
.ariade-nf-thread .wp-block-buttons,.ariade-nf-navy .wp-block-buttons,.ariade-cs-gradient .wp-block-buttons,.ariade-cs-thread .wp-block-buttons{justify-content:center;margin-top:1.1rem}
.nf-quip{font-family:var(--body);font-size:1.25rem;font-weight:600;line-height:1.35;letter-spacing:0;margin:1rem 0 .2rem}
.nf-sub{color:#3c4a63;margin:0}
/* 404 A: lost thread */
main .ariade-nf-thread.ariade-nf-thread{padding-block:2.5rem 1rem}
.ariade-nf-thread .nf-big{position:relative;display:inline-block;font-size:clamp(5rem,14vw,7.5rem);font-weight:800;line-height:1;letter-spacing:.02em;margin:0;color:#0e1b36}
.ariade-nf-thread .nf-big .nf-o{color:#534ab7}
.ariade-nf-thread .nf-big svg{position:absolute;left:-8%;top:52%;width:116%;height:40px;overflow:visible;pointer-events:none}
/* 404 B: navy compass */
main .ariade-nf-navy.ariade-nf-navy{background:#0e1b36;color:#fff;border-radius:20px;padding:2.6rem 1.6rem;position:relative;overflow:hidden;margin-block:2rem 1rem}
.ariade-nf-navy::before{content:"404";content:"404" / "";position:absolute;right:-1rem;bottom:-3.2rem;font-size:11rem;font-weight:800;line-height:1;color:rgba(255,255,255,.05);pointer-events:none}
.ariade-nf-navy .nf-big{font-size:clamp(4rem,11vw,5.5rem);font-weight:800;line-height:1;margin:0;color:#cdd5ff}
@supports (-webkit-background-clip:text) or (background-clip:text){
  .ariade-nf-navy .nf-big{background:linear-gradient(90deg,#9aa8ff,#ff9dbd);-webkit-background-clip:text;background-clip:text;color:transparent}
}
.ariade-nf-navy .nf-quip{color:#fff}
.ariade-nf-navy .nf-sub{color:#c6cde2}
.ariade-nf-navy .nf-chips a{border-color:rgba(255,255,255,.35);color:#e8ecfa}
.ariade-nf-navy .nf-chips li a:hover,.ariade-nf-navy .nf-chips li a:focus-visible{border-color:#ff9dbd;background:rgba(255,255,255,.08);color:#ffd9ea}
.ariade-nf-navy .wp-block-search .wp-block-search__button{background:#fff;color:#0e1b36}
/* CS A: gradient launchpad */
main .ariade-cs-gradient.ariade-cs-gradient{background:linear-gradient(100deg,#2743d0 0%,#7a2fd6 55%,#c02582 100%);border-radius:20px;padding:3rem 1.6rem;color:#fff;margin-block:2rem 1rem}
.ariade-cs-gradient .cs-kick{color:#ffd9ea;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin:0 0 .6rem}
.ariade-cs-gradient h2{font-size:clamp(1.9rem,5vw,2.6rem);text-transform:uppercase;margin:0 0 .4rem;color:#fff;letter-spacing:.02em}
.ariade-cs-gradient .cs-sub{color:#efe6ff;max-width:46ch;margin:0 auto}
.ariade-cs-gradient .wp-block-button__link{background:#fff;color:#0e1b36}
main .ariade-cs-gradient ul.cs-peek.cs-peek{list-style:none;display:flex;gap:1.6rem;justify-content:center;margin:1.8rem 0 0;padding:0;flex-wrap:wrap}
.ariade-cs-gradient .cs-peek li{color:#f2e6ff;font-size:.85rem}
.ariade-cs-gradient .cs-peek li::before{content:"\2713  ";content:"\2713  " / "";color:#7ee3cf;font-weight:800}
/* CS B: thread progress */
main .ariade-cs-thread.ariade-cs-thread{padding-block:2rem .5rem}
.ariade-cs-thread .cs-kick{color:#a52752;font-size:.72rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;margin:0 0 .5rem}
.ariade-cs-thread h2{font-size:clamp(1.8rem,5vw,2.4rem);text-transform:uppercase;margin:0 0 .3rem}
.ariade-cs-thread h2 em{font-style:normal;color:#534ab7;border-bottom:4px solid #d4537e;padding-bottom:.05em}
.ariade-cs-thread .cs-sub{color:#3c4a63;max-width:52ch;margin:0 auto}
main .ariade-cs-thread ul.cs-steps.cs-steps{list-style:none;display:flex;justify-content:center;margin:2.2rem auto 0;padding:0;max-width:640px}
.ariade-cs-thread .cs-steps li{flex:1;position:relative;text-align:center;padding-top:2.2rem;margin:0}
.ariade-cs-thread .cs-steps li::before{content:"";position:absolute;top:.7rem;left:0;right:0;height:3px;background:linear-gradient(90deg,#534ab7,#d4537e)}
.ariade-cs-thread .cs-steps li:first-child::before{left:50%}
.ariade-cs-thread .cs-steps li:last-child::before{right:50%}
.ariade-cs-thread .cs-steps li::after{content:"\2713";content:"\2713" / "";position:absolute;top:0;left:50%;transform:translateX(-50%);width:1.7rem;height:1.7rem;border-radius:50%;background:#fff;border:3px solid #534ab7;color:#534ab7;font-weight:800;display:inline-flex;align-items:center;justify-content:center;font-size:.8rem}
.ariade-cs-thread .cs-steps li.cs-now::after{content:"\2026";content:"\2026" / "";background:#534ab7;color:#fff}
.ariade-cs-thread .cs-steps li.cs-todo::after{content:"";background:#fff;border-color:rgba(14,27,54,.25)}
.ariade-cs-thread .cs-steps li.cs-todo::before{background:rgba(14,27,54,.15)}
.ariade-cs-thread .cs-steps strong{display:block;color:#0e1b36;font-size:.8rem;margin-top:.2rem}
.ariade-cs-thread .cs-steps .cs-state{display:block;font-size:.62rem;letter-spacing:.05em;text-transform:uppercase;color:#3c4a63}
/* ================= Search results page (Option A: gradient hero + card grid) ================= */
/* Reset the default page hero so our own gradient band sits flush under the header */
.ariade-search-main > .ariade-page-hero,
.wp-site-blocks .ariade-search-main .ariade-page-hero{display:none}
.ariade-search-main{padding-top:0!important}
/* Gradient hero band with count and inline search form */
.ariade-search-hero{color:#0e1b36;padding:clamp(2.2rem,4vw,3.4rem) 1.4rem clamp(2.2rem,4vw,3rem);border-radius:0;margin:0;position:relative;overflow:hidden}
.ariade-search-hero__inner{max-width:1100px;margin:0 auto;padding:0 1rem}
.ariade-search-hero__eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#534ab7;margin:0 0 .35rem}
.ariade-search-hero__title{font-family:var(--wp--preset--font-family--display,"Barlow Semi Condensed",system-ui,sans-serif);font-size:var(--ariade-page-title-size,var(--wp--preset--font-size--xx-large));font-weight:700;color:#0e1b36;margin:0 0 1.1rem;line-height:1.1;text-transform:uppercase}
.ariade-search-hero__form{display:flex;gap:.5rem;max-width:640px;margin:0 auto;justify-content:center}
.ariade-search-hero__input{flex:1;min-width:0;padding:.7rem .95rem;border:1.5px solid rgba(14,27,54,.18);border-radius:10px;font-size:.95rem;background:#fff;color:#0e1b36;font-family:inherit}
.ariade-search-hero__input::placeholder{color:#64748b}
.ariade-search-hero__input:focus-visible{outline:3px solid #534ab7;outline-offset:2px}
.ariade-search-hero__submit{background:#0e1b36;color:#fff;border:0;border-radius:10px;padding:.7rem 1.4rem;font-weight:600;font-size:.9rem;cursor:pointer;white-space:nowrap;font-family:inherit}
.ariade-search-hero__submit:hover{background:#0a1428}
.ariade-search-hero__submit:focus-visible{outline:3px solid #534ab7;outline-offset:2px}
/* Results card grid */
.ariade-search-results{padding:2.8rem 1rem 0;max-width:1100px;margin:0 auto}
.ariade-search-grid{list-style:none!important;padding:0!important;margin:0 0 2rem;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem}
.ariade-search-card{background:#fff;border:1.5px solid rgba(14,27,54,.12);border-radius:14px;padding:1.05rem 1.15rem;box-shadow:0 1px 3px rgba(14,27,54,.05);display:flex;flex-direction:column;gap:.45rem;transition:transform .15s ease,box-shadow .15s ease}
.ariade-search-card:hover{transform:translateY(-2px);box-shadow:0 4px 14px rgba(14,27,54,.08);border-color:rgba(83,74,183,.35)}
.ariade-search-card__badge{display:inline-block;align-self:flex-start;font-size:.65rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;padding:.22rem .6rem;border-radius:999px;line-height:1.4}
.ariade-search-card__title{margin:.15rem 0 0;font-size:1.05rem;line-height:1.35;font-weight:600;color:#0e1b36}
.ariade-search-card__title a{color:#0e1b36;text-decoration:underline;text-decoration-color:#534ab7;text-decoration-thickness:1.5px;text-underline-offset:3px}
.ariade-search-card__title a:hover{text-decoration-color:#0e1b36}
.ariade-search-card__title a:focus-visible{outline:2px solid #534ab7;outline-offset:2px;border-radius:2px}
.ariade-search-card__excerpt{margin:0;font-size:.85rem;line-height:1.5;color:#3c4a63}
.ariade-search-card__price{margin:.35rem 0 0;font-size:.95rem;font-weight:600;color:#a52752}
.ariade-search-card__price del{color:#64748b;font-weight:400;margin-right:.35rem}
.ariade-search-card__price ins{background:none;text-decoration:none;color:#a52752}
/* Pagination: see the consolidated ".ariade-search-pagination" block further
   down (centred, 48px tap targets). The earlier small/left pagination rules that
   lived here were removed in 1.4.73: they conflicted with that block: in
   particular an old ":hover:not(.current)" light background outranked the new
   hover, leaving white text on a pale background (invisible "Next"). */
/* Empty state */
.ariade-search-empty{text-align:center;padding:2.5rem 1rem;background:#f6f5fd;border:1.5px dashed rgba(83,74,183,.35);border-radius:14px;margin:0 0 2rem}
.ariade-search-empty__title{font-size:1.2rem;font-weight:600;color:#0e1b36;margin:0 0 .35rem}
.ariade-search-empty__hint{margin:0;font-size:.9rem;color:#3c4a63;line-height:1.5}
/* Mobile */
@media (max-width:600px){
  .ariade-search-hero{padding:1.8rem 1rem}
  .ariade-search-results{padding-top:1.8rem}
  .ariade-search-hero__form{flex-direction:column;gap:.5rem}
  .ariade-search-hero__submit{width:100%}
  .ariade-search-grid{grid-template-columns:1fr}
}
/* Search results pagination (the_posts_pagination). Core renders this left-
   aligned and small; bring it in line with the centred blog / shop query-
   pagination -- centred, comfortably spaced above and below, and sized to a
   48px tap target (meets WCAG 2.5.5 Target Size AAA). */
.ariade-search-pagination{margin-block:clamp(2.4rem,5vw,3.4rem)}
.ariade-search-pagination .nav-links{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.6rem}
.ariade-search-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:48px;padding:0 1rem;border:2px solid var(--line,#DCE4F0);border-radius:12px;background:var(--white,#fff);color:var(--ink,#0E1B36);font-family:var(--display,"Barlow Semi Condensed",system-ui,sans-serif);font-weight:700;font-size:1.05rem;line-height:1;text-decoration:none;transition:background .15s ease,border-color .15s ease,color .15s ease}
.ariade-search-pagination .page-numbers.current{background:var(--ink,#0E1B36);border-color:var(--ink,#0E1B36);color:#fff}
.ariade-search-pagination a.page-numbers:hover,
.ariade-search-pagination a.page-numbers:focus-visible{background:var(--ink,#0E1B36);border-color:var(--ink,#0E1B36);color:#fff}
.ariade-search-pagination a.page-numbers:focus-visible{outline:3px solid var(--ink,#0E1B36);outline-offset:3px}
.ariade-search-pagination .page-numbers.dots{border:0;background:none;min-width:0;padding:0 .35rem;color:var(--body,#2B3B57)}
.ariade-search-pagination .page-numbers.prev,
.ariade-search-pagination .page-numbers.next{padding:0 1.25rem}
/* ================= Sitemap page (Option A: type-tinted section cards) ================= */
.ariade-sitemap-main > .ariade-page-hero{display:none}
.ariade-sitemap-main{padding-top:0!important}
/* Gradient hero band (same family as search page) */
.ariade-sitemap-hero{color:#0e1b36;padding:clamp(2.2rem,4vw,3.4rem) 1.4rem clamp(2.2rem,4vw,3rem);margin:0;position:relative;overflow:hidden}
.ariade-sitemap-hero__inner{max-width:1160px;margin:0 auto;padding:0 1rem}
.ariade-sitemap-hero__eyebrow{font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#534ab7;margin:0 0 .35rem}
.ariade-sitemap-hero__title{font-family:var(--wp--preset--font-family--display,"Barlow Semi Condensed",system-ui,sans-serif);font-size:var(--ariade-page-title-size,var(--wp--preset--font-size--xx-large));font-weight:700;color:#0e1b36;margin:0 0 .6rem;line-height:1.1;text-transform:uppercase}
.ariade-sitemap-hero__lead{font-size:1.35rem;color:#3c4a63;margin:0 auto;max-width:52ch;line-height:1.55}
/* Grid of section cards */
.ariade-sitemap-grid{max-width:1160px;margin:0 auto;padding:2.8rem 1rem 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;align-items:start}
/* Section card */
.ariade-sitemap-card{background:#fff;border:1.5px solid rgba(14,27,54,.12);border-top-width:3px;border-radius:14px;padding:1rem 1.15rem 1.15rem;box-shadow:0 1px 3px rgba(14,27,54,.05)}
.ariade-sitemap-card--pages{border-top-color:#534ab7}
.ariade-sitemap-card--blog{border-top-color:#d4537e}
.ariade-sitemap-card--products{border-top-color:#0e7c6b}
.ariade-sitemap-card--portfolio{border-top-color:#185fa5}
.ariade-sitemap-card__title{display:flex;justify-content:space-between;align-items:baseline;margin:0 0 .85rem;font-size:.92rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#0e1b36}
.ariade-sitemap-card--pages .ariade-sitemap-card__title>span:first-child{color:#3c3489}
.ariade-sitemap-card--blog .ariade-sitemap-card__title>span:first-child{color:#993556}
.ariade-sitemap-card--products .ariade-sitemap-card__title>span:first-child{color:#0f6e56}
.ariade-sitemap-card--portfolio .ariade-sitemap-card__title>span:first-child{color:#0c447c}
.ariade-sitemap-card__count{font-size:.78rem;font-weight:500;color:#64748b;letter-spacing:0;text-transform:none}
.ariade-sitemap-card__subhead{font-size:.8rem;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.07em;margin:1.6rem 0 .5rem;line-height:1.3}
.ariade-sitemap-card__subhead:first-of-type{margin-top:0}
.ariade-sitemap-card--pages .ariade-sitemap-card__subhead{color:#534ab7}
.ariade-sitemap-card--blog .ariade-sitemap-card__subhead{color:#993556}
.ariade-sitemap-card--products .ariade-sitemap-card__subhead{color:#0f6e56}
.ariade-sitemap-card--portfolio .ariade-sitemap-card__subhead{color:#185fa5}
.ariade-sitemap-card__list{list-style:none!important;padding:0!important;margin:0}
.ariade-sitemap-card__list>li{margin:0;font-size:.78rem;line-height:1.55}
.ariade-sitemap-card__list a{color:#0e1b36;font-weight:400!important;text-decoration:underline;text-decoration-color:#534ab7;text-underline-offset:3px;text-decoration-thickness:1.5px;display:inline-block;padding:.2rem 0;min-height:24px;line-height:1.4}
.ariade-sitemap-card__list a:hover{text-decoration-color:#0e1b36;text-decoration-thickness:2px}
.ariade-sitemap-card__list a:focus-visible{outline:2px solid #534ab7;outline-offset:2px;border-radius:2px}
/* Nested child pages */
.ariade-sitemap-children{list-style:none!important;padding:0 0 0 .85rem!important;margin:.25rem 0 .3rem!important;border-left:1.5px solid #eeedfe}
.ariade-sitemap-children>li{margin:0;font-size:.72rem;line-height:1.45}
.ariade-sitemap-children a{color:#3c4a63;font-weight:400!important;text-decoration-color:#d8d5e8;display:inline-block;padding:.25rem 0;min-height:24px;line-height:1.45}
.ariade-sitemap-children a:hover{color:#0e1b36;text-decoration-color:#534ab7}
@media (max-width:600px){
  .ariade-sitemap-hero{padding:1.8rem 1rem}
  .ariade-sitemap-grid{padding-top:1.8rem}
}
/* Cart welcome band positioned by the_content filter: sits at the top of the cart entry-content.
   Reuses .ariade-account-band styling; only needs margin tuning here because it is not in a grid. */
/* ================= Ariade Sitemap block: markers, view-all, pagination (v1.4.70) ================= */
/* List markers (chosen in the block: Dot / Square / Dash / None / Custom). Decorative only. */
.ariade-sitemap-card__list.is-marker-dot > li,
.ariade-sitemap-card__list.is-marker-square > li,
.ariade-sitemap-card__list.is-marker-dash > li,
.ariade-sitemap-card__list.is-marker-custom > li{position:relative;padding-left:1.1rem}
.ariade-sitemap-card__list.is-marker-dot > li::before,
.ariade-sitemap-card__list.is-marker-square > li::before{content:"";position:absolute;left:.12rem;top:.72em;width:6px;height:6px;background:rgba(14,27,54,.38)}
.ariade-sitemap-card__list.is-marker-dot > li::before{border-radius:50%}
.ariade-sitemap-card__list.is-marker-square > li::before{border-radius:1px}
.ariade-sitemap-card__list.is-marker-dash > li::before{content:"\2013";position:absolute;left:0;top:.15em;color:rgba(14,27,54,.5);font-weight:600}
.ariade-sitemap-card__list.is-marker-custom > li::before{content:var(--ariade-sm-marker,"\2022");position:absolute;left:0;top:.15em;color:rgba(14,27,54,.62);line-height:1.5}
.ariade-sitemap-card__list.is-marker-none > li{padding-left:0}
/* Nested child pages stay clean regardless of the parent marker. */
.ariade-sitemap-children > li{padding-left:0}
.ariade-sitemap-children > li::before{display:none}
/* "View all NN in {category}" archive link (cap mode). */
.ariade-sitemap-viewall{display:inline-block;margin:.15rem 0 .5rem;font-size:.76rem;font-weight:600;color:#534ab7;text-decoration:none}
.ariade-sitemap-viewall::after{content:" \2192"}
.ariade-sitemap-viewall:hover{text-decoration:underline}
.ariade-sitemap-viewall:focus-visible{outline:2px solid #534ab7;outline-offset:2px;border-radius:2px}
.ariade-sitemap-more{margin:.15rem 0 .5rem;font-size:.74rem;color:#64748b}
/* Numbered pagination (paginate mode). */
.ariade-sitemap-pager{display:flex;flex-wrap:wrap;gap:.3rem;margin:.8rem 0 0}
.ariade-sitemap-pager__num{min-width:1.9rem;height:1.9rem;display:inline-flex;align-items:center;justify-content:center;padding:0 .4rem;border:1.5px solid rgba(14,27,54,.14);border-radius:7px;font-size:.76rem;font-weight:600;color:#0e1b36;text-decoration:none;line-height:1}
.ariade-sitemap-pager__num:hover{background:#f6f5fd;border-color:#534ab7}
.ariade-sitemap-pager__num.is-current{background:#0e1b36;color:#fff;border-color:#0e1b36}
.ariade-sitemap-pager__num:focus-visible{outline:2px solid #534ab7;outline-offset:2px}
.ariade-sitemap-empty{text-align:center;color:#64748b;padding:2rem 1rem}
