:root {
  --always-white: #ffffff;
  --text-color: #373e45;
  --text-muted: #6b7280;
  --background-color: #ffffff;
  --secondary-background-color: #f8f8f8;
  --accent-color: #475059;
  --cta-color: #e4003a;
  --card-border: #d1d2d4;
  --icon-color: #353e46;
  --hero-bg: #1e252b;
  --bg-dark: #151a21;
  --contrast-bg: #475059;
  --contrast-text: #ffffff;
  --black-20: rgba(0, 0, 0, 0.2);
  --outline-btn-border: #373e45;
  --outline-btn-text: #373e45;
  --outline-btn-hover-bg: #373e45;
  --outline-btn-hover-text: #ffffff;
  --badge-color: #eeeeef;
  --shadow-card: #c7c7c740;

  --color-item-text: #ffffff;
  --item-bg-dark-gray: #0b1055;
  --item-bg-purple: #7565e7;
  --item-bg-darker-blue: #345799;
  --item-bg-dark-blue: #4674cc;
  --item-bg-medium-blue: #00a0c9;
  --item-bg-medium-green: #4eada9;
  --quiz-grey: #353e46;
}

.dark {
  --text-color: #ffffffd9;
  --background-color: #353e46;
  --secondary-background-color: #353e46;
  --text-muted: #cbd5e1;
  --card-border: rgba(255, 255, 255, 0.15);
  --contrast-bg: #f8f8f8;
  --contrast-text: #373e45;
  --outline-btn-border: #ffffffd9;
  --outline-btn-text: #ffffffd9;
  --outline-btn-hover-bg: #ffffffd9;
  --outline-btn-hover-text: #353e46;
  --badge-color: #475059;
  --dark-mode-card-bg: #475059;
  --quiz-grey: #ffffff;
}

.full-width-breakout {
  width: 100vw;
  position: relative;
  top: 32px;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: var(--background-color);
}
@media (min-width: 1280px) {
  .full-width-breakout {
    top: 0;
  }
}

.full-width-breakout-section-dirty-white,
.full-width-breakout-section-contrast,
.full-width-breakout-section-contrast-darker {
  position: relative;
  isolation: isolate;
  width: auto;
  margin-left: 0;
  margin-right: 0;
}
.full-width-breakout-section-dirty-white::before,
.full-width-breakout-section-contrast::before,
.full-width-breakout-section-contrast-darker::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  z-index: -1;
}
.full-width-breakout-section-dirty-white::before {
  background-color: var(--secondary-background-color);
}
.full-width-breakout-section-contrast::before {
  background-color: var(--contrast-bg);
}
.full-width-breakout-section-contrast-darker::before {
  background-color: #353e46;
}
.dark .full-width-breakout-section-contrast-darker::before {
  background-color: #fff;
}

.fullw {
  width: 100%;
}
.tc {
  text-align: center;
}
.tl {
  text-align: left;
}
.tr {
  text-align: right;
}
.al {
  align-items: flex-start;
}
.maxw860 {
  max-width: 860px;
  margin: 0 auto;
}
.maxw420 {
  max-width: 420px;
}
.w220 {
  width: 220px;
}
.w250 {
  width: 250px;
}
.pblast {
  padding-bottom: 96px;
}

.centar-d {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .centar-d {
    flex-direction: row;
  }
}

.g32 {
  gap: 32px !important;
}
.g24 {
  gap: 24px;
}
.g16 {
  gap: 16px;
}

/* =========================================
   Containers & Structure
   ========================================= */
.if-container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  gap: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  .if-container {
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 96px;
    padding-bottom: 96px;
    gap: 48px;
  }
}

