/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/LDIuaomQNQcsA88c7O9yZ4KMCoOg4Koz4yOqhMva.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/LDIuaomQNQcsA88c7O9yZ4KMCoOg4Koz4yGqhMva.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/LDIuaomQNQcsA88c7O9yZ4KMCoOg4Koz4yCqhMva.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/LDIuaomQNQcsA88c7O9yZ4KMCoOg4Koz4y6qhA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* cyrillic-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko70yyygA.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* vietnamese */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko50yyygA.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko40yyygA.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/LDIoaomQNQcsA88c7O9yZ4KMCoOg4Ko20yw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 400;
}

body {
  color: #222;
  line-height: 1.5;
}


a {
  color: #0400ff;
  text-decoration: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;

  .navbar {
    display: flex;
    width: 95%;
    align-items: center;
    margin: 10px auto 0px;
    justify-content: space-between;
    padding: 10px 30px;
    background-color: #ffffff8f;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 5px;
    border: 1px solid #eaeaea;
  }

  .mobileview {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    position: relative;
    font-size: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000000;

    img {
      width: 2rem;
      height: 2rem;
    }
  }

  .nav-center {
    display: flex;
    gap: 28px;
  }

  .nav-center a {
    text-decoration: none;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    transition: .25s;
    position: relative;
  }

  .nav-center a:hover {
    color: #9703fd;
  }

  .menu-toggle {
    display: none;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
    background: rgb(0, 0, 0);
    transition: 0.5s;
  }

  @media(max-width:900px) {
    .navbar {
      display: block;
    }

    .nav-center {
      display: none;
      margin: 20px 0px;
      flex-direction: column;
      align-items: center;
    }

    .hamburger {
      display: flex;
    }

    .navbar.active {
      .nav-center {
        display: flex;
      }

      .hamburger span {
        background: #9703fd;
      }

      .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }

      .hamburger span:nth-child(2) {
        opacity: 0;
      }

      .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }
    }
  }

  @media(max-width:500px) {
    .navbar {
      padding: 10px 20px;
    }
  }
}

footer {
  width: 100%;
  background: #f0f0f0;

  .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 22px;
  }

  .footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.2s ease;
  }

  .footer-links a:hover {
    color: #000000;
  }

  .footer-copyright {
    color: #555;
    font-size: 12px;
    white-space: nowrap;
  }

  @media (max-width: 900px) {
    .footer-container {
      flex-direction: column;
      justify-content: center;
      text-align: center;
      gap: 10px;
    }

    .footer-links {
      gap: 10px 18px;
    }
  }

  @media (max-width: 480px) {
    .footer-container {
      padding: 20px;
    }

    .footer-links {
      gap: 10px 16px;
    }

    .footer-copyright {
      white-space: normal;
    }
  }
}

main {
  padding-top: 69.5px;
  padding-bottom: 30px;
  min-height: 650px;

  .error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 20px;


    .container {
      max-width: 600px;
    }

    h1 {
      font-size: 100px;
      margin: 0;
      line-height: 1;
    }

    h2 {
      font-size: 32px;
      margin: 15px 0;
    }

    p {
      font-size: 18px;
      color: #666;
      margin-bottom: 25px;
    }

    .home-btn {
      display: inline-block;
      padding: 14px 28px;
      border: 2px solid #9703fd;
      color: #9703fd;
      text-decoration: none;
      border-radius: 8px;
    }

    .home-btn:hover {
      background-color: #9703fd;
      color: white;
    }
  }

  .section {
    max-width: 900px;
    width: 90%;
    margin: 0px auto;

    .breadcrumb {
      overflow: auto;
      scrollbar-width: none;
      scrollbar-color: #9703fd #ffffff00;
      padding: 20px 0px;

      ul {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 10px;
        white-space: nowrap;
        min-width: auto;
      }

      a:hover {
        color: #9703fd;
      }

      svg {
        width: 1em;
        height: 1em;
        min-width: 1em;
        vertical-align: middle;
        color: #9703fd;
      }

      a {
        color: #969696;
        text-decoration: none;
      }
    }

    .breadcrumb:hover {
      scrollbar-width: thin;
    }

    .title {
      text-align: center;
      padding: 0px 0px 40px;

      h1 {
        font-size: 40px;
        font-weight: 700;

        @media (max-width:600px) {
          font-size: 24px;
        }
      }
    }

    .internships {
      display: flex;
      flex-direction: column;
      gap: 10px;

      article {
        justify-content: space-between;
        display: flex;
        gap: 10px;
      }

      article:hover {
        a {
          color: #9703fd;
          box-shadow: 0 6px 16px 0 rgba(59, 104, 252, 0.1), 0px 1px 2.8px 1px rgba(41, 76, 194, 0.06);
        }

        .ganitam-favorite {
          box-shadow: 0 6px 16px 0 rgba(59, 104, 252, 0.1), 0px 1px 2.8px 1px rgba(41, 76, 194, 0.06);

          .favorite-icon {
            color: #9703fd;
          }
        }
      }

      article a {
        text-decoration: none;
        color: #000000;
        font-size: 15px;
        flex: auto;
        border: 1px solid #C3C8D4;
        border-radius: 5px;
        padding: 10px;
      }

      @media (hover: none),
      (pointer: coarse) {
        article:active {
          a {
            color: #9703fd;
            box-shadow: 0 6px 16px 0 rgba(59, 104, 252, 0.1), 0px 1px 2.8px 1px rgba(41, 76, 194, 0.06);
            background-color: #ffffff;
          }

          .ganitam-favorite {
            box-shadow: 0 6px 16px 0 rgba(59, 104, 252, 0.1), 0px 1px 2.8px 1px rgba(41, 76, 194, 0.06);
            background-color: #ffffff;

            .favorite-icon {
              color: #9703fd;
            }
          }
        }
      }
    }
  }

}

