.guide-content,
.guide-content tr,
.guide-content td {
  font-size: 16px;
  line-height: 1.6;
}

.guide-content td h3 {
  font-size: 28px !important;
  line-height: 1.4 !important;
}

.guide-content table h3 {
  font-size: 18px !important;
}

h2 {
  font-size: 32px !important;
  padding-left: 9px;
  border-left: 1px teal solid;
  font-weight: 700 !important;
}

h3 {
  font-size: 28px !important;
  font-weight: 700 !important;
}

h4 {
  font-size: 24px !important;
  margin-top: 0 !important;
  font-weight: 700 !important;
}

h5 {
  font-size: 20px !important;
  font-weight: 700 !important;
}

.s_newpar--cream h4,
.s_newpar h4,
.s_newpar--teal h5 {
  margin-top: 16px !important;
}

.h5-table {
  margin-top: 23px;
  margin-bottom: 4px;
}

.h4-p {
  font-size: 24px;
  line-height: 1.4;
}

.extra-margin {
  margin-top: 32px !important;
}

table h4 {
  font-size: 18px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: inline-block !important;
}

.h5-p {
  margin-top: 4px !important;
}

.width-d-6 {
  width: 60% !important;
}

.width-d-5 {
  width: 50% !important;
}

.width-d-4 {
  width: 40% !important;
}

.width-d-3 {
  width: 30% !important;
}

.width-d-2 {
  width: 20% !important;
}

.width-d-1 {
  width: 10% !important;
}

.no-margin {
  margin: 0 !important;
}

.separator-3 {
  margin-bottom: 30px !important;
}

.separator-4 {
  margin-bottom: 40px !important;
}

.separator-5 {
  margin-bottom: 50px !important;
}

.separator-6 {
  margin-bottom: 60px !important;
}

.full-width {
  width: 100% !important;
  max-width: 100% !important;
}

.flex-container {
  display: flex;
  justify-content: space-around;
}

figure {
  text-align: center;
}

figcaption {
  font-size: 14px;
  max-width: 700px;
  margin: 10px auto 0 !important;
  text-align: left;
}

.icon-3 {
  font-size: 30px;
  vertical-align: middle;
}