.if-header-c {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

/* =========================================
   Typography & List Utils
   ========================================= */
.if-title {
  font-weight: 400;
  font-style: Regular;
  font-size: 32px;
  line-height: 150%;
  letter-spacing: 0%;
  color: var(--text-color);
}
@media (min-width: 768px) {
  .if-title {
    font-size: 48px;
  }
}

.if-desc {
  font-weight: 300;
  font-size: 18px;
  line-height: 180%;
  letter-spacing: 0%;
  color: var(--text-color);
}
@media (min-width: 768px) {
  .if-desc {
    font-size: 20px;
  }
}

.if-subtitle {
  font-weight: 400;
  font-size: 18px;
  line-height: 180%;
  letter-spacing: 0%;
  color: var(--text-color);
}

.if-badge {
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0%;
  text-align: center;
}
@media (min-width: 768px) {
  .if-badge {
    font-size: 20px;
  }
}

.if-underline {
  text-decoration: underline;
}
.if-contrast {
  color: var(--contrast-text);
}
.bold {
  font-weight: 700;
  font-size: 18px;
  line-height: 180%;
}

/* Custom Headers */
.c-header-c {
  gap: 12px;
}
.c-title {
  font-weight: 400;
  font-size: 48px;
  line-height: 140%;
  color: var(--text-color);
}
.c-desc {
  font-weight: 300;
  font-size: 16px;
  line-height: 180%;
  color: var(--text-color);
}
.c-section-c {
  padding: 12px 0;
}
.c-section-title {
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: var(--text-color);
}
.c-paragraph {
  font-weight: 300;
  font-size: 16px;
  line-height: 180%;
  color: var(--text-color);
}
.c-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}
.c-list li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  color: var(--text-color);
  line-height: 1.5;
  font-size: 16px;
}
.c-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--text-color) !important;
  font-size: 20px;
  line-height: 1;
  top: 5px;
}

@media (max-width: 1024px) {
  .c-title {
    font-size: 36px;
  }
}
@media (max-width: 768px) {
  .c-title {
    font-size: 28px;
  }
  .c-section-title {
    font-size: 18px;
  }
  .c-desc {
    font-size: 14px;
  }
}

/* =========================================
   Buttons & Links
   ========================================= */
.cta-btn,
.secondary-btn,
.link-btn {
  width: fit-content;
  height: 48px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

.cta-btn {
  background-color: var(--cta-color);
  color: #ffffff !important;
  border: none;
}
.secondary-btn {
  border: 1px solid var(--text-color);
  color: var(--text-color);
  background-color: transparent;
}
.secondary-btn:hover,
.cta-btn:hover {
  transform: translateY(-4px) scale(1.04);
}

/* =========================================
   Hero Section
   ========================================= */
.if-hero-s {
  padding-top: 48px;
  padding-bottom: 48px;
  padding-left: 20px;
  padding-right: 20px;
  gap: 32px;
  opacity: 1;
  display: grid;
  margin: 0 auto;
}
.if-text-c {
  display: grid;
  gap: 18px;
}
.if-hero-s h1 {
  font-weight: 400;
  font-size: 32px;
  line-height: 140%;
  text-align: center;
  color: var(--text-color);
  max-width: 1260px;
  margin: 0 auto;
}
.if-hero-s p {
  font-weight: 300;
  font-size: 18px;
  line-height: 180%;
  text-align: center;
  color: var(--text-color);
}
@media (min-width: 768px) {
  .if-hero-s {
    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: 32px;
    padding-right: 32px;
    gap: 48px;
  }
  .if-hero-s h1 {
    font-size: 48px;
  }
  .if-hero-s p {
    font-size: 20px;
  }
}
@media (min-width: 1280px) {
  .if-hero-s {
    padding-top: 96px;
    padding-bottom: 96px;
  }
  .if-hero-s h1 {
    font-size: 56px;
  }
  .if-hero-s p {
    font-size: 24px;
  }
}

/* =========================================
   Navigation & Sidebar
   ========================================= */
.if-navigation {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  gap: 18px;
  padding-top: 32px;
  flex-wrap: wrap;
  row-gap: 8px;
}
@media (min-width: 768px) {
  .if-navigation {
    padding-left: 32px;
    padding-right: 32px;
  }
}
.if-nav-item {
  position: relative;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  color: var(--text-color);
  white-space: nowrap;
}
.if-spacer-v {
  width: 1px;
  height: 24px;
  background-color: #e5e5ea;
}
.dark .if-spacer-v {
  background-color: #6b7280;
}
.if-selected::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background-color: var(--text-color);
}

