@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;800;900&family=Roboto+Slab:wght@600;700;800&display=swap");

html:has(#rab-us-process-post),
body:has(#rab-us-process-post){
      margin: 0 !important;
      padding: 0 !important;
      background: #f2eadc;
      overflow-x: visible;
    }

    #rab-us-process-post,
    #rab-us-process-post * {
      box-sizing: border-box;
    }

    #rab-us-process-post {
      --paper: #f2eadc;
      --paper-deep: #e7dac7;
      --surface: #fffaf1;
      --ink: #23150f;
      --ink-soft: #57483f;
      --muted: #78695f;
      --brown: #3a1d13;
      --brown-deep: #23100b;
      --navy: #14243c;
      --gold: #b58a4c;
      --line: rgba(58, 29, 19, 0.16);
      --line-strong: rgba(58, 29, 19, 0.28);
      --white: #fffaf1;
      --radius: 6px;
      --sans: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      --serif: "Roboto Slab", Georgia, Cambria, "Times New Roman", serif;
      width: 100vw;
      max-width: 100vw;
      margin: 0 calc(50% - 50vw);
      overflow: visible;
      color: var(--ink-soft);
      background: var(--paper);
      font-family: var(--sans);
      line-height: 1.75;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }

    #rab-us-process-post .rab-reading-progress {
      position: fixed;
      top: var(--rab-admin-offset, 0px);
      left: 0;
      z-index: 60;
      width: 0;
      height: 3px;
      background: var(--gold);
      pointer-events: none;
    }

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    

    
    
    

    

    

    

    

    #rab-us-process-post .rab-post-content {
      display: block;
      background:
        linear-gradient(rgba(75, 38, 23, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(75, 38, 23, 0.035) 1px, transparent 1px),
        var(--paper);
      background-size: 72px 72px;
    }

    #rab-us-process-post .rab-post-hero {
      position: relative;
      min-height: 470px;
      display: grid;
      align-items: end;
      overflow: hidden;
      isolation: isolate;
      background: var(--navy);
    }

    #rab-us-process-post .rab-post-hero-media {
      position: absolute;
      inset: 0;
      z-index: -2;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 48%;
    }

    #rab-us-process-post .rab-post-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background: linear-gradient(90deg, rgba(26, 10, 6, 0.88) 0%, rgba(35, 16, 11, 0.7) 38%, rgba(35, 16, 11, 0.16) 70%, rgba(35, 16, 11, 0) 100%);
    }

    #rab-us-process-post .rab-post-hero-inner {
      width: min(1180px, calc(100% - 48px));
      margin: 0 auto;
      padding: 84px 0 62px;
    }

    #rab-us-process-post .rab-post-hero-copy {
      max-width: 700px;
    }

    #rab-us-process-post h1,
    #rab-us-process-post h2,
    #rab-us-process-post h3,
    #rab-us-process-post h4,
    #rab-us-process-post h5,
    #rab-us-process-post p {
      margin: 0;
    }

    #rab-us-process-post h1,
    #rab-us-process-post h2,
    #rab-us-process-post h3,
    #rab-us-process-post h4,
    #rab-us-process-post h5 {
      font-family: var(--serif);
      letter-spacing: 0;
      text-wrap: normal;
      word-break: normal;
      overflow-wrap: normal;
    }

    #rab-us-process-post h1 {
      max-width: 700px;
      color: var(--white);
      font-size: 2.8rem;
      font-weight: 700;
      line-height: 1.06;
      text-shadow: 0 3px 30px rgba(0, 0, 0, 0.24);
    }

    #rab-us-process-post .rab-post-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 18px;
      margin-top: 24px;
      color: rgba(255, 250, 241, 0.72);
      font-size: 0.82rem;
      font-weight: 800;
      line-height: 1.4;
    }

    #rab-us-process-post .rab-post-meta span + span::before {
      content: "";
      width: 4px;
      height: 4px;
      display: inline-block;
      margin: 0 12px 2px 0;
      border-radius: 50%;
      background: var(--gold);
    }

    #rab-us-process-post .rab-post-eyebrow {
      margin: 0 0 18px;
      color: #e0b978;
      font-size: 0.78rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      line-height: 1.25;
      text-transform: uppercase;
    }

    #rab-us-process-post .rab-post-reading {
      position: relative;
      width: min(1420px, calc(100% - 48px));
      display: grid;
      grid-template-columns: 260px minmax(0, 920px);
      justify-content: center;
      align-items: start;
      gap: clamp(52px, 8vw, 132px);
      margin: 0 auto;
    }

    #rab-us-process-post .rab-step-index-wrap {
      position: sticky;
      top: calc(var(--rab-admin-offset, 0px) + 34px);
      z-index: 20;
      margin-top: 82px;
      padding-top: 12px;
      background: transparent;
    }

    #rab-us-process-post .rab-step-index-wrap::before {
      content: "Trong bài viết";
      display: block;
      margin-bottom: 20px;
      color: var(--gold);
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.1em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    #rab-us-process-post .rab-step-index {
      width: 100%;
      max-height: calc(100vh - var(--rab-admin-offset, 0px) - 126px);
      margin: 0;
      padding: 0 8px 18px 0;
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      scrollbar-color: rgba(84, 46, 31, 0.34) transparent;
      scrollbar-width: thin;
    }

    #rab-us-process-post .rab-step-index::-webkit-scrollbar {
      width: 4px;
    }

    #rab-us-process-post .rab-step-index::-webkit-scrollbar-thumb {
      border-radius: 4px;
      background: rgba(84, 46, 31, 0.34);
    }

    #rab-us-process-post .rab-step-group {
      position: relative;
      min-width: 0;
      padding: 5px 0 18px;
    }

    #rab-us-process-post .rab-step-group + .rab-step-group {
      padding-top: 20px;
      border-top: 1px solid var(--line);
    }

    #rab-us-process-post .rab-step-index a {
      color: var(--muted);
      text-decoration: none;
    }

    #rab-us-process-post .rab-step-major {
      position: relative;
      min-width: 0;
      display: grid;
      grid-template-columns: 34px minmax(0, 1fr);
      align-items: center;
      gap: 12px;
      padding: 5px 4px 11px 0;
      color: var(--brown);
      font-size: 0.9rem;
      font-weight: 900;
      line-height: 1.35;
      transition: color 180ms ease;
    }

    #rab-us-process-post .rab-step-number {
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      border: 1px solid var(--line-strong);
      border-radius: 50%;
      color: var(--gold);
      background: rgba(255, 252, 246, 0.7);
      font-family: var(--serif);
      font-size: 0.7rem;
      font-weight: 800;
      transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
    }

    #rab-us-process-post .rab-step-children {
      position: relative;
      display: grid;
      gap: 3px;
      margin: 1px 0 0 15px;
      padding-left: 27px;
    }

    #rab-us-process-post .rab-step-children::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 8px;
      left: 0;
      width: 1px;
      background: var(--line-strong);
    }

    #rab-us-process-post .rab-step-child {
      position: relative;
      min-width: 0;
      display: grid;
      grid-template-columns: 31px minmax(0, 1fr);
      align-items: start;
      gap: 6px;
      padding: 7px 8px;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 750;
      line-height: 1.35;
      transition: color 180ms ease, background-color 180ms ease;
    }

    #rab-us-process-post .rab-step-child::before {
      content: "";
      position: absolute;
      top: 15px;
      left: -27px;
      width: 20px;
      height: 1px;
      background: var(--line-strong);
    }

    #rab-us-process-post .rab-step-code {
      color: var(--gold);
      font-size: 0.64rem;
      font-weight: 900;
      letter-spacing: 0.03em;
      line-height: 1.55;
    }

    #rab-us-process-post .rab-step-grandchild {
      margin-left: 9px;
      color: rgba(91, 76, 68, 0.82);
      font-size: 0.7rem;
    }

    #rab-us-process-post .rab-step-major:hover,
    #rab-us-process-post .rab-step-major:focus-visible,
    #rab-us-process-post .rab-step-child:hover,
    #rab-us-process-post .rab-step-child:focus-visible {
      color: var(--brown);
      outline: none;
    }

    #rab-us-process-post .rab-step-child:hover,
    #rab-us-process-post .rab-step-child:focus-visible,
    #rab-us-process-post .rab-step-child.is-active {
      background: rgba(184, 133, 65, 0.11);
    }

    #rab-us-process-post .rab-step-group.is-current-group .rab-step-number,
    #rab-us-process-post .rab-step-major.is-active .rab-step-number {
      border-color: var(--brown);
      color: var(--white);
      background: var(--brown);
    }

    #rab-us-process-post .rab-step-child.is-active {
      color: var(--brown);
      font-weight: 900;
    }

    #rab-us-process-post .rab-step-child.is-active::after {
      content: "";
      position: absolute;
      top: 50%;
      right: 5px;
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--gold);
      transform: translateY(-50%);
    }

    #rab-us-process-post .rab-post-shell {
      width: 100%;
      min-width: 0;
      margin: 0;
      padding: 82px 0 112px;
    }

    #rab-us-process-post h2 {
      position: relative;
      max-width: 920px;
      margin: 0 auto;
      padding-top: 20px;
      color: var(--ink);
      font-size: clamp(2rem, 2.4vw, 2.45rem);
      font-weight: 700;
      line-height: 1.1;
      text-wrap: normal;
      word-break: normal;
      overflow-wrap: normal;
      scroll-margin-top: calc(var(--rab-admin-offset, 0px) + 32px);
    }

    #rab-us-process-post h2:not(:first-of-type) {
      margin-top: 108px;
    }

    #rab-us-process-post h2::before {
      display: block;
      margin-bottom: 14px;
      color: var(--gold);
      font-family: var(--sans);
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    #rab-us-process-post h2::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 78px;
      height: 3px;
      background: var(--gold);
    }

    #rab-us-process-post #rab-buoc-1::before { content: "Chặng 01 · Hồ sơ học tập"; }
    #rab-us-process-post #rab-buoc-2::before { content: "Chặng 02 · Visa F-1"; }
    #rab-us-process-post #rab-buoc-3::before { content: "Chặng 03 · Hậu visa"; }

    #rab-us-process-post .rab-chapter-visual {
      position: relative;
      width: 100%;
      margin: 34px 0 46px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--paper-deep);
    }

    #rab-us-process-post .rab-chapter-visual img {
      display: block;
      width: 100%;
      height: clamp(360px, 48vw, 540px);
      object-fit: cover;
    }

    #rab-us-process-post .rab-chapter-visual figcaption {
      position: absolute;
      right: 0;
      bottom: 0;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 18px;
      color: var(--white);
      background: linear-gradient(180deg, transparent, rgba(20, 10, 7, 0.8));
      font-size: 0.76rem;
      font-weight: 900;
      letter-spacing: 0.06em;
      line-height: 1.2;
      text-transform: uppercase;
    }

    #rab-us-process-post .rab-chapter-visual figcaption span:last-child {
      color: #e0b978;
    }

    #rab-us-process-post h3,
    #rab-us-process-post h4,
    #rab-us-process-post h5,
    #rab-us-process-post .rab-post-shell > p,
    #rab-us-process-post .rab-post-shell > ul {
      width: min(100%, 920px);
      margin-right: auto;
      margin-left: auto;
    }

    #rab-us-process-post h3 {
      margin-top: 48px;
      color: var(--ink);
      font-size: clamp(1.55rem, 2vw, 2rem);
      font-weight: 700;
      line-height: 1.2;
      text-wrap: normal;
    }

    #rab-us-process-post h3::before {
      display: none;
    }

    #rab-us-process-post h4 {
      position: relative;
      margin-top: 30px;
      padding-left: 24px;
      color: var(--ink);
      font-family: var(--sans);
      font-size: clamp(1.22rem, 1.45vw, 1.42rem);
      font-weight: 900;
      line-height: 1.3;
    }

    #rab-us-process-post h5 {
      width: min(100%, 920px);
      margin: 24px auto 0;
      color: var(--ink);
      font-family: var(--sans);
      font-size: clamp(1.1rem, 1.2vw, 1.2rem);
      font-weight: 800;
      line-height: 1.35;
    }

    #rab-us-process-post h4::before {
      content: "";
      position: absolute;
      top: 0.58em;
      left: 0;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold);
    }

    #rab-us-process-post h3[id],
    #rab-us-process-post h4[id],
    #rab-us-process-post h5[id] {
      scroll-margin-top: calc(var(--rab-admin-offset, 0px) + 34px);
    }

    #rab-us-process-post p {
      margin-top: 20px;
      color: var(--ink-soft);
      font-size: 1.04rem;
      line-height: 1.86;
      text-wrap: pretty;
    }

    #rab-us-process-post .rab-post-shell > h2 + .rab-chapter-visual + p {
      color: var(--ink);
      font-family: var(--serif);
      font-size: 1.08rem;
      line-height: 1.76;
    }

    #rab-us-process-post .rab-post-shell > h2 + .rab-chapter-visual + p::first-letter {
      float: left;
      margin: 0.08em 0.12em 0 0;
      color: var(--brown);
      font-family: var(--serif);
      font-size: 3.6em;
      font-weight: 800;
      line-height: 0.78;
    }

    #rab-us-process-post .rab-post-content ul {
      display: grid;
      grid-template-columns: 1fr;
      gap: 0;
      margin-top: 22px;
      padding: 0;
      color: var(--ink-soft);
      font-size: 1rem;
      line-height: 1.65;
      list-style: none;
    }

    #rab-us-process-post .rab-post-content li {
      position: relative;
      padding-left: 28px;
    }

    #rab-us-process-post .rab-post-content li + li {
      margin-top: 12px;
    }

    #rab-us-process-post .rab-post-content li::before {
      content: "";
      position: absolute;
      top: 0.84em;
      left: 2px;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--gold);
      transform: translateY(-50%);
    }

    #rab-us-process-post .rab-post-note {
      width: min(100%, 920px);
      margin: 42px auto 0;
      padding: 34px 36px;
      border: 1px solid var(--line);
      border-left: 5px solid var(--navy);
      border-radius: var(--radius);
      background: var(--surface);
      color: var(--ink-soft);
    }

    #rab-us-process-post .rab-post-note h4 {
      width: 100%;
      margin: 0 0 24px;
      padding: 0 0 22px;
      border-bottom: 1px solid var(--line);
      color: var(--navy);
      font-family: var(--serif);
      font-size: clamp(1.22rem, 1.45vw, 1.42rem);
    }

    #rab-us-process-post .rab-post-note h4::before {
      display: none;
    }

    #rab-us-process-post .rab-post-note p {
      width: 100%;
      color: var(--ink-soft);
      font-size: 1rem;
      line-height: 1.82;
    }

    #rab-us-process-post .rab-post-note p + p {
      padding-top: 18px;
      border-top: 1px solid var(--line);
    }

    #rab-us-process-post .rab-table-wrap {
      width: 100%;
      margin-top: 26px;
      overflow-x: auto;
      border: 1px solid var(--line);
      border-radius: var(--radius);
      background: var(--surface);
    }

    #rab-us-process-post .rab-post-table {
      width: 100%;
      min-width: 680px;
      border-collapse: collapse;
      color: var(--ink-soft);
      font-size: 0.95rem;
      line-height: 1.62;
    }

    #rab-us-process-post .rab-post-table th,
    #rab-us-process-post .rab-post-table td {
      padding: 16px 18px;
      border-bottom: 1px solid var(--line);
      text-align: left;
      vertical-align: top;
    }

    #rab-us-process-post .rab-post-table thead th {
      color: var(--ink);
      font-weight: 900;
      background: rgba(181, 138, 76, 0.12);
    }

    #rab-us-process-post .rab-post-table tr:last-child td {
      border-bottom: 0;
    }

    #rab-us-process-post .rab-source-list {
      color: var(--muted);
      font-size: 0.95rem;
    }

    #rab-us-process-post .rab-source-list a {
      color: var(--navy);
      font-weight: 800;
      text-decoration: underline;
      text-decoration-color: rgba(20, 36, 60, 0.3);
      text-underline-offset: 3px;
    }

    

    

    

    

    

    

    

    

    

    

    @media (max-width: 1180px) {
      

      

      

      

      

      #rab-us-process-post .rab-post-reading {
        grid-template-columns: 220px minmax(0, 840px);
        gap: 58px;
      }
    }

    @media (max-width: 980px) {
      

      

      

      

      

      

      #rab-us-process-post .rab-post-reading {
        width: min(920px, calc(100% - 48px));
        grid-template-columns: 1fr;
      }

      #rab-us-process-post .rab-step-index-wrap {
        display: none;
      }

      
    }

    @media (max-width: 760px) {
      

      

      

      

      

      #rab-us-process-post .rab-post-hero {
        min-height: 380px;
      }

      #rab-us-process-post .rab-post-hero-media {
        object-position: 58% center;
      }

      #rab-us-process-post .rab-post-hero::after {
        background: linear-gradient(90deg, rgba(26, 10, 6, 0.9) 0%, rgba(35, 16, 11, 0.72) 58%, rgba(35, 16, 11, 0.18) 100%);
      }

      #rab-us-process-post .rab-post-hero-inner {
        padding: 56px 0 36px;
      }

      #rab-us-process-post h1 {
        max-width: 560px;
        font-size: 2.8rem;
        line-height: 1.06;
      }

      #rab-us-process-post .rab-post-meta {
        gap: 7px;
      }

      #rab-us-process-post .rab-post-meta span {
        width: 100%;
      }

      #rab-us-process-post .rab-post-meta span + span::before {
        display: none;
      }

      #rab-us-process-post .rab-post-reading {
        width: min(100% - 30px, 680px);
        display: block;
      }

      #rab-us-process-post .rab-step-index-wrap {
        display: none;
      }

      #rab-us-process-post .rab-step-index-wrap::before {
        margin-bottom: 6px;
      }

      #rab-us-process-post .rab-step-index {
        width: 100%;
        display: grid;
      }

      #rab-us-process-post .rab-step-index a {
        min-width: 0;
        min-height: 50px;
        padding: 11px 0;
        font-size: 0.8rem;
      }

      #rab-us-process-post .rab-step-index a.is-active::after {
        display: none;
      }

      #rab-us-process-post .rab-post-shell {
        width: 100%;
        padding: 58px 0 82px;
      }

      #rab-us-process-post h2 {
        padding-top: 20px;
        font-size: clamp(1.9rem, 7.5vw, 2.25rem);
        line-height: 1.12;
        scroll-margin-top: calc(var(--rab-admin-offset, 0px) + 24px);
      }

      #rab-us-process-post h2:not(:first-of-type) {
        margin-top: 88px;
      }

      #rab-us-process-post .rab-chapter-visual {
        width: 100%;
        margin: 26px 0 36px;
      }

      #rab-us-process-post .rab-chapter-visual img {
        height: 300px;
      }

      #rab-us-process-post h3 {
        margin-top: 40px;
        font-size: clamp(1.45rem, 6.5vw, 1.9rem);
        line-height: 1.22;
      }

      #rab-us-process-post h4 {
        margin-top: 26px;
        font-size: clamp(1.18rem, 5vw, 1.35rem);
      }

      #rab-us-process-post h5 {
        margin-top: 22px;
        font-size: 1.1rem;
      }

      #rab-us-process-post p {
        font-size: 1rem;
        line-height: 1.82;
        text-align: justify;
        text-justify: inter-word;
      }

      #rab-us-process-post .rab-post-shell > h2 + .rab-chapter-visual + p {
        font-size: 1.16rem;
        line-height: 1.7;
        text-align: left;
      }

      #rab-us-process-post .rab-post-content ul {
        grid-template-columns: 1fr;
      }

      #rab-us-process-post .rab-post-note {
        padding: 28px 22px;
      }

      #rab-us-process-post .rab-post-note h4 {
        font-size: clamp(1.18rem, 5vw, 1.35rem);
      }

      

      
    }

    @media (max-width: 430px) {
      #rab-us-process-post h2 {
        font-size: 1.88rem;
      }

      #rab-us-process-post .rab-chapter-visual img {
        height: 240px;
      }

      #rab-us-process-post .rab-chapter-visual figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
      }
    }

    @media (prefers-reduced-motion: reduce) {
      #rab-us-process-post *,
      #rab-us-process-post *::before,
      #rab-us-process-post *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
      }
    }