 .page-link-box {
            background: #991d1f;
            padding: 10px 15px;
            color: #fff;
            font-weight: 600;
            text-decoration: none;
            margin-right: 10px;
            line-height: 55px;
        }

        .page-link-box:hover {
            color: #dfdfdf;
        }

         * { box-sizing: border-box; margin: 0; padding: 0; }

    .tpo-wrapper {
      width: 100%;
      margin: 0 auto;
      background: #ffffff;
      border-radius: 14px;
      padding: 2.5rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    .tpo-page-title {
      font-size: 26px;
      font-weight: 700;
      color: #1a1a1a;
      margin-bottom: 0.3rem;
    }

    .tpo-page-subtitle {
      font-size: 15px;
      color: #888;
      margin-bottom: 2rem;
    }

    .tpo-section { padding: 0.5rem 0; }

    .tpo-section-label {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: #666;
      margin-bottom: 1.25rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid #e5e5e5;
    }

    /* ── Head of Department ── */
    .tpo-head-wrap {
      display: flex;
      flex-direction: row;
      align-items: stretch;
      background: linear-gradient(135deg, #bc1820 0%, #202020 100%);
      border-radius: 14px;
      overflow: hidden;
      margin-bottom: 2rem;
    }

    .tpo-head-photo-col {
      flex-shrink: 0;
      width: 200px;
      background: rgba(0,0,0,0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 2rem 1.5rem;
    }

    .tpo-head-avatar {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      object-fit: cover;
      object-position: top;
      border: 4px solid rgba(255,255,255,0.3);
      display: block;
    }

    .tpo-head-avatar-fallback {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      background: rgba(255,255,255,0.15);
      color: #fff;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: 38px;
      font-weight: 700;
      border: 4px solid rgba(255,255,255,0.3);
    }

    .tpo-head-info-col {
      flex: 1;
      padding: 2rem 2rem;
      display: flex;
	  background: #202020;
      flex-direction: column;
      justify-content: center;
      gap: 10px;
      min-width: 0;
    }

    .tpo-head-tag {
      display: inline-block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      background: rgba(255,255,255,0.15);
      color: rgba(255,255,255,0.85);
      padding: 4px 12px;
      border-radius: 20px;
      width: fit-content;
    }

    .tpo-head-name {
      font-size: 26px;
      font-weight: 700;
      color: #ffffff;
      line-height: 1.2;
    }

    .tpo-head-role {
      font-size: 15px;
      color: rgba(255,255,255,0.75);
    }

    .tpo-head-divider {
      width: 48px;
      height: 3px;
      background: rgba(255,255,255,0.4);
      border-radius: 2px;
    }

    .tpo-head-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 20px;
    }

    .tpo-head-meta a,
    .tpo-head-meta span {
      font-size: 13px;
      color: rgba(255,255,255,0.85);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .tpo-head-meta a:hover { color: #fff; text-decoration: underline; }
    .tpo-head-meta i { font-size: 15px; flex-shrink: 0; }

    /* ── Team Grid ── */
    .tpo-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 14px;
    }

    .tpo-card {
      background: #f9f9f9;
      border: 1px solid #e8e8e8;
      border-radius: 12px;
      padding: 1.25rem 0.75rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 8px;
      transition: border-color 0.15s, box-shadow 0.15s;
    }

    .tpo-card:hover {
      border-color: #bbb;
      box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    }

    .tpo-card-avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      object-fit: cover;
      object-position: top;
      border: 1px solid #e0e0e0;
      display: block;
    }

    .tpo-card-avatar-fallback {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: #dbeafe;
      color: #1d4ed8;
      display: none;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      font-weight: 700;
      flex-shrink: 0;
    }

    .tpo-card-name {
      font-size: 19px;
      font-weight: 700;
      color: #1a1a1a;
      line-height: 1.35;
    }

    .tpo-badge {
      display: inline-block;
      font-size: 17px;
      font-weight: 600;
      padding: 3px 10px;
      border-radius: 20px;
      background: #efefef;
      color: #555;
      white-space: nowrap;
    }

    .tpo-card-email-row {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 4px;
      width: 100%;
      min-width: 0;
      overflow: hidden;
    }

    .tpo-card-email-row i {
      font-size: 14px;
      color: #888;
      flex-shrink: 0;
    }

    .tpo-card-email {
      font-size: 15px;
      color: #1d4ed8;
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      min-width: 0;
      display: block;
    }

    .tpo-card-email:hover { text-decoration: underline; }

    .tpo-divider { margin-top: 2rem; }

    /* ===== TABLET: 768px - 1024px ===== */
    @media (max-width: 1024px) and (min-width: 769px) {
      .tpo-wrapper { padding: 2rem 1.5rem; }
      .tpo-grid { grid-template-columns: repeat(1, 1fr); gap: 12px; }
      .tpo-head-photo-col { width: 100%; }
      .tpo-head-avatar { width: 110px; height: 110px; }
      .tpo-head-avatar-fallback { width: 110px; height: 110px; }
      .tpo-head-name { font-size: 22px; }
    }
   
    /* ===== MOBILE LANDSCAPE + SMALL TABLET: up to 768px ===== */
    @media (max-width: 768px) {
      .tpo-wrapper { width: 100%; padding: 1.5rem 1rem; border-radius: 10px; }
      .tpo-page-title { font-size: 22px; }
      .tpo-page-subtitle { font-size: 13px; margin-bottom: 1.5rem; }

      .tpo-head-wrap { flex-direction: column; }

      .tpo-head-photo-col {
        width: 100%;
        padding: 1.5rem 1rem 1rem;
        background: rgba(0,0,0,0.2);
      }

      .tpo-head-avatar { width: 100px; height: 100px; }
      .tpo-head-avatar-fallback { width: 100px; height: 100px; font-size: 28px; }

      .tpo-head-info-col {
        padding: 1rem 1.25rem 1.5rem;
        align-items: center;
        text-align: center;
        gap: 8px;
      }

      .tpo-head-tag { font-size: 10px; }
      .tpo-head-name { font-size: 20px; }
      .tpo-head-role { font-size: 13px; }
      .tpo-head-divider { margin: 0 auto; }
      .tpo-head-meta { justify-content: center; gap: 8px 16px; }
      .tpo-head-meta a,
      .tpo-head-meta span { font-size: 17px; white-space: nowrap; }

      .tpo-grid { grid-template-columns: repeat(1, 1fr); gap: 10px; }

      .tpo-card { padding: 1rem 0.6rem; gap: 6px; margin: 0px auto;width:90%;}
      .tpo-card-avatar { width: 72px; height: 72px; }
      .tpo-card-avatar-fallback { width: 72px; height: 72px; font-size: 18px; }
      .tpo-card-name { font-size: 19px; }
      .tpo-badge { font-size: 17px; padding: 2px 8px; }
      .tpo-card-email { font-size: 17px; }
      .tpo-card-email-row i { font-size: 16px; }
      .tpo-section-label { font-size: 17px; }
    }

    /* ===== MOBILE PORTRAIT: up to 480px ===== */
    @media (max-width: 480px) {
      body { padding: 0.75rem 0.5rem; }
      .tpo-wrapper { padding: 1.25rem 0.875rem; }
      .tpo-page-title { font-size: 19px; }

      .tpo-head-avatar { width: 90px; height: 90px; }
      .tpo-head-avatar-fallback { width: 90px; height: 90px; font-size: 24px; }
      .tpo-head-name { font-size: 18px; }
      .tpo-head-meta a,
      .tpo-head-meta span { font-size: 11px; }

      .tpo-card-avatar { width: 64px; height: 64px; }
      .tpo-card-avatar-fallback { width: 64px; height: 64px; font-size: 16px; }
      .tpo-card-name { font-size: 12px; }
      .tpo-badge { font-size: 10px; padding: 2px 7px; }
      .tpo-card-email { font-size: 10px; }
    }

    /* ===== VERY SMALL: up to 360px ===== */
    @media (max-width: 360px) {
      .tpo-grid { grid-template-columns: 1fr; }
      .tpo-card-avatar { width: 80px; height: 80px; }
      .tpo-card-avatar-fallback { width: 80px; height: 80px; }
      .tpo-card-name { font-size: 14px; }
      .tpo-badge { font-size: 12px; }
      .tpo-card-email { font-size: 12px; }
    }