.if-sidebar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  padding-top: 32px;
  padding-bottom: 32px;
}

@media (min-width: 768px) {
  .if-sidebar-container {
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 32px;
    gap: 48px;
  }
}

@media (min-width: 1280px) {
  .if-sidebar-container {
    grid-template-columns: 340px 1fr;
    gap: 64px;
  }
}

.if-sidebar-menu-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.if-mobile-sidebar-toggle {
  display: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background-color: var(--secondary-background-color);
  border: 1px solid var(--card-border);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
  text-align: left;
}
.dark .if-mobile-sidebar-toggle {
  background-color: var(--black-20);
}
.if-mobile-sidebar-toggle svg {
  transition: transform 0.3s ease;
}

@media (max-width: 1279px) {
  .if-mobile-sidebar-toggle {
    display: flex;
  }
  .if-sidebar-menu-wrapper {
    display: none;
    background-color: var(--background-color);
    border: 1px solid var(--card-border);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 16px;
    max-height: 60vh;
    overflow-y: auto;
  }
  .if-sidebar.open .if-sidebar-menu-wrapper {
    display: flex;
  }
  .if-sidebar.open .if-mobile-sidebar-toggle {
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid transparent;
  }
  .if-sidebar.open .if-mobile-sidebar-toggle svg {
    transform: rotate(180deg);
  }
}

.if-menu-section {
  border-bottom: 1px solid #e5e5ea;
}
.dark .if-menu-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.if-menu-section:last-child {
  border-bottom: none;
}
.if-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-color);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.if-section-content {
  display: none;
  padding-bottom: 16px;
}
.if-menu-section.expanded .if-section-content {
  display: block;
}
.if-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 0 12px 16px;
  background: none;
  border: none;
  font-family: inherit;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-color);
  cursor: pointer;
}
.if-category-content {
  display: none;
  flex-direction: column;
  padding-left: 32px;
  padding-top: 4px;
  padding-bottom: 8px;
}
.if-category.expanded .if-category-content {
  display: flex;
}
.if-menu-item {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  line-height: 1.5;
}
.if-menu-item:hover {
  color: var(--text-color);
}
.if-menu-item.active {
  color: var(--cta-color);
}
.if-chevron {
  transition: transform 0.3s ease;
  color: var(--text-color);
}
.if-menu-section.expanded > .if-section-header .if-chevron,
.if-category.expanded > .if-category-header .if-chevron {
  transform: rotate(180deg);
}

/* =========================================
   About & Duo Components
   ========================================= */
.if-about-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.if-about-right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.if-about-right article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.if-duo-c {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1280px) {
  .if-duo-c {
    flex-direction: row;
    gap: 128px;
  }
  .if-about-left,
  .if-about-right {
    max-width: 576px;
  }
}

/* =========================================
   Advisory Components
   ========================================= */