.s_newpar {
  background: linear-gradient(45deg, #CCF2FF, #F3F8FF);
  border: solid 1px #CCF2FF;
}

.s_newpar--cream,
.ais_scenario_box {
  background: linear-gradient(45deg, #FFF3CF, #FEFFF5);
  border: solid 1px #fcedc6;
}

.s_newpar--teal {
  background: linear-gradient(45deg, #e6f4f1, #ecf2f8);
  border: solid 1px #cfe9ee;
}

.s_newpar--grey {
  background: linear-gradient(45deg, #f3f4f6, #fdfdfd);
  border: solid 1px #dedfe0;
}

.ais_scenario_box--blue {
  background: linear-gradient(45deg, #45818e, #8cc0cc);
  border: solid 1px #45738e;
}

.hljs {
  background: linear-gradient(45deg, #f3f3f3, #fdfdfd) !important;
  border: solid 1px #dfdfdf;
}

.ais_codeblock {
  background: linear-gradient(45deg, #f3f3f3, #fdfdfd) !important;
  border: solid 1px #dfdfdf;
}

.ais_codeblock--teal,
.ais_codeblock.ais_codeblock--teal {
  background: linear-gradient(45deg, #e6f4f1, #ecf2f8) !important;
  border: solid 1px #cfe9ee !important;
}

table thead tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

table thead tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

.ais_codeblock summary {
  background: transparent;
}

i.fa-regular.fa-gear,
i.fa-solid.fa-key-skeleton {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

i.fa-solid.fa-chess-pawn {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

pre code.hljs,
.ais_scenario_box,
.s_newpar,
.s_newpar--cream,
.s_newpar--teal,
.s_newpar--grey,
.ais_scenario_box--light,
.ais_codeblock {
  border-radius: 10px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 40px !important;
  padding-right: 20px !important;
}

pre code.hljs {
  padding: 10px !important;
  font-size: 13px !important;
  font-weight: bold !important;
}

/* table background gradient */
table.t__col-accent-table thead tr th {
    background: #eeeeee !important;
}

table.t__col-accent-table tbody tr td {
    background: #ffffff;
}

table.t__col-accent-table {
    background: linear-gradient(180deg, #1BAAA0 0%, #0E544F 100%);
    background-repeat: no-repeat;
    border-radius: 10px;
}

table.transparent-bg-1 tbody tr td:first-child,
table.transparent-bg-2 tbody tr td:nth-child(2),
table.transparent-bg-last tbody tr td:last-child {
    background: transparent !important;
}

table.t--col-blue-2 tbody tr td:nth-child(2),
table.t--col-blue-3 tbody tr td:nth-child(3),
table.t--col-blue-last tbody tr td:last-child,
.t--col-blue-c {
    background: #CCF2FF !important;
}

/* pre code.hljs {
  background: transparent !important;
  border: none;
} */

.ais_codeblock .ais_codeblock__pre code.hljs {
  border: none;
}

.ais_codeblock__pre {
  background: transparent;
}

.ais_scenario_box p {
  margin: 0;
}

.ais_codeblock__p {
  padding: 10px 10px 30px 40px !important;
  margin: 0;
}

table {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.ais_scenario_box table {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.word-wrap {
  word-wrap: break-word;
}

.t.w-40-60 {
  table-layout: auto !important;
  width: 100%;
}

.t.w-40-60 tbody td:nth-child(1) {
  width: 40%;
}

.t.w-40-60 tbody td:nth-child(2) {
  width: 60%;
}

.t {
  --t-border: #0f172a;
  --t-head-bg: #fff3cf;
  --t-head-fg: #0f172a;
  --t-stripe: #f3f4f6;
  --t-accent: #cfe0ff;
  --t-col-accent: #cfe0ff;
  --t-second-accent: #002b44;
  --t-band: #3f7e8a;
  --t-band-fg: #ffffff;

  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 16px;
  line-height: 1.35;
}

.t.t--roles3 {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.t.t--roles3 td,
.t.t--roles3 th {
  border: 0 !important;
  padding: 8px 18px;
  vertical-align: top;
}

.t.t--roles3 tr:nth-child(1) td {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 4px;
}

.t.t--roles3 tr:nth-child(1) td>p {
  margin: 0;
  font-size: 34pt;
  font-weight: 700;
  line-height: 1;
}


.t.t--roles3 tr:nth-child(2) td {
  padding-top: 0;
  padding-bottom: 8px;
}


.t.t--roles3 tr:nth-child(2) td>p {
  margin: 0;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 700;
}

.t.t--roles3 tr:nth-child(2) td>p {
  word-break: normal;
}


.t.t--roles3 ul.start {
  margin: 0;
  padding-left: 22px;
}

.t.t--roles3 ul.start li {
  margin: 6px 0;
}

.t.t--roles3 ul.start li {
  font-weight: 500;
}


.t.t--roles3.t--roles3a {
  --c1: #1a73e8;

  --c2: #2e7d32;

  --c3: #6a1b9a;

}

.t.t--roles3.t--roles3b {
  --c1: #b45f06;

  --c2: #6a1b9a;

  --c3: #1a73e8;
}


.t.t--roles3 tr:nth-child(1) td:nth-child(1)>p,
.t.t--roles3 tr:nth-child(2) td:nth-child(1)>p {
  color: var(--c1);
}

.t.t--roles3 tr:nth-child(1) td:nth-child(2)>p,
.t.t--roles3 tr:nth-child(2) td:nth-child(2)>p {
  color: var(--c2);
}

.t.t--roles3 tr:nth-child(1) td:nth-child(3)>p,
.t.t--roles3 tr:nth-child(2) td:nth-child(3)>p {
  color: var(--c3);
}

.t th,
.t td {
  padding: 12px 14px;
  vertical-align: top;
}

.m-10 {
  margin-top: 10px !important;
  margin-bottom: 10px !important;
}

.text-center {
  text-align: center !important;
}

.text-left {
  text-align: left !important;
}

.text-bold {
  font-weight: 700 !important;
}

.text-white {
  color: #ffffff !important;
}

.text-normal {
  font-style: normal !important;
}

.text-teal {
  color: #00B2A9;
}

.text-black {
  color: #0f172a !important;
}

.sub-margin-top {
  margin-top: -15px !important;
}

.sub-margin-top-extra {
  margin-top: -30px !important;
}

.icon {
  width: 1em;
  height: 1em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -0.125em;
}

.icon--xs {
  width: 12px;
  height: 12px;
}

.icon--sm {
  width: 14px;
  height: 14px;
}

.icon--md {
  width: 16px;
  height: 16px;
}

.icon--lg {
  width: 20px;
  height: 20px;
}

.icon--muted {
  color: #999;
}

.icon--primary {
  color: var(--color-primary);
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-4 {
  margin-top: 4px !important;
}

.mt-8 {
  margin-top: 8px !important;
}

/* .ais_card_icon {
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  background: linear-gradient(135deg, rgb(251, 188, 5) 0%, rgb(46, 183, 172) 100%) text;
} */

/* .mono-icon,
.ais_icon--build,
.ais_icon--managed {
  -webkit-text-fill-color: transparent;
  color: transparent !important;
  background: linear-gradient(135deg, #EA4335 0%, #2EB7AC 100%);
  background: linear-gradient(135deg, #ff3928 0%, #012336 100%) text;
  background: linear-gradient(135deg, rgb(251, 188, 5) 0%, rgb(46, 183, 172) 100%) text;
  background: linear-gradient(135deg, #75e3ff 0%, #020644 100%) text;
  filter: 
    drop-shadow(0 0 1px #fff) 
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));    
} */

.icon-gradient {
  color: #000000;
  background: linear-gradient(135deg, #EA4335 0%, #2EB7AC 70%) text;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ais_icon--build {
  padding-top: 2px;
  padding-bottom: 2px;
}

.ais_icon--build,
.ais_icon--managed {
  margin-right: 0;
}

.t thead th {
  background: #eee;
  color: var(--t-head-fg);
  font-style: italic;
  font-weight: 500;
}

.t--grid th,
.t--grid td {
  border: 1px solid var(--t-border);
}


.t--stripe tbody tr:nth-child(even) td {
  background: var(--t-stripe);
}


.t--row-blue tbody tr.is-accent td {
  background: var(--t-accent);
}

.t .t__band td,
.t .t__band th {
  background: var(--t-band);
  color: var(--t-band-fg);
  font-weight: 700;
}

.t .t__head td {
  background: var(--t-head-bg) !important;
  color: var(--t-head-fg);
  font-style: italic;
  font-weight: 500;
}

.t__k {
  font-weight: 700;
  white-space: nowrap;
}

.t--border-orange {
  --t-border: #fe7301;
}

.t--border-green {
  --t-border: #1aaba0;
}

.t--border-teal {
  --t-border: #3f7e8a;
}

.t--head-yellow {
  --t-head-bg: #fff3cf;
  --t-head-fg: #0f172a;
}

.t--head-grey {
  --t-head-bg: #eeeeee;
  --t-head-fg: #0f172a;
}

.t--head-teal {
  --t-head-bg: #3f7e8a;
  --t-head-fg: #ffffff;
}

.t--head-white {
  --t-head-bg: #ffffff;
  --t-head-fg: #0f172a;
}

.t--stripe-gray {
  --t-stripe: #f3f4f6;
}

.t--stripe-blue {
  --t-stripe: #e7efff;
}

.t--accent-blue {
  --t-accent: #cfe0ff;
}

.t--accent-teal {
  --t-accent: #cfe9ee;
}

.t--accent-cream {
  --t-accent: #fff3cf;
}

.t--band-teal {
  --t-band: #3f7e8a;
  --t-band-fg: #ffffff;
}

.t--band-navy {
  --t-band: #002b44;
  --t-band-fg: #ffffff;
}

.t .t__col-accent {
  background: linear-gradient(295deg, #1BAAA0 0%, #0E544F 100%);
}

.t .t__col-second {
  background: #CCF2FF;
}

.text-heavy-blue {
  color: #45818e;
}

.t--col-blue {
  --t-col-accent: #cfe0ff;
}

.t--col-heavy-blue {
  --t-col-accent: #45818e;
}

.t--col-teal {
  --t-col-accent: #cfe9ee;
}

.t--col-cream {
  --t-col-accent: #fff3cf;
}

.t--second-teal {
  --t-second-accent: #3f7e8a;
}

.t .t__band td,
.t .t__band th {
  background: linear-gradient(295deg, #1BAAA0 0%, #0E544F 100%);
}

.t--gen {
  --t-head-bg: #fff3cf;
  --t-head-fg: #0f172a;
  --t-row-white: #ffffff;
  --t-row-gray: #f3f4f6;
  --t-row-blue: #cfe0ff;
  --t-band: #3f7e8a;
  --t-band-fg: #ffffff;
}


.fig-container {
  max-width: 700px;
  margin: 0 auto;
  display: block;
}

.t--gen .t__r--head td {
  background: var(--t-head-bg) !important;
  color: var(--t-head-fg);
}

.t--gen .t__r--white td {
  background: var(--t-row-white) !important;
}

.t--gen .t__r--gray td {
  background: var(--t-row-gray) !important;
}

.t--gen .t__r--blue td {
  background: var(--t-row-blue) !important;
}

.t--gen .t__r--band td {
  background: var(--t-band) !important;
  color: var(--t-band-fg);
}


.t--gen .t__r--head td {
  font-style: italic;
}


.t--gen td>p {
  margin: 0;
}

.ais_heading {
  margin: 28px 0 14px;
}

.ais_heading__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.ais_heading__supra {
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85em;
  opacity: 0.85;
}

.ais_heading__num {
  font-weight: 700;
  white-space: nowrap;
  font-size: 0.95em;
  opacity: 0.9;
}

.ais_heading__title {
  margin: 0;
}

.ais_diagram {
  width: 100%;
  overflow: auto;
}

.no-space {
  white-space: normal;
}

.t.t--ais {
  table-layout: fixed;
}

.t.t--ais td,
.t.t--ais th {
  padding: 10px 12px;
}

.t.t--ais td:first-child,
.t.t--ais th:first-child {
  width: 56px;
  text-align: center;
  padding-left: 8px;
  padding-right: 8px;
  vertical-align: top;
}

.t.t--ais td>p,
.t.t--ais th>p,
.t.t--ais td>h3,
.t.t--ais th>h3 {
  margin: 0;
}

.t.t--ais td>h3+p {
  margin-top: 4px;
}

.t.t--ais td>p+p {
  margin-top: 6px;
}

.t.t--case {
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.t.t--case td {
  border: 0 !important;
  padding: 10px 14px;
  vertical-align: middle;
}

.t.t--case .case__icon {
  width: 90px;
  padding: 0 18px 0 0;
  background: transparent;
}

.t.t--case .case__icon .case__box {
  font-size: 76px;
  line-height: 1;
  color: #0b4a55;
  display: inline-block;
}

.t.t--case .case__label {
  width: 210px;
  font-weight: 700;
}

.t.t--case .case__label--dark {
  background: #3f7e8a;
  color: #ffffff;
}

.t.t--case .case__label--light {
  background: #cfe0ff;
  color: #3f7e8a;
}

.t.t--case .case__value {
  background: #f3f4f6;
  color: #0f172a;
}

.t.t--case .case__value p {
  margin: 0;
}

.t.t--ais td:first-child>p,
.t.t--ais td:first-child .ais_icon {
  font-size: 36pt;
  font-weight: 700;
  color: #45818e;
  line-height: 1;
  margin: 0;
}


.t.t--ais td:first-child>p {
  padding-top: 2px;
}

.guide-content [id] {
  scroll-margin-top: 180px;
}

.guide-content .guide-heading {
  margin-top: 48px;
  margin-bottom: 48px;
}

.guide-content .guide-final-note {
  margin-top: 48px;
  margin-bottom: 32px;
}

.guide-content h4 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.guide-content p,
.guide-content a {
  padding-top: 8px;
  padding-bottom: 8px;
}

.guide-content table,
tbody,
tr,
td,
th {
  margin-bottom: 32px;
  margin-top: 32px;
}

/* .guide-content figure {
  margin-bottom: 32px;
  margin-top: 32px;
} */

.guide-content ul,
ol {
  margin-left: -16px;
}

.mono-icon {
  padding-top: 2px;
  padding-bottom: 2px;
}

.chapter-wrapper .ais_hero_headline,
.chapter-wrapper .ais_hero_pill {
  background-color: white;
  padding: 15px;
  color: black !important;
}

.chapter-wrapper .ais_hero_headline {
  font-weight: normal;
  font-size: 2.5rem;
}

.chapter-wrapper .ais_hero_headline strong {
  font-weight: 700;

}

.chapter-wrapper .ais_hero_supra {
  background-color: white;
  padding-left: 15px;
}

.chapter-wrapper {
  position: relative;
  background-color: white;
  padding: 15px;
  color: black !important;
  overflow: hidden;
}

.chapter-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0px;
  transform: translateY(-40%);
  width: min(200px, 40vw);
  aspect-ratio: 1 / 1;
  background-image: url(/images/new-guide/icons/rectangle.svg);
  background-size: 100% 100%, 100% 100%;
  background-repeat: no-repeat;
  background-position: 20px 20px;
}

.chapter-4-5 .chapter-wrapper::after {
  background-image: url(/images/new-guide/icons/circle-5.svg);
}

.chapter-4-1 .chapter-wrapper::after {
  background-image: url(/images/new-guide/icons/circle-1.svg);
}

.chapter-4-2 .chapter-wrapper::after {
  background-image: url(/images/new-guide/icons/circle-2.svg);
}

.chapter-4-3 .chapter-wrapper::after {
  background-image: url(/images/new-guide/icons/circle-3.svg);
}

.chapter-4-4 .chapter-wrapper::after {
  background-image: url(/images/new-guide/icons/circle-4.svg);
}

.chapter-4-6 .chapter-wrapper::after {
  background-image: url(/images/new-guide/icons/circle-6.svg);
}

.chapter-4-7 .chapter-wrapper::after {
  background-image: url(/images/new-guide/icons/circle-7.svg);
}


.chapter-wrapper .number_chapter {
  display: inline-block;
  width: auto;
  min-width: 32px;
  height: 32px;
  line-height: 32px;
  border-radius: 12px;
  color: white !important;
  text-align: center;
  margin-left: 8px;
}

.chapter-wrapper .ais_hero_pill {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mosaic-section {
  margin: 52px 0;
}

.mosaic-section .guide-heading {
  margin-bottom: 14px;
}

.mosaic-section .guide-heading__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mosaic-section .guide-heading__supra {
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, .70);
}

.mosaic-section .guide-heading__num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--t-head-bg);
  color: var(--t-head-fg);
  border: 1px solid rgba(15, 23, 42, .12);
  font-weight: 900;
  text-decoration: none;
}

.mosaic-section__desc {
  margin: 10px 0 0;
  max-width: 75ch;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(15, 23, 42, .90);
}



.mosaic-shell {
  position: relative;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  padding: 22px;
  border-radius: 18px;

  background: url(/images/new-guide/guide-4/cover2.png) center / cover no-repeat;
  overflow: hidden;
}

.mosaic-shell::before {
  content: "";
  position: absolute;

  width: 580px;
  height: 580px;

  background: url(/images/new-guide/icons/circle-1.svg) no-repeat center / contain;
  pointer-events: none;


  filter: brightness(150%) grayscale(100%);
  opacity: 0.3;

}

.mosaic-section:nth-of-type(1) .mosaic-shell::before {
  top: 200px;
  left: -30px;
}

.mosaic-section:nth-of-type(2) .mosaic-shell::before {
  right: -100px;
  bottom: -90px;
}

.mosaic-section:nth-of-type(3) .mosaic-shell::before {
  top: 200px;
  left: -30px;
}

.mosaic-section:nth-of-type(4) .mosaic-shell::before {
  right: -100px;
  bottom: -90px;
}

.mosaic-section:nth-of-type(5) .mosaic-shell::before {
  top: 200px;
  left: -30px;
}

.mosaic-section:nth-of-type(6) .mosaic-shell::before {
  bottom: -30px;
  right: 50px;
}


.mosaic-hero {
  padding: 28px 26px;
  border-radius: 14px;
  color: #fff !important;
  align-self: start;
}

.mosaic-hero h2 {
  margin: 0 0 18px 0;
  font-size: 36px !important;
  line-height: 1.02;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  border-left: 0px solid transparent;
  padding-left: 0px;
}

.mosaic-hero p {

  font-size: 20px;
  color: var(--t-border);
  margin: 0;
  position: relative;
  z-index: 1;
}

.mosaic-grid {
  --radius: 18px;
  --gap: 16px;
  display: grid;
  grid-template-columns: auto auto;
  gap: var(--gap);

  position: relative;
  overflow: hidden;
  border-radius: var(--radius);

  padding: clamp(16px, 2.2vw, 24px);
  margin-top: 18px;

}


.mosaic-grid>* {
  position: relative;
  z-index: 1;
}


.mosaic-tile {
  --tile-radius: 16px;

  position: relative;
  border-radius: var(--tile-radius);
  padding: 18px 18px 16px 18px;

  display: flex;
  flex-direction: column;
  gap: 10px;


  background: rgba(255, 255, 255);
  border: 1px solid rgba(15, 23, 42, .14);

  box-shadow:
    0 10px 26px rgba(2, 6, 23, .10);

  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none;
  color: inherit;
}

.mosaic-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-top-left-radius: var(--tile-radius);
  border-bottom-left-radius: var(--tile-radius);
  background: linear-gradient(180deg, var(--t-band), var(--t-second-accent));
}


.mosaic-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--tile-radius);
  background:
    linear-gradient(0deg, rgba(243, 244, 246, .55), rgba(243, 244, 246, 0) 55%);
  pointer-events: none;
  opacity: .7;
}

.mosaic-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 23, 42, .22);
  box-shadow:
    0 18px 44px rgba(2, 6, 23, .16);
}


.mosaic-tile:focus,
.mosaic-tile:focus-within {
  outline: 3px solid rgba(207, 224, 255, .95);
  outline-offset: 3px;
}


.mosaic-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;

  color: teal;
  background: var(--t-band);
  padding: 6px 0px;
  border-radius: 999px;
  width: fit-content;

  position: relative;
  z-index: 1;
}

.mosaic-title {
  font-size: 18px;
  font-weight: 900;
  color: var(--t-border);
  margin: 0;

  position: relative;
  z-index: 1;
}

.gallery-title {
  font-size: 40px;
  font-weight: 500;
  color: var(--t-border);
  margin-bottom: -20px;
}

.mosaic-desc {
  font-size: 14px;
  color: rgba(15, 23, 42, .88);
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;

  position: relative;
  z-index: 1;
}

.mosaic-link {
  margin-top: 6px;
  font-weight: 900;
  color: var(--t-second-accent);

  display: inline-flex;
  align-items: center;
  gap: 10px;

  position: relative;
  z-index: 1;
}

.mosaic-link::after {
  content: "→";
  transform: translateY(-1px);
}

.mosaic-tile:hover .mosaic-link {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.opti-container-xxl,
.ais_guide_layout,
.article-content,
.guide-content {
  overflow: visible !important;
}

.toc {
  margin: 2rem 0 3rem 0;
  padding: 2rem;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
}


.toc #toc-title {
  margin: 0 0 1.25rem 0;
  font-size: 22px;
  font-weight: 600;
  color: #134f5c;
}


.toc-nested,
.toc-nested ol {
  list-style: none;
  margin: 0;
  padding-left: 0;
}


.toc-nested ol {
  margin-top: 0.6rem;
  margin-left: 0.2rem;
  padding-left: 1.35rem;
  border-left: 2px solid #e0e7f4;
}

.toc-li {
  margin: 0.65rem 0;
}

.toc-details {
  border-radius: 10px;
}

.toc-summary {
  cursor: pointer;
  list-style: none;
  border-radius: 10px;
}

.toc-summary::-webkit-details-marker {
  display: none;
}


.toc-details[open]>.toc-summary::before {
  transform: rotate(90deg) translateY(-1px);
}

.toc-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 10px 10px;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}

.toc-summary:hover .toc-item,
.toc-item:hover {
  background-color: #e0e7f4;
}


.toc-link {
  text-decoration: none;
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  color: #134f5c;
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.toc-link:hover {
  text-decoration: underline;
  color: #45818e;
}

.toc-num {
  font-size: 12px;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 999px;
  background-color: #c9daf8;
  color: #134f5c;
  border: 1px solid #e0e0e0;
  white-space: nowrap;
}

.toc-text {
  color: #0f172a;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.toc-toggle {
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0px;
  background: #fff;
  cursor: pointer;
}

.toc-toggle:focus {
  outline: 2px solid #5b9dd9;
  outline-offset: 2px;
}


.tag-group {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  line-height: 1.3;
  background-color: #cfe0ff;
  color: #333;
}

.tag-ceo {
  background-color: #134f5c;
  color: #ffffff;
}

.tag-cto {
  background-color: #45818e;
  color: #ffffff;
}

.tag-cfo {
  background-color: #c9daf8;
  color: #134f5c;
}

.ais_sidebar_author {
  margin-top: 16px;
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.ais_sidebar_author__img {
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.ais_sidebar_author__caption {
  font-size: 12px;
  line-height: 1.35;
  color: #334155;
  text-align: center;
}

.ais_guide_badges {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.image-badges.ais_guide_images {
  display: flex;
  align-items: center;
  gap: 12px;
}

.image-badges.ais_guide_images img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
  transform: scale(0.9);
  transform-origin: left center;
}

.image-badges.ais_guide_images .clutch-div {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

.image-badges.ais_guide_images .clutch-div .clutch-widget {
  background: none !important;
}

.article-content.opti-container-md.guide-content {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 1200px) {
  .ais_guide_header {
    top: 74px !important;
  }

  .mosaic-grid {
    padding: 5px;
  }

  .mosaic-shell {
    grid-template-columns: 220px 1fr;
  }
}

@media (max-width: 1000px) {
  .mosaic-shell {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .toc {
    padding: 1.25rem;
  }

  .toc-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .tag-group,
  .tag {
    align-self: flex-start;
  }

  .mobile-hide {
    display: none !important;
  }

  .ais_guide_layout {
    display: flex !important;
    gap: 40px;
    margin-top: 40px;
    position: relative;
  }

  .ais_guide_layout .ais_sidebar {
    grid-area: aside;
    padding-top: 0px;
  }

  .ais_sidebar_cta {
    display: none;
  }

  .ais_guide_layout {
    flex-direction: column;
    gap: 0;
  }

  .ais_sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
    margin-bottom: 16px;
  }

  .ais_sidebar {
    position: sticky;
    z-index: 9;
    top: 145px;
    width: 100vw;
    margin-left: -25px;
  }

  .ais_sticky_nav {
    position: sticky;
    top: 70px;
    padding: 10px 0;
    border-right: none;
    border-bottom: 1px solid #eee;
    z-index: 11;
    margin-left: 0;
    padding-left: 12px;
  }

  .ais_nav_title {
    margin: 0 0 8px 0;
    padding: 0 12px;
  }

  .ais_nav_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
  }

  .ais_nav_header a{
    order: 2;
    margin-bottom: 0px;
  }

  .ais_nav_title {
    margin: 0;
    white-space: nowrap;
  }

  .ais_nav_back_link {
    margin-top: 0;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .ais_nav_list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 12px 0px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  /* Hide scrollbar (optional) */
  .ais_nav_list::-webkit-scrollbar {
    height: 6px;
  }

  .ais_nav_item {
    margin-bottom: 0;
    flex: 0 0 auto;
  }

  .ais_nav_link {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
    background: #f8f9fa;
    border-radius: 999px;
    padding: 10px 14px;
    scroll-snap-align: start;
  }

  .ais_nav_link.active {
    border-bottom-color: #EA4335;
    background: #fff;
  }

  /* Parent caret: smaller + right padding still ok in pill */
  .ais_nav_item:has(.ais_nav_list--sub)>.ais_nav_link {
    padding-right: 34px;
  }

  .ais_nav_item.has-sub .ais_nav_link {
    padding-right: 44px;
  }

  .ais_nav_toggle {
    right: 12px;
  }

  .ais_nav_toggle::before {
    font-size: 16px;
  }

  .ais_nav_list--sub.ais_nav_list--lvl-1 {
    display: none;

    position: absolute;
    left: 0;
    right: 0;

    margin: 0;
    padding: 8px 12px;
    border-left: none;
    border-top: 1px solid #eee;
    background: #fff;

    flex-direction: column;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  }

  .ais_nav_item.is-open>.ais_nav_list--sub.ais_nav_list--lvl-1 {
    display: flex;
  }

  .ais_nav_item.is-open>.ais_nav_list--sub {
    display: flex;
  }

  .ais_nav_list--sub.ais_nav_list--lvl-1 .ais_nav_item {
    flex: 0 0 auto;
  }

  .ais_nav_list--sub .ais_nav_item {
    flex: 0 0 auto;
  }

  .ais_nav_list--sub .ais_nav_link {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
  }

  .ais_nav_list--sub .ais_nav_link.active {
    background: #fff5f5;
    border-color: #fecaca;
    color: #EA4335;
    font-weight: 700;
  }

  ais_nav_list--sub.ais_nav_list--lvl-1 .ais_nav_link {
    padding: 8px 12px;
    border-radius: 999px;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
  }

  .ais_nav_list--sub.ais_nav_list--lvl-1 .ais_nav_link.active {
    background: #fff5f5;
    border-color: #fecaca;
    color: #EA4335;
    font-weight: 700;
  }

  .ais_nav_list--sub.ais_nav_list--lvl-2,
  .ais_nav_list--sub.ais_nav_list--lvl-3,
  .ais_nav_list--sub.ais_nav_list--lvl-4 {
    position: static;
    display: none;
    margin: 6px 0 6px 12px;
    padding-left: 12px;
    border-left: 1px solid #e2e8f0;
    background: transparent;
    box-shadow: none;
    white-space: normal;
    overflow: visible;
  }

  .ais_nav_item.is-open>.ais_nav_list--sub.ais_nav_list--lvl-2,
  .ais_nav_item.is-open>.ais_nav_list--sub.ais_nav_list--lvl-3,
  .ais_nav_item.is-open>.ais_nav_list--sub.ais_nav_list--lvl-4 {
    display: block;
  }

  .ais_sidebar_author {
    display: none;
  }

  .ais_guide_header {
    height: auto;
  }

  .opti-container-xxl {
    margin-bottom: 0;
  }

  .blogspot .ais_hero_section {
    margin-bottom: 25px;
  }

  main.article-content.opti-container-md.guide-content {
    width: 100%;
    box-sizing: border-box;
  }

  .ais_guide_layout {
    margin-top: 0;
  }

  ul.ais_nav_list {
    margin-top: 16px;
  }

  aside.ais_sidebar {
    width: calc(100% + 26px) !important;
    margin-left: -13px !important;
  }

  .ais_nav_list.ais_nav_list--sub.ais_nav_list--lvl-1 {
    margin-right: auto;
    width: fit-content;
    max-width: 90%;
    border-radius: 24px;
    border: none !important;
    overflow-x: scroll;
    position: relative;
    box-shadow: none;
  }

  .ais_nav_back_link.ais_nav_link.active {
    border: none !important;
  }

  .ais_nav_title {
    padding-left: 0;
  }

  .ais_sidebar {
    top: 175px;
  }
}

@media (max-width: 850px) {
  .image-badges.ais_guide_images {
    gap: 5px;
    flex-direction: row;
    justify-content: flex-start;
    overflow-x: scroll;
    flex-wrap: nowrap;
  }

  .image-badges.ais_guide_images .clutch-div {
    max-width: 150px;
  }

  .clutch-widget.small-clutch {
    padding: 5px 0 0 0;
  }

  .ais_guide_nav_flex {
    align-items: flex-start;
  }

  .ais_guide_header {
    height: 50px;
    min-height: 50px;
  }

  .ais_guide_header {
    height: 70px;
    min-height: 70px;
  }

  .ais_sidebar {
    top: 165px;
  }

}

@media (min-width: 700px) and (max-width: 920px) {
  .chapter-wrapper::after {
    background-position: 70px -10px;
  }
}

@media (max-width: 700px) {


  .gallery-title {
    font-size: 32px;
  }

  .chapter-wrapper::after {
    top: 30%;
    right: -30px;
    width: 25vw;
    background-position: 20px;
  }

  .guide-heading {
    padding-top: 0;
  }

  .guide-heading__num {
    font-size: 12px;
  }

  .guide-content .ais_grid_kpi--3cols {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important
  }

  .image-badges.ais_guide_images img {
    max-height: 40px;

  }

  .image-badges.ais_guide_images .clutch-div {
    max-height: 45px;

  }

  .ais_guide_nav_flex {
    flex-direction: column;
  }
}

@media (max-width: 425px) {

  .mosaic-grid {
    padding: 2px;
  }

  .mosaic-desc{
    font-size: 12px;
  }

  .gallery-title {
    font-size: 24px;
  }

  .table_font_s tr td,
  .table_font_s tr th,
  .table_font_s tr td p {
    font-size: 12px !important;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .width-6 {
    width: 60% !important;
  }

  .width-5 {
    width: 50%;
  }

  .width-4 {
    width: 40%;
  }

  .width-3 {
    width: 30% !important;
  }

  .width-2 {
    width: 20% !important;
  }

  .t th,
  .t td,
  .t.t--ais td,
  .t.t--ais th,
  .t.t--ais td:first-child,
  .t.t--ais th:first-child {
    padding: 3px 4px;
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  table.mobile-card,
  table.mobile-card tbody {
    margin-top: 0 !important;
  }

  /* convert table to cards */
  table.mobile-card tbody {
    display: grid;
    grid-template-columns: 1fr;
  }

  table.mobile-card tr {
    display: contents;
  }

  table.mobile-card td {
    width: auto !important;
  }

  table.mobile-card td:nth-child(1) {
    order: 1;
  }

  table.mobile-card td:nth-child(2) {
    order: 2;
  }

  table.mobile-card td:nth-child(3) {
    order: 3;
  }

  table.mobile-card tbody tr:last-child td {
    border-bottom: 1px solid #e6f4f1 !important;
  }

  table.mobile-card tbody tr:last-child td:last-child {
    border-bottom: none !important;
  }

  table.mobile-card tr,
  table.mobile-card td {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .t th {
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }

  .clutch-div.w-100.order-2.mt-2.mt-sm-0.order-sm-0 {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
  }

  .image-badges.ais_guide_images .clutch-div {
    width: 120px;
  }

  .clutch-widget.small-clutch {
    transform: scale(0.7);
    margin-left: -20px;
  }

  header.guide-heading div.ais_hero_section.ais_guide4_bk.chapter-title {
    margin-left: -10px !important;
    margin-right: -10px !important;
  }

  header.guide-heading div div div.ais_hero_pill,
  header.guide-heading div div h1.ais_hero_headline,
  header.guide-heading div div div.ais_hero_supra {
    padding-left: 0 !important;
  }

  main header.guide-heading:first-of-type {
    margin-top: 0 !important;
  }

  div.main-content {
    margin-top: -60px;
  }

  .ais_guide_header {
    top: 54px !important;
    height: 60px;
    min-height: 60px;
  }

  .ais_sidebar {
    top: 125px;
  }

  .grid--2cols {
    grid-template-columns: repeat(auto-fit, minmax(120px, 2fr)) !important;
  }

  .grid--2cols div:last-child {
    display: none;
  }

  .ais_guide_nav_flex {
    align-items: flex-start;
  }

  /* simple badges to display none */

  /* .hidden {
  display: none !important;
  }
  .small-header {
  min-height: 15px !important;
  height: 15px !important;
  }
  .top-bar {
  top: 85px !important;
  } */

  /* smooth badges transition */
  .image-badges.ais_guide_images {
    transition: all 0.3s ease-in-out;
    max-height: 100px;
    opacity: 1;
    overflow: hidden;
  }

  .ais_guide_header {
    transition: all 0.3s ease-in-out;
    overflow: hidden;
  }

  aside.ais_sidebar {
    transition: top 0.3s ease-in-out;
  }

  .hidden {
    opacity: 0 !important;
    max-height: 0px !important;
    margin: 0 !important;
    pointer-events: none;
  }

  .small-header {
    min-height: 15px !important;
    height: 15px !important;
  }

  .top-bar {
    top: 85px !important;
  }

  pre code.hljs,
  .ais_scenario_box,
  .s_newpar,
  .s_newpar--cream,
  .s_newpar--teal,
  .s_newpar--grey,
  .ais_scenario_box--light,
  .ais_codeblock {
    padding: 10px !important;
  }

  .ais_codeblock__p {
    padding: 0 !important;
  }

  .ais_codeblock summary {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  figure pre code {
    font-size: 12px !important;
  }

  .flex-container {
    flex-direction: column;
    justify-content: flex-start;
  }

  .flex-container ul {
    margin: 0;
  }

  .flex-container ul:first-child li:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 600px) {
  .mosaic-title{
    line-height: 1.2;
  }
  .mosaic-tile{
    padding: 5px 8px;
  }
  .mosaic-link{
    font-size: 13px;
  }
  .mosaic-hero{
    padding: 10px 0 0;
  }
  .mosaic-grid{
    gap: 10px;
    margin-top: 0;
  }
  .mosaic-hero p{
    font-size: 14px;
  }
  .mosaic-section{
    margin: 22px 0;
  }
  .mosaic-hero h2{
    font-size: 28px !important;
  }
  .mosaic-shell{
    padding: 12px;
  }
}

@media (max-width: 354px) {
  .ais_guide_header {
    height: 80px;
    min-height: 80px;
  }

  .small-header {
    min-height: 25px !important;
    height: 25px !important;
  }

  .top-bar {
    top: 95px !important;
  }
}