.post {
  margin: 0px auto;
  max-width: 900px;
  width: 90%;

  .post-meta {
    margin: 20px 0px;
    color: #969696;
  }

  .breaker {
    width: 100%;
    height: 1px;
    margin-bottom: 20px;
    background-color: #d0d7de;
  }

  .post-content {

    h2 {
      font-size: 30px;
      margin-top: 30px;
    }

    strong {
      font-weight: 600;
    }

    h3 {
      font-size: 25px;
      margin-top: 30px;
    }

    p,
    ul,
    ol {
      margin: 10px 0px;
      font-size: 18px;
      line-height: 1.5;
      letter-spacing: .198px;
      color: #000000;
      word-wrap: break-word;
    }

    @media (max-width:600px) {

      h2 {
        font-size: 20px;
      }

      h3 {
        font-size: 18px;
      }

      p,
      ul,
      ol {
        margin: 10px 0px;
        font-size: 16px;
      }

    }

    a:hover {
      text-decoration: underline;
    }

    li {
      margin: 5px 0px;
    }

    ul,
    ol {
      margin: 20px 0px 20px 30px;
    }

  }

  .post-nav {
    display: flex;
    gap: 20px;
    flex-direction: row;
    margin: 40px 0px 0px;

    a {
      border: 1px solid #9703fd;
      padding: 20px;
      color: #9703fd;
      border-radius: 10px;
      flex: 1;
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 10px;

      p:nth-child(2) {
        font-weight: 800;
      }
    }

    .post-nav-next div {
      text-align: right;

      .flex {
        justify-content: right;
      }
    }

    a:hover {
      background-color: #9703fd;
      color: white;
    }

    @media (max-width: 900px) {
      flex-direction: column;
    }

    .svg-with-text {
      display: flex;
      align-items: center;
      vertical-align: middle;
      width: 1em;
      height: 1em;
      min-width: 1em;
    }
  }

  h1 {
    font-size: 40px;

    @media (max-width:600px) {
      font-size: 22px;
    }
  }

  picture {
    display: block;
    border-radius: 10px;
    overflow: hidden;

    img {
      width: 100%;
      height: auto;
    }
  }

  .breadcrumb {
    overflow: auto;
    margin: 20px 0px;
    scrollbar-width: none;
    scrollbar-color: #9703fd #ffffff00;

    ul {
      list-style: none;
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
      min-width: auto;

      @media (max-width:600px) {
        font-size: 13px;
      }
    }

    a:hover {
      color: #9703fd;
    }

    svg {
      width: 1em;
      height: 1em;
      min-width: 1em;
      vertical-align: middle;
      color: #9703fd;
    }

    a {
      color: #969696;
      text-decoration: none;
    }
  }

  .breadcrumb:hover {
    scrollbar-width: thin;
  }

  em {
    color: red;
    font-style: normal;
    font-weight: bold;
  }

  .post-date,
  .post-time,
  .post-share,
  .post-meta,
  .post-share-icons,
  time {
    display: flex;
    align-items: center;
    gap: 10px;

    @media (max-width:600px) {
      font-size: 13px;
    }
  }

  .post-meta {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;

    svg {
      width: 1.2em;
      height: 1.2em;
      min-width: 1.2em;
      vertical-align: middle;
      color: #9703fd;
    }

  }

  .post-share-container {
    display: flex;
    align-items: center;
    gap: 10px;

    button {
      background: none;
      border: none;
      cursor: pointer;
    }

    a,
    button {
      svg {
        color: #969696;
        transition: all 0.5s ease;
      }

      svg:hover {
        color: #9703fd;
        transform: scale(1.5)
      }
    }
  }

  .post-time {
    border-left: 1px solid #d0d7de;
    padding-left: 10px;
  }

  table {
    border: 1px solid #eaeaea;
    border-radius: 5px;
    width: 100%;
    margin: 10px 0px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;

    th,
    td {
      padding: 10px;
      border: 1px solid #eaeaea;
      text-align: start;
      border-width: 0px 1px 1px 0px;
    }

    th {
      background-color: #f6f6f6;
    }

    th:last-child,
    td:last-child {
      border-right: none;
    }

    tbody tr:last-child td {
      border-bottom: none;
    }

  }
}