.advisory-c {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}
@media (max-width: 1024px) {
  .advisory-c {
    flex-direction: column;
    gap: 48px;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .advisory-c {
    gap: 32px;
  }
}
.advisory-visual {
  flex: 1.2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 500px;
}
.advisory-visual svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: visible;
}
@media (max-width: 1024px) {
  .advisory-visual {
    min-width: auto;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .advisory-visual svg {
    transform: scale(1.1);
  }
}
.advisory-details {
  flex: 0.8;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.advisory-details h3 {
  font-weight: 400;
  font-size: 32px;
  line-height: 150%;
  color: var(--text-color);
}
.advisory-details p {
  font-weight: 300;
  font-size: 18px;
  line-height: 180%;
  color: var(--text-color);
}
.advisory-details ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.advisory-details ul li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 12px;
  color: var(--text-color);
  line-height: 1.5;
  font-size: 18px;
}
.advisory-details ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--contrast-text) !important;
  font-size: 18px;
  line-height: 1;
  top: 2px;
}
@media (max-width: 1024px) {
  .advisory-details {
    max-width: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  .advisory-details ul {
    text-align: left;
    display: inline-block;
  }
}
@media (max-width: 768px) {
  .advisory-details {
    gap: 16px;
  }
  .advisory-details h3 {
    font-size: 24px;
  }
  .advisory-details p,
  .advisory-details ul li {
    font-size: 16px;
    line-height: 160%;
  }
}

/* =========================================
   Related Items Slider
   ========================================= */
.related-items-wrapper {
  position: relative;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}
.hidden {
  display: none;
}
.slider-arrow {
  display: flex;
  position: absolute;
  top: calc(50% - 16px);
  right: 16px;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: var(--contrast-text);
  color: var(--contrast-bg);
  border: none;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.slider-arrow:hover {
  transform: translateY(-50%) scale(1.05);
}
.slider-arrow svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 1023px) {
  .slider-arrow {
    display: none;
  }
}
@media (max-width: 1576px) and (min-width: 1024px) {
  .prev-arrow {
    left: 10px;
  }
  .next-arrow {
    right: 10px;
  }
  .slider-arrow {
    background: var(--background-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--card-border);
  }
}
@media (min-width: 1024px) {
  .slider-arrow.hidden {
    opacity: 0;
    pointer-events: none;
  }
  .next-arrow {
    right: -86px;
  }
  .prev-arrow {
    left: -86px;
  }
}

.related-items-c {
  display: flex;
  justify-content: flex-start;
  gap: 32px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 20px;
  padding-top: 20px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.related-items-c::-webkit-scrollbar {
  display: none;
}
@media (max-width: 1024px) {
  .related-items-c {
    flex-direction: row;
    align-items: center;
    gap: 24px;
  }
}
.related-items-c article {
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* =========================================
   Diagram Styles
   ========================================= */
.if-diagram-container {
  position: relative;
  width: 100%;
  max-width: 860px;
}
.if-diagram-grid {
  display: grid;
  grid-template-columns: 260px 287px 287px;
  grid-template-rows: 48px 48px;
  row-gap: 28px;
  column-gap: 13px;
  position: relative;
  z-index: 2;
}
.if-diagram-box {
  background-color: #2d4d99;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  height: 48px;
}
.dark .if-diagram-box {
  background-color: #3b5cb0;
}
.box-long {
  grid-column: 2 / 4;
  width: 100%;
}
.if-diagram-connectors {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 860px) {
  .if-diagram-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }
  .box-long {
    grid-column: span 1;
  }
  .if-diagram-connectors {
    display: none;
  }
  .if-diagram-box {
    width: 100% !important;
  }
}

.ref-arch-grid {
  display: grid;
  grid-template-columns: 424px 424px;
  grid-template-rows: 48px 48px;
  row-gap: 27px;
  column-gap: 12px;
  position: relative;
  z-index: 2;
}
.box-full {
  grid-column: 1 / 3;
  width: 100%;
}
.if-diagram-spacer-arrow {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 860px;
  margin-bottom: -20px;
}
@media (max-width: 860px) {
  .ref-arch-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }
  .box-full {
    grid-column: span 1;
  }
  .if-diagram-spacer-arrow {
    display: none;
  }
}

.if-mid-arch-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  background-color: #2d4d99;
  padding: 24px;
  box-sizing: border-box;
  display: grid;
  justify-items: center;
  grid-template-columns: 1fr 140px 140px;
  gap: 64px;
  margin: 0 auto;
}
.if-mid-header {
  background-color: #4674cc;
  color: white;
  font-weight: 600;
  font-size: 13px;
  height: 32px;
  padding: 8px 10px;
  text-align: center;
}
.if-mid-item-t3 {
  background-color: #4674cc;
  color: white;
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  padding: 16px 10px;
  min-height: 72px;
  max-width: 140px;
  display: grid;
  align-items: center;
}
.if-cap-item {
  background-color: #4674cc;
  color: white;
  width: 100%;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.if-mid-col {
  display: grid;
  gap: 18px;
  position: relative;
  width: 100%;
}
.if-mwh {
  max-width: 140px;
  height: 32px;
}
.if-long-col {
  width: 100%;
  gap: 18px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.if-cap-c {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
.if-cap-item-title {
  font-weight: 600;
  font-size: 13px;
}
.if-cap-item ul {
  display: grid;
  gap: 14px;
  list-style-type: disc;
  margin-left: 8px;
}
.if-cap-item ul li {
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
}

.if-right-arrow-1 {
  position: absolute;
  top: 50%;
  left: 105%;
  transform: translateY(-50%);
}
.if-right-arrow-2 {
  position: absolute;
  top: 50%;
  left: 115%;
  transform: translateY(-50%);
}
.if-right-arrow-3 {
  position: absolute;
  top: 50%;
  left: 90%;
  transform: translateY(-50%);
}

.if-full-ac {
  width: 100%;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  gap: 20px;
}
.if-f-left {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
}
.if-f-right {
  display: flex;
}
.if-target-label-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 16px;
}
.if-target-line {
  width: 1.5px;
  background-color: #7ba4f1;
  flex-grow: 1;
}
.if-target-text {
  color: #4674cc;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-180deg);
  writing-mode: vertical-rl;
}
.if-f-itemr {
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: center;
}
.if-f-itemr div {
  background: #4674cc;
  padding: 16px 12px;
  width: 115px;
  height: 72px;
  display: grid;
  align-items: center;
  text-align: center;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: var(--always-white);
}
.if-f-items-holder {
  display: flex;
  flex-direction: column;
  gap: 40px;
  height: 100%;
}
.if-l-item {
  width: 160px;
  height: 48px;
  opacity: 1;
  padding: 12px 8px;
  gap: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--always-white);
  font-weight: 400;
  font-size: 13px;
}

.dblue {
  background: #1e3366;
}
.lblue {
  background: #00a8cc;
}
.green {
  background: #0fac3d;
}
.dblueh {
  background: #006cb0;
}
.emerald {
  background: #00999f;
}
.purple {
  background: #00999f;
}

.if-f-left-items-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.if-h-title1,
.if-h-title2 {
  font-weight: 600;
  font-size: 13px;
  position: absolute;
  rotate: -90deg;
  top: 50%;
  transform: translateY(-50%);
}
.if-h-title1 {
  left: -80px;
}
.if-h-title2 {
  top: 48%;
  left: -98px;
}

@media (max-width: 1280px) {
  .if-full-ac {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .if-mid-arch-container {
    grid-template-columns: 1fr;
    padding: 32px 16px;
    gap: 32px;
  }
  .if-mwh,
  .if-mid-item-t3 {
    max-width: 100%;
  }
  .if-right-arrow-1,
  .if-right-arrow-2,
  .if-right-arrow-3 {
    display: none;
  }
  .if-h-title1,
  .if-h-title2 {
    position: static;
    rotate: 0deg;
    transform: none;
    width: 100%;
    text-align: center;
    display: block;
    margin-bottom: 8px;
  }
  .if-f-left {
    width: 100%;
    gap: 24px;
  }
  .if-f-left-items-container {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .if-l-item {
    width: calc(50% - 16px);
    justify-content: center;
  }
  .if-f-right {
    flex-direction: column;
    width: 100%;
    gap: 24px;
  }
  .if-target-label-wrapper {
    flex-direction: row;
    height: auto;
    width: 100%;
    align-items: center;
  }
  .if-target-text {
    rotate: 0deg;
    transform: none;
    writing-mode: horizontal-tb;
    padding: 0 16px;
  }
  .if-target-line {
    width: auto;
    height: 1.5px;
  }
  .if-f-items-holder {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .if-f-itemr {
    width: calc(50% - 16px);
  }
  .if-f-itemr div {
    flex: 1;
  }
}
@media (max-width: 768px) {
  .if-cap-c {
    grid-template-columns: 1fr;
  }
  .if-l-item {
    width: 100%;
    max-width: 320px;
  }
  .if-f-items-holder {
    flex-direction: column;
    align-items: center;
  }
  .if-f-itemr {
    width: 100%;
    max-width: 320px;
    justify-content: flex-start;
  }
}

/* =========================================
   IAM Grid Styles
   ========================================= */
.iam-container {
  display: grid;
  grid-template-areas:
    ". admin analytics auth author"
    "core admin-core analytics-core auth-core author-core"
    "privileged admin-priv analytics-priv auth-priv author-priv"
    "extended admin-ext analytics-ext auth-ext author-ext"
    "integrations admin-int analytics-int auth-int author-int"
    "api api-layer api-layer api-layer api-layer"
    "foundation foundation-items foundation-items foundation-items foundation-items";
  grid-template-columns: 180px 1fr 1fr 1fr 1fr;
  gap: 10px;
  max-width: 1440px;
  width: 100%;
  margin: 40px auto 0;
}
.category-header {
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--quiz-grey);
  padding-bottom: 10px;
}
.admin-header {
  grid-area: admin;
}
.analytics-header {
  grid-area: analytics;
}
.auth-header {
  grid-area: auth;
}
.author-header {
  grid-area: author;
}
.section-title {
  font-weight: bold;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  padding-right: 20px;
  color: var(--quiz-grey);
  text-align: right;
  width: fit-content;
  align-self: start;
  padding-top: 5px;
}
.core-title {
  grid-area: core;
}
.privileged-title {
  grid-area: privileged;
}
.extended-title {
  grid-area: extended;
}
.integrations-title {
  grid-area: integrations;
}
.api-title {
  grid-area: api;
}
.foundation-title {
  grid-area: foundation;
}

.items-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.item {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-item-text);
  box-sizing: border-box;
  text-align: center;
  min-height: 24px;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
  width: 100%;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}
.item:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}
.item span {
  flex-grow: 1;
  text-align: center;
}

.bg-dark-gray {
  background-color: var(--item-bg-dark-gray);
}
.bg-dark-blue {
  background-color: var(--item-bg-dark-blue);
}
.bg-purple {
  background-color: var(--item-bg-purple);
}
.bg-medium-blue {
  background-color: var(--item-bg-medium-blue);
}
.bg-medium-green {
  background-color: var(--item-bg-medium-green);
}
.bg-darker-blue {
  background-color: var(--item-bg-darker-blue);
}

.foundation-items-container {
  grid-area: foundation-items;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.foundation-items-container .item {
  flex: 1;
  min-width: 150px;
}

.admin-core-items {
  grid-area: admin-core;
}
.analytics-core-items {
  grid-area: analytics-core;
}
.auth-core-items {
  grid-area: auth-core;
}
.author-core-items {
  grid-area: author-core;
}
.admin-priv-items {
  grid-area: admin-priv;
}
.analytics-priv-items {
  grid-area: analytics-priv;
}
.auth-priv-items {
  grid-area: auth-priv;
}
.author-priv-items {
  grid-area: author-priv;
}
.admin-ext-items {
  grid-area: admin-ext;
}
.analytics-ext-items {
  grid-area: analytics-ext;
}
.auth-ext-items {
  grid-area: auth-ext;
}
.author-ext-items {
  grid-area: author-ext;
}
.admin-int-items {
  grid-area: admin-int;
}
.analytics-int-items {
  grid-area: analytics-int;
}
.auth-int-items {
  grid-area: auth-int;
}
.author-int-items {
  grid-area: author-int;
}
.api-layer-item {
  grid-area: api-layer;
}

.iam-mobile-container {
  display: none;
}
@media (max-width: 1024px) {
  .iam-container {
    display: none;
  }
  .iam-mobile-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 32px;
  }
  .iam-mobile-container .category-header {
    text-align: left;
    padding-top: 24px;
    padding-bottom: 8px;
  }
}

/* =========================================
   FAQ Accordions
   ========================================= */
.if-faqs-accordion {
  width: 100%;
  max-width: 860px;
  margin: 48px auto 0;
  text-align: left;
}
.if-faq-item {
  border-bottom: 1px solid var(--card-border);
}
.if-faq-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  font-family: inherit;
}
.if-faq-header svg {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}
.if-faq-item.expanded > .if-faq-header svg {
  transform: rotate(180deg);
}

.if-faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 0.4s ease-out,
    padding 0.4s ease;
  overflow: hidden;
  padding-bottom: 0;
}
.if-faq-item.expanded > .if-faq-content {
  grid-template-rows: 1fr;
  padding-bottom: 24px;
}
.if-faq-content > div {
  min-height: 0;
}

.if-faq-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 12px;
  text-align: left;
}
.if-faq-content p:last-child {
  margin-bottom: 0;
}

.if-child-accordion {
  margin-top: 16px;
  padding-left: 24px;
}
.if-child-item {
  border: none;
}
.if-child-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  cursor: pointer;
  font-family: inherit;
}
.if-child-header svg {
  transition: transform 0.3s ease;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}
.if-child-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
  overflow: hidden;
}
.if-child-content > div {
  min-height: 0;
}

.if-child-item.expanded > .if-child-header svg {
  transform: rotate(180deg);
}
.if-child-item.expanded > .if-child-content {
  grid-template-rows: 1fr;
  padding-bottom: 16px;
}
.if-child-content p {
  font-size: 15px;
}

@media (max-width: 768px) {
  .if-faqs-accordion {
    margin: 32px auto 0;
  }
  .if-faq-header {
    font-size: 16px;
  }
  .if-faq-content p {
    font-size: 15px;
  }
  .if-child-accordion {
    padding-left: 12px;
  }
  .if-child-header {
    font-size: 15px;
  }
  .if-child-content p {
    font-size: 14px;
  }
}