.accordion-item {
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  margin: 10px 0px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: #f7f7f7;
  border: none;
  padding: 14px;
  font-size: 18px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;

  svg {
    min-width: 1rem;
    height: 1rem;
    width: 1rem;
    vertical-align: middle;
    transition: all 0.2s ease;
  }

  @media (max-width:600px) {
    font-size: 16px;
  }
}

.accordion-header:hover {
  background: #efefef;
}

.accordion-content {
  font-size: 18px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;

  @media (max-width:600px) {
    font-size: 16px;
  }
}

.accordion-body {
  overflow: hidden;

  .accordion-body-inner {
    padding: 20px;
  }
}

.accordion-item.active {
  .accordion-header svg {
    transform: rotate(90deg);
  }

  .accordion-content {
    grid-template-rows: 1fr;
  }
}

.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;

  a {
    border: 1px solid #9703fd;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    color: #9703fd;
    display: flex;
    align-items: center;
    justify-content: center;

    svg {
      width: 1em;
      height: 1em;
      min-width: 1em;
      vertical-align: middle;
      color: #9703fd;
    }
  }

  a:hover,
  .page-item.active {
    background-color: #9703fd;
    color: white;

    svg {
      color: #ffffff;
    }
  }

  .page-item.disabled {
    background-color: #d79cff;
    border: none;

    svg {
      color: white;
    }
  }

  .go-page {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 10px;
    border-left: 1px solid #9703fd;

    input {
      height: 40px;
      box-sizing: border-box;
      border: 1px solid #9703fd;
      border-radius: 5px;
      padding: 0 8px;
      text-align: center;
      font-size: 15px;
      outline: none;
      transition: border-color 0.2s ease;
    }

    button {
      height: 40px;
      padding: 0 16px;
      border: 1px solid #9703fd;
      border-radius: 5px;
      background: white;
      color: #9703fd;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      transition: background-color 0.2s ease;
    }

    button:hover {
      background: #9703fd;
      color: white;
    }
  }
}

#ganitam-toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  width: min(400px, calc(100% - 28px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;

  .ganitam-toast {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 13px 14px;
    background: #ffffff;
    color: #18181b;
    border: 1px solid #e4e4e7;
    border-radius: 5px;
    box-shadow:
      0 4px 6px -2px rgba(0, 0, 0, 0.04),
      0 12px 28px -8px rgba(0, 0, 0, 0.12);
    font: 14px/1.5 system-ui, -apple-system, BlinkMacSystemFont,
      "Segoe UI", sans-serif;
    letter-spacing: -0.1px;
    pointer-events: auto;
    overflow-wrap: anywhere;
    animation: ganitam-toast-in 0.22s ease-out;
  }

  .ganitam-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
  }

  .ganitam-toast-icon svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .ganitam-toast-message {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .ganitam-toast-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    padding: 5px;
    border: none;
    border-radius: 5px;
    background: transparent;
    color: #a1a1aa;
    font-family: inherit;
    cursor: pointer;
    transition:
      background 0.15s ease,
      color 0.15s ease;
  }

  .ganitam-toast-close svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  .ganitam-toast-close:hover {
    background: #f4f4f5;
    color: #27272a;
  }

  .ganitam-toast-close:focus-visible {
    outline: 2px solid #a1a1aa;
    outline-offset: 2px;
  }

  .ganitam-toast-error {
    border-color: #fecaca;
  }

  .ganitam-toast-error .ganitam-toast-icon {
    color: #dc2626;
    background: #fef2f2;
  }

  .ganitam-toast-success {
    border-color: #bbf7d0;
  }

  .ganitam-toast-success .ganitam-toast-icon {
    color: #15803d;
    background: #f0fdf4;
  }

  .ganitam-toast-warning {
    border-color: #fde68a;
  }

  .ganitam-toast-warning .ganitam-toast-icon {
    color: #b45309;
    background: #fffbeb;
  }

  .ganitam-toast-info {
    border-color: #bfdbfe;
  }

  .ganitam-toast-info .ganitam-toast-icon {
    color: #1d4ed8;
    background: #eff6ff;
  }

  @keyframes ganitam-toast-in {
    from {
      opacity: 0;
      transform: translateY(8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (max-width: 480px) {
    bottom: 12px;
    width: calc(100% - 24px);
    gap: 7px;

    .ganitam-toast {
      padding: 12px;
      gap: 10px;
      font-size: 13px;
    }

    .ganitam-toast-icon {
      width: 21px;
      height: 21px;
    }

    .ganitam-toast-close {
      width: 28px;
      height: 28px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .ganitam-toast {
      animation: none;
    }

    .ganitam-toast-close {
      transition: none;
    }
  }
}