.insight-card {
  width: 296px;
  height: auto;
  min-height: 261px;
  flex-shrink: 0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.insight-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.insight-image-wrapper {
  position: relative;
  height: 160px;
  width: 100%;
  min-height: 160px;
  flex-shrink: 0;
  overflow: hidden;
}
.insight-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.insight-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--always-white);
  color: #353e46;
  padding: 4px 8px;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0%;

  border-radius: 99px;
}
.insight-text {
  padding-top: 16px;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}
.insight-date {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.insight-card-title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-color);
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.insight-teaser {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* =========================================
   Animations & Reveals
   ========================================= */
#if-content-area {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  opacity: 1;
  transform: translateY(0);
}
#if-content-area.content-switching {
  opacity: 0;
  transform: translateY(5px);
}

.reveal-list-item {
  opacity: 0;
  transform: translateX(-15px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.reveal-list-item.is-visible,
.active .reveal-list-item {
  opacity: 1;
  transform: translateX(0);
}

.reveal-item,
.reveal-left,
.reveal-right,
.if-hero-s h1,
.if-hero-s p,
.centar-d {
  will-change: transform, opacity;
}

.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-item.active,
.active .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.active,
.active.reveal-left,
.active .reveal-left,
.reveal-right.active {
  transform: translateX(0);
  opacity: 1;
}

.staggered-reveal .reveal-item {
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.staggered-reveal .reveal-item:nth-child(1) {
  transition-delay: 0.1s;
}
.staggered-reveal .reveal-item:nth-child(2) {
  transition-delay: 0.3s;
}
.staggered-reveal .reveal-item:nth-child(3) {
  transition-delay: 0.5s;
}

.iam-container .item {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease;
}
.reveal-item.active .iam-container .item {
  opacity: 1;
  transform: scale(1);
}

.if-hero-s .if-text-c h1,
.if-hero-s .if-text-c p,
.if-hero-s .centar-d {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.if-hero-s.active .if-text-c h1,
.if-hero-s.active h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}
.if-hero-s.active .if-text-c p,
.if-hero-s.active p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}
.if-hero-s.active .centar-d {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.if-about-right article {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.if-duo-c.active .if-about-left {
  opacity: 1;
  transform: translateX(0);
}
.if-duo-c.active .if-about-right article:nth-child(1) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}
.if-duo-c.active .if-about-right article:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}
.if-duo-c.active .if-about-right article:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.6s;
}

.if-about-right article .if-svg-wrapper {
  transition: transform 0.4s ease;
}
.if-about-right article:hover .if-svg-wrapper {
  transform: scale(1.15) rotate(5deg);
  color: var(--cta-color);
}

.no-js .reveal-item,
.no-js .reveal-left {
  opacity: 1 !important;
  transform: none !important;
}

.mb4- {
  margin-bottom: -16px;
}

.left-al {
  display: flex;
  gap: 8px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.textsm {
  font-size: 14px;
  color: var(--text-muted);
}

.infoicon {
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